0s autopkgtest [17:13:46]: starting date and time: 2025-01-17 17:13:46+0000 0s autopkgtest [17:13:46]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [17:13:46]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.upinrpj3/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:xorg-server --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-27.secgroup --name adt-plucky-amd64-glib2.0-20250117-171346-juju-7f2275-prod-proposed-migration-environment-15-ffc207b8-5bdc-4647-8af9-5bdb46eb3748 --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 137s autopkgtest [17:16:03]: testbed dpkg architecture: amd64 137s autopkgtest [17:16:03]: testbed apt version: 2.9.18 138s autopkgtest [17:16:04]: @@@@@@@@@@@@@@@@@@@@ test bed setup 138s autopkgtest [17:16:04]: testbed release detected to be: None 139s autopkgtest [17:16:05]: updating testbed package index (apt update) 139s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 139s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 139s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 139s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 139s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [855 kB] 140s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [177 kB] 140s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 140s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 140s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [327 kB] 140s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [227 kB] 140s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 140s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 140s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [1085 kB] 140s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [462 kB] 140s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [24.6 kB] 140s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [4116 B] 140s Fetched 3303 kB in 1s (3373 kB/s) 141s Reading package lists... 141s Reading package lists... 142s Building dependency tree... 142s Reading state information... 142s Calculating upgrade... 142s The following packages will be upgraded: 142s libgudev-1.0-0 rng-tools-debian usb.ids 142s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 142s Need to get 286 kB of archives. 142s After this operation, 0 B of additional disk space will be used. 142s Get:1 http://ftpmaster.internal/ubuntu plucky/universe amd64 rng-tools-debian amd64 2.6 [47.6 kB] 142s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 usb.ids all 2025.01.14-1 [223 kB] 142s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libgudev-1.0-0 amd64 1:238-6 [15.8 kB] 143s Fetched 286 kB in 0s (601 kB/s) 143s (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 ... 75824 files and directories currently installed.) 143s Preparing to unpack .../rng-tools-debian_2.6_amd64.deb ... 143s Unpacking rng-tools-debian (2.6) over (2.5) ... 143s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 143s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 143s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_amd64.deb ... 143s Unpacking libgudev-1.0-0:amd64 (1:238-6) over (1:238-5ubuntu1) ... 143s Setting up rng-tools-debian (2.6) ... 144s Setting up usb.ids (2025.01.14-1) ... 144s Setting up libgudev-1.0-0:amd64 (1:238-6) ... 144s Processing triggers for man-db (2.13.0-1) ... 145s Processing triggers for libc-bin (2.40-4ubuntu1) ... 145s Reading package lists... 145s Building dependency tree... 145s Reading state information... 146s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 146s autopkgtest [17:16:12]: upgrading testbed (apt dist-upgrade and autopurge) 146s Reading package lists... 146s Building dependency tree... 146s Reading state information... 146s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 147s Starting 2 pkgProblemResolver with broken count: 0 147s Done 147s Entering ResolveByKeep 147s 147s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 147s Reading package lists... 148s Building dependency tree... 148s Reading state information... 148s Starting pkgProblemResolver with broken count: 0 148s Starting 2 pkgProblemResolver with broken count: 0 148s Done 148s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 148s autopkgtest [17:16:14]: rebooting testbed after setup commands that affected boot 172s autopkgtest [17:16:38]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 174s autopkgtest [17:16:40]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 185s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (dsc) [4921 B] 185s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [263 kB] 185s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (tar) [5557 kB] 185s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.4-1 (diff) [135 kB] 185s gpgv: Signature made Fri Dec 13 13:58:26 2024 UTC 185s gpgv: using RSA key 7A073AD1AE694FA25BFF62E5235C099D3EB33076 185s gpgv: Can't check signature: No public key 185s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.82.4-1.dsc: no acceptable signature found 186s autopkgtest [17:16:52]: testing package glib2.0 version 2.82.4-1 192s autopkgtest [17:16:58]: build not needed 201s autopkgtest [17:17:07]: test build: preparing testbed 202s Reading package lists... 202s Building dependency tree... 202s Reading state information... 202s Starting pkgProblemResolver with broken count: 0 202s Starting 2 pkgProblemResolver with broken count: 0 202s Done 203s The following NEW packages will be installed: 203s build-essential cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ 203s g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14 203s gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libblkid-dev libcc1-0 203s libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1 libhwasan0 libisl23 libitm1 203s liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 203s libpcre2-posix3 libpkgconf3 libquadmath0 libselinux1-dev libsepol-dev 203s libstdc++-14-dev libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf 203s pkgconf-bin uuid-dev zlib1g-dev 203s 0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded. 203s Need to get 70.5 MB of archives. 203s After this operation, 244 MB of additional disk space will be used. 203s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libisl23 amd64 0.27-1 [685 kB] 203s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 203s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-12ubuntu1 [11.9 MB] 204s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14 amd64 14.2.0-12ubuntu1 [1036 B] 204s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [5452 B] 204s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp amd64 4:14.1.0-2ubuntu1 [22.4 kB] 204s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libcc1-0 amd64 14.2.0-12ubuntu1 [47.6 kB] 204s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 14.2.0-12ubuntu1 [148 kB] 204s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libitm1 amd64 14.2.0-12ubuntu1 [28.9 kB] 204s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libasan8 amd64 14.2.0-12ubuntu1 [2998 kB] 204s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 liblsan0 amd64 14.2.0-12ubuntu1 [1317 kB] 204s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libtsan2 amd64 14.2.0-12ubuntu1 [2732 kB] 204s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libubsan1 amd64 14.2.0-12ubuntu1 [1177 kB] 204s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libhwasan0 amd64 14.2.0-12ubuntu1 [1634 kB] 204s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libquadmath0 amd64 14.2.0-12ubuntu1 [153 kB] 204s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-14-dev amd64 14.2.0-12ubuntu1 [2815 kB] 204s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-12ubuntu1 [23.3 MB] 205s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14 amd64 14.2.0-12ubuntu1 [533 kB] 205s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [1214 B] 205s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc amd64 4:14.1.0-2ubuntu1 [5000 B] 205s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++-14-dev amd64 14.2.0-12ubuntu1 [2506 kB] 205s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-12ubuntu1 [13.3 MB] 205s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14 amd64 14.2.0-12ubuntu1 [20.2 kB] 205s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [966 B] 205s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 g++ amd64 4:14.1.0-2ubuntu1 [1100 B] 205s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 205s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 libffi-dev amd64 3.4.6-1build1 [62.8 kB] 205s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 uuid-dev amd64 2.40.2-1ubuntu2 [53.0 kB] 205s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 libblkid-dev amd64 2.40.2-1ubuntu2 [234 kB] 205s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 libsepol-dev amd64 3.7-1 [404 kB] 205s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-16-0 amd64 10.42-4ubuntu3 [214 kB] 205s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-32-0 amd64 10.42-4ubuntu3 [201 kB] 205s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-posix3 amd64 10.42-4ubuntu3 [6768 B] 205s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-dev amd64 10.42-4ubuntu3 [747 kB] 205s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libselinux1-dev amd64 3.7-3ubuntu1 [169 kB] 205s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 libmount-dev amd64 2.40.2-1ubuntu2 [33.2 kB] 205s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libsysprof-capture-4-dev amd64 47.2-1 [52.1 kB] 205s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libpkgconf3 amd64 1.8.1-4 [32.3 kB] 205s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf-bin amd64 1.8.1-4 [21.6 kB] 205s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf amd64 1.8.1-4 [16.8 kB] 205s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu1 [895 kB] 205s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev amd64 2.82.4-1 [1876 kB] 206s Fetched 70.5 MB in 3s (26.5 MB/s) 206s Selecting previously unselected package libisl23:amd64. 206s (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 ... 75824 files and directories currently installed.) 206s Preparing to unpack .../00-libisl23_0.27-1_amd64.deb ... 206s Unpacking libisl23:amd64 (0.27-1) ... 206s Selecting previously unselected package libmpc3:amd64. 206s Preparing to unpack .../01-libmpc3_1.3.1-1build2_amd64.deb ... 206s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 206s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 206s Preparing to unpack .../02-cpp-14-x86-64-linux-gnu_14.2.0-12ubuntu1_amd64.deb ... 206s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 206s Selecting previously unselected package cpp-14. 206s Preparing to unpack .../03-cpp-14_14.2.0-12ubuntu1_amd64.deb ... 206s Unpacking cpp-14 (14.2.0-12ubuntu1) ... 206s Selecting previously unselected package cpp-x86-64-linux-gnu. 206s Preparing to unpack .../04-cpp-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 206s Unpacking cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 206s Selecting previously unselected package cpp. 206s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_amd64.deb ... 206s Unpacking cpp (4:14.1.0-2ubuntu1) ... 206s Selecting previously unselected package libcc1-0:amd64. 206s Preparing to unpack .../06-libcc1-0_14.2.0-12ubuntu1_amd64.deb ... 206s Unpacking libcc1-0:amd64 (14.2.0-12ubuntu1) ... 206s Selecting previously unselected package libgomp1:amd64. 206s Preparing to unpack .../07-libgomp1_14.2.0-12ubuntu1_amd64.deb ... 206s Unpacking libgomp1:amd64 (14.2.0-12ubuntu1) ... 206s Selecting previously unselected package libitm1:amd64. 206s Preparing to unpack .../08-libitm1_14.2.0-12ubuntu1_amd64.deb ... 206s Unpacking libitm1:amd64 (14.2.0-12ubuntu1) ... 206s Selecting previously unselected package libasan8:amd64. 206s Preparing to unpack .../09-libasan8_14.2.0-12ubuntu1_amd64.deb ... 206s Unpacking libasan8:amd64 (14.2.0-12ubuntu1) ... 206s Selecting previously unselected package liblsan0:amd64. 206s Preparing to unpack .../10-liblsan0_14.2.0-12ubuntu1_amd64.deb ... 206s Unpacking liblsan0:amd64 (14.2.0-12ubuntu1) ... 206s Selecting previously unselected package libtsan2:amd64. 206s Preparing to unpack .../11-libtsan2_14.2.0-12ubuntu1_amd64.deb ... 206s Unpacking libtsan2:amd64 (14.2.0-12ubuntu1) ... 206s Selecting previously unselected package libubsan1:amd64. 206s Preparing to unpack .../12-libubsan1_14.2.0-12ubuntu1_amd64.deb ... 206s Unpacking libubsan1:amd64 (14.2.0-12ubuntu1) ... 206s Selecting previously unselected package libhwasan0:amd64. 206s Preparing to unpack .../13-libhwasan0_14.2.0-12ubuntu1_amd64.deb ... 206s Unpacking libhwasan0:amd64 (14.2.0-12ubuntu1) ... 206s Selecting previously unselected package libquadmath0:amd64. 206s Preparing to unpack .../14-libquadmath0_14.2.0-12ubuntu1_amd64.deb ... 206s Unpacking libquadmath0:amd64 (14.2.0-12ubuntu1) ... 207s Selecting previously unselected package libgcc-14-dev:amd64. 207s Preparing to unpack .../15-libgcc-14-dev_14.2.0-12ubuntu1_amd64.deb ... 207s Unpacking libgcc-14-dev:amd64 (14.2.0-12ubuntu1) ... 207s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 207s Preparing to unpack .../16-gcc-14-x86-64-linux-gnu_14.2.0-12ubuntu1_amd64.deb ... 207s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 207s Selecting previously unselected package gcc-14. 207s Preparing to unpack .../17-gcc-14_14.2.0-12ubuntu1_amd64.deb ... 207s Unpacking gcc-14 (14.2.0-12ubuntu1) ... 207s Selecting previously unselected package gcc-x86-64-linux-gnu. 207s Preparing to unpack .../18-gcc-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 207s Unpacking gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 207s Selecting previously unselected package gcc. 207s Preparing to unpack .../19-gcc_4%3a14.1.0-2ubuntu1_amd64.deb ... 207s Unpacking gcc (4:14.1.0-2ubuntu1) ... 207s Selecting previously unselected package libstdc++-14-dev:amd64. 207s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-12ubuntu1_amd64.deb ... 207s Unpacking libstdc++-14-dev:amd64 (14.2.0-12ubuntu1) ... 207s Selecting previously unselected package g++-14-x86-64-linux-gnu. 207s Preparing to unpack .../21-g++-14-x86-64-linux-gnu_14.2.0-12ubuntu1_amd64.deb ... 207s Unpacking g++-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 207s Selecting previously unselected package g++-14. 207s Preparing to unpack .../22-g++-14_14.2.0-12ubuntu1_amd64.deb ... 207s Unpacking g++-14 (14.2.0-12ubuntu1) ... 207s Selecting previously unselected package g++-x86-64-linux-gnu. 207s Preparing to unpack .../23-g++-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 207s Unpacking g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 207s Selecting previously unselected package g++. 207s Preparing to unpack .../24-g++_4%3a14.1.0-2ubuntu1_amd64.deb ... 207s Unpacking g++ (4:14.1.0-2ubuntu1) ... 207s Selecting previously unselected package build-essential. 207s Preparing to unpack .../25-build-essential_12.10ubuntu1_amd64.deb ... 207s Unpacking build-essential (12.10ubuntu1) ... 207s Selecting previously unselected package libffi-dev:amd64. 207s Preparing to unpack .../26-libffi-dev_3.4.6-1build1_amd64.deb ... 207s Unpacking libffi-dev:amd64 (3.4.6-1build1) ... 207s Selecting previously unselected package uuid-dev:amd64. 207s Preparing to unpack .../27-uuid-dev_2.40.2-1ubuntu2_amd64.deb ... 207s Unpacking uuid-dev:amd64 (2.40.2-1ubuntu2) ... 207s Selecting previously unselected package libblkid-dev:amd64. 207s Preparing to unpack .../28-libblkid-dev_2.40.2-1ubuntu2_amd64.deb ... 207s Unpacking libblkid-dev:amd64 (2.40.2-1ubuntu2) ... 207s Selecting previously unselected package libsepol-dev:amd64. 207s Preparing to unpack .../29-libsepol-dev_3.7-1_amd64.deb ... 207s Unpacking libsepol-dev:amd64 (3.7-1) ... 208s Selecting previously unselected package libpcre2-16-0:amd64. 208s Preparing to unpack .../30-libpcre2-16-0_10.42-4ubuntu3_amd64.deb ... 208s Unpacking libpcre2-16-0:amd64 (10.42-4ubuntu3) ... 208s Selecting previously unselected package libpcre2-32-0:amd64. 208s Preparing to unpack .../31-libpcre2-32-0_10.42-4ubuntu3_amd64.deb ... 208s Unpacking libpcre2-32-0:amd64 (10.42-4ubuntu3) ... 208s Selecting previously unselected package libpcre2-posix3:amd64. 208s Preparing to unpack .../32-libpcre2-posix3_10.42-4ubuntu3_amd64.deb ... 208s Unpacking libpcre2-posix3:amd64 (10.42-4ubuntu3) ... 208s Selecting previously unselected package libpcre2-dev:amd64. 208s Preparing to unpack .../33-libpcre2-dev_10.42-4ubuntu3_amd64.deb ... 208s Unpacking libpcre2-dev:amd64 (10.42-4ubuntu3) ... 208s Selecting previously unselected package libselinux1-dev:amd64. 208s Preparing to unpack .../34-libselinux1-dev_3.7-3ubuntu1_amd64.deb ... 208s Unpacking libselinux1-dev:amd64 (3.7-3ubuntu1) ... 208s Selecting previously unselected package libmount-dev:amd64. 208s Preparing to unpack .../35-libmount-dev_2.40.2-1ubuntu2_amd64.deb ... 208s Unpacking libmount-dev:amd64 (2.40.2-1ubuntu2) ... 208s Selecting previously unselected package libsysprof-capture-4-dev:amd64. 208s Preparing to unpack .../36-libsysprof-capture-4-dev_47.2-1_amd64.deb ... 208s Unpacking libsysprof-capture-4-dev:amd64 (47.2-1) ... 208s Selecting previously unselected package libpkgconf3:amd64. 208s Preparing to unpack .../37-libpkgconf3_1.8.1-4_amd64.deb ... 208s Unpacking libpkgconf3:amd64 (1.8.1-4) ... 208s Selecting previously unselected package pkgconf-bin. 208s Preparing to unpack .../38-pkgconf-bin_1.8.1-4_amd64.deb ... 208s Unpacking pkgconf-bin (1.8.1-4) ... 208s Selecting previously unselected package pkgconf:amd64. 208s Preparing to unpack .../39-pkgconf_1.8.1-4_amd64.deb ... 208s Unpacking pkgconf:amd64 (1.8.1-4) ... 208s Selecting previously unselected package zlib1g-dev:amd64. 208s Preparing to unpack .../40-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_amd64.deb ... 208s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 208s Selecting previously unselected package libgio-2.0-dev:amd64. 208s Preparing to unpack .../41-libgio-2.0-dev_2.82.4-1_amd64.deb ... 208s Unpacking libgio-2.0-dev:amd64 (2.82.4-1) ... 208s Setting up libgomp1:amd64 (14.2.0-12ubuntu1) ... 208s Setting up libffi-dev:amd64 (3.4.6-1build1) ... 208s Setting up libpcre2-16-0:amd64 (10.42-4ubuntu3) ... 208s Setting up libsysprof-capture-4-dev:amd64 (47.2-1) ... 208s Setting up libpcre2-32-0:amd64 (10.42-4ubuntu3) ... 208s Setting up libpkgconf3:amd64 (1.8.1-4) ... 208s Setting up uuid-dev:amd64 (2.40.2-1ubuntu2) ... 208s Setting up libquadmath0:amd64 (14.2.0-12ubuntu1) ... 208s Setting up libmpc3:amd64 (1.3.1-1build2) ... 208s Setting up libsepol-dev:amd64 (3.7-1) ... 208s Setting up pkgconf-bin (1.8.1-4) ... 208s Setting up libubsan1:amd64 (14.2.0-12ubuntu1) ... 208s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 208s Setting up libpcre2-posix3:amd64 (10.42-4ubuntu3) ... 208s Setting up libhwasan0:amd64 (14.2.0-12ubuntu1) ... 208s Setting up libasan8:amd64 (14.2.0-12ubuntu1) ... 208s Setting up libtsan2:amd64 (14.2.0-12ubuntu1) ... 208s Setting up libisl23:amd64 (0.27-1) ... 208s Setting up libcc1-0:amd64 (14.2.0-12ubuntu1) ... 208s Setting up liblsan0:amd64 (14.2.0-12ubuntu1) ... 208s Setting up libitm1:amd64 (14.2.0-12ubuntu1) ... 208s Setting up libblkid-dev:amd64 (2.40.2-1ubuntu2) ... 208s Setting up libpcre2-dev:amd64 (10.42-4ubuntu3) ... 208s Setting up libselinux1-dev:amd64 (3.7-3ubuntu1) ... 208s Setting up pkgconf:amd64 (1.8.1-4) ... 208s Setting up cpp-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 208s Setting up cpp-14 (14.2.0-12ubuntu1) ... 208s Setting up libgcc-14-dev:amd64 (14.2.0-12ubuntu1) ... 208s Setting up libstdc++-14-dev:amd64 (14.2.0-12ubuntu1) ... 208s Setting up libmount-dev:amd64 (2.40.2-1ubuntu2) ... 208s Setting up cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 208s Setting up libgio-2.0-dev:amd64 (2.82.4-1) ... 208s Setting up cpp (4:14.1.0-2ubuntu1) ... 208s Setting up gcc-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 208s Setting up gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 208s Setting up gcc-14 (14.2.0-12ubuntu1) ... 208s Setting up g++-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 208s Setting up g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 208s Setting up g++-14 (14.2.0-12ubuntu1) ... 208s Setting up gcc (4:14.1.0-2ubuntu1) ... 208s Setting up g++ (4:14.1.0-2ubuntu1) ... 208s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 208s Setting up build-essential (12.10ubuntu1) ... 208s Processing triggers for libc-bin (2.40-4ubuntu1) ... 208s Processing triggers for man-db (2.13.0-1) ... 209s Processing triggers for libglib2.0-0t64:amd64 (2.82.4-1) ... 209s No schema files found: doing nothing. 209s Processing triggers for install-info (7.1.1-1) ... 210s autopkgtest [17:17:16]: test build: [----------------------- 211s + mode=dynamic 211s + getopt -o --long static -n debian/tests/build -- 211s + getopt_temp= -- 211s + eval set -- -- 211s + set -- -- 211s + true 211s + shift 211s + break 211s + mktemp -d 211s + WORKDIR=/tmp/tmp.XeSH88OKwY 211s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 211s + cd /tmp/tmp.XeSH88OKwY 211s + [ -n ] 211s + CROSS_COMPILE= 211s + cat 211s + cat 211s + cat 211s + cat 211s + cat 211s + cat 211s + cflags= 211s + pcflags= 211s + packages=glib-2.0 211s + pkg-config --cflags --libs glib-2.0 211s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 211s + echo build (glib, dynamic): OK 211s + [ -x glib-dynamic ] 211s + foo=bar ./glib-dynamic 211s build (glib, dynamic): OK 211s + echo run (glib, dynamic): OK 211s + cflags= 211s + pcflags= 211s + packages=gobject-2.0 211s + pkg-config --cflags --libs gobject-2.0 211s run (glib, dynamic): OK 211s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 211s + echo build (gobject, dynamic): OK 211s + [ -x gobject-dynamic ] 211s + foo=bar ./gobject-dynamic 211s + echo run (gobject, dynamic): OK 211s + cflags= 211s + pcflags= 211s + packages=gio-2.0 211s + pkg-config --cflags --libs gio-2.0 211s build (gobject, dynamic): OK 211s run (gobject, dynamic): OK 211s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 211s + echo build (gio, dynamic): OK 211s + [ -x gio-dynamic ] 211s + foo=bar ./gio-dynamic 211s build (gio, dynamic): OK 211s + echo run (gio, dynamic): OK 211s + cflags= 211s + pcflags= 211s + packages=gio-unix-2.0 211s + pkg-config --cflags --libs gio-unix-2.0 211s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 211s run (gio, dynamic): OK 211s build (gio-unix, dynamic): OK 211s + echo build (gio-unix, dynamic): OK 211s + [ -x gio-unix-dynamic ] 211s + foo=bar ./gio-unix-dynamic 211s run (gio-unix, dynamic): OK 211s + echo run (gio-unix, dynamic): OK 211s + cflags= 211s + pcflags= 211s + packages=gmodule-2.0 211s + pkg-config --cflags --libs gmodule-2.0 211s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 211s build (gmodule, dynamic): OK 211s + echo build (gmodule, dynamic): OK 211s + [ -x gmodule-dynamic ] 211s + foo=bar ./gmodule-dynamic 211s + echo run (gmodule, dynamic): OK 211s + cflags= 211s + pcflags= 211s + packages=gthread-2.0 211s run (gmodule, dynamic): OK 211s + pkg-config --cflags --libs gthread-2.0 211s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 211s + echo build (gthread, dynamic): OK 211s + [ -x gthread-dynamic ] 211s + foo=bar ./gthread-dynamic 211s build (gthread, dynamic): OK 211s + echo run (gthread, dynamic): OK 211s + rm -rf /tmp/tmp.XeSH88OKwY 211s run (gthread, dynamic): OK 212s autopkgtest [17:17:18]: test build: -----------------------] 212s build PASS (superficial) 212s autopkgtest [17:17:18]: test build: - - - - - - - - - - results - - - - - - - - - - 213s autopkgtest [17:17:19]: test build-static: preparing testbed 213s Reading package lists... 213s Building dependency tree... 213s Reading state information... 213s Starting pkgProblemResolver with broken count: 0 213s Starting 2 pkgProblemResolver with broken count: 0 213s Done 214s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 214s autopkgtest [17:17:20]: test build-static: [----------------------- 215s + mode=dynamic 215s + getopt -o --long static -n debian/tests/build -- --static 215s + getopt_temp= --static -- 215s + eval set -- --static -- 215s + set -- --static -- 215s + true 215s + mode=static 215s + shift 215s + continue 215s + true 215s + shift 215s + break 215s + mktemp -d 215s + WORKDIR=/tmp/tmp.VBGvE8H2vy 215s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 215s + cd /tmp/tmp.VBGvE8H2vy 215s + [ -n ] 215s + CROSS_COMPILE= 215s + cat 215s + cat 215s + cat 215s + cat 215s + cat 215s + cat 215s + cflags= 215s + pcflags= 215s + packages=glib-2.0 215s + cflags=-static 215s + pcflags=--static 215s + pkg-config --static --cflags --libs glib-2.0 215s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 215s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 215s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 215s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 215s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 215s build (glib, static): OK 215s run (glib, static): OK 215s + echo build (glib, static): OK 215s + [ -x glib-static ] 215s + foo=bar ./glib-static 215s + echo run (glib, static): OK 215s + cflags= 215s + pcflags= 215s + packages=gobject-2.0 215s + cflags=-static 215s + pcflags=--static 215s + pkg-config --static --cflags --libs gobject-2.0 215s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 215s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 215s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 215s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 215s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 215s build (gobject, static): OK 215s + echo build (gobject, static): OK 215s + [ -x gobject-static ] 215s + foo=bar ./gobject-static 215s + echo run (gobject, static): OK 215s + cflags= 215s + pcflags= 215s + packages=gio-2.0 215s + cflags=-static 215s + pcflags=--static 215s + continue 215s + cflags= 215s + pcflags= 215s + packages=gio-unix-2.0 215s + cflags=-static 215s + pcflags=--static 215s + continue 215s + cflags= 215s + pcflags= 215s + packages=gmodule-2.0 215s + cflags=-static 215s + pcflags=--static 215s run (gobject, static): OK 215s + pkg-config --static --cflags --libs gmodule-2.0 215s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 215s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 215s (.text+0x5bf): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 215s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 215s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 215s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 215s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 215s build (gmodule, static): OK 215s run (gmodule, static): OK 215s + echo build (gmodule, static): OK 215s + [ -x gmodule-static ] 215s + foo=bar ./gmodule-static 215s + echo run (gmodule, static): OK 215s + cflags= 215s + pcflags= 215s + packages=gthread-2.0 215s + cflags=-static 215s + pcflags=--static 215s + pkg-config --static --cflags --libs gthread-2.0 215s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 215s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 215s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 215s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 215s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 215s build (gthread, static): OK 215s + echo build (gthread, static): OK 215s + [ -x gthread-static ] 215s + foo=bar ./gthread-static 215s run (gthread, static): OK 215s + echo run (gthread, static): OK 215s + rm -rf /tmp/tmp.VBGvE8H2vy 216s autopkgtest [17:17:22]: test build-static: -----------------------] 216s build-static PASS (superficial) 216s autopkgtest [17:17:22]: test build-static: - - - - - - - - - - results - - - - - - - - - - 217s autopkgtest [17:17:23]: test girepository-tools: preparing testbed 389s autopkgtest [17:20:15]: testbed dpkg architecture: amd64 389s autopkgtest [17:20:15]: testbed apt version: 2.9.18 389s autopkgtest [17:20:15]: @@@@@@@@@@@@@@@@@@@@ test bed setup 390s autopkgtest [17:20:16]: testbed release detected to be: plucky 390s autopkgtest [17:20:16]: updating testbed package index (apt update) 391s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 391s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 391s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 391s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 391s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 391s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [177 kB] 391s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 391s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [855 kB] 391s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [227 kB] 391s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [327 kB] 391s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 391s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 391s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [462 kB] 391s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [1085 kB] 392s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [4116 B] 392s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [24.6 kB] 392s Fetched 3303 kB in 1s (3368 kB/s) 392s Reading package lists... 393s Reading package lists... 393s Building dependency tree... 393s Reading state information... 394s Calculating upgrade... 394s The following packages will be upgraded: 394s libgudev-1.0-0 rng-tools-debian usb.ids 394s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 394s Need to get 286 kB of archives. 394s After this operation, 0 B of additional disk space will be used. 394s Get:1 http://ftpmaster.internal/ubuntu plucky/universe amd64 rng-tools-debian amd64 2.6 [47.6 kB] 394s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 usb.ids all 2025.01.14-1 [223 kB] 395s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libgudev-1.0-0 amd64 1:238-6 [15.8 kB] 395s Fetched 286 kB in 1s (571 kB/s) 395s (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 ... 75824 files and directories currently installed.) 395s Preparing to unpack .../rng-tools-debian_2.6_amd64.deb ... 395s Unpacking rng-tools-debian (2.6) over (2.5) ... 395s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 395s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 395s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_amd64.deb ... 395s Unpacking libgudev-1.0-0:amd64 (1:238-6) over (1:238-5ubuntu1) ... 395s Setting up rng-tools-debian (2.6) ... 396s Setting up usb.ids (2025.01.14-1) ... 396s Setting up libgudev-1.0-0:amd64 (1:238-6) ... 396s Processing triggers for man-db (2.13.0-1) ... 397s Processing triggers for libc-bin (2.40-4ubuntu1) ... 397s Reading package lists... 397s Building dependency tree... 397s Reading state information... 398s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 398s autopkgtest [17:20:24]: upgrading testbed (apt dist-upgrade and autopurge) 398s Reading package lists... 398s Building dependency tree... 398s Reading state information... 399s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 399s Starting 2 pkgProblemResolver with broken count: 0 399s Done 399s Entering ResolveByKeep 400s 400s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 400s Reading package lists... 400s Building dependency tree... 400s Reading state information... 401s Starting pkgProblemResolver with broken count: 0 401s Starting 2 pkgProblemResolver with broken count: 0 401s Done 401s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 401s autopkgtest [17:20:27]: rebooting testbed after setup commands that affected boot 427s Reading package lists... 428s Building dependency tree... 428s Reading state information... 428s Starting pkgProblemResolver with broken count: 0 428s Starting 2 pkgProblemResolver with broken count: 0 428s Done 429s The following NEW packages will be installed: 429s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 429s native-architecture 429s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 429s Need to get 1047 kB of archives. 429s After this operation, 12.5 MB of additional disk space will be used. 429s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 gir1.2-glib-2.0-dev amd64 2.82.4-1 [853 kB] 430s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 native-architecture all 0.2.3 [1990 B] 430s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-2.0-0 amd64 2.82.4-1 [78.2 kB] 430s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 girepository-tools amd64 2.82.4-1 [115 kB] 430s Fetched 1047 kB in 1s (1820 kB/s) 430s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64. 430s (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 ... 75824 files and directories currently installed.) 430s Preparing to unpack .../gir1.2-glib-2.0-dev_2.82.4-1_amd64.deb ... 430s Unpacking gir1.2-glib-2.0-dev:amd64 (2.82.4-1) ... 430s Selecting previously unselected package native-architecture. 430s Preparing to unpack .../native-architecture_0.2.3_all.deb ... 430s Unpacking native-architecture (0.2.3) ... 430s Selecting previously unselected package libgirepository-2.0-0:amd64. 431s Preparing to unpack .../libgirepository-2.0-0_2.82.4-1_amd64.deb ... 431s Unpacking libgirepository-2.0-0:amd64 (2.82.4-1) ... 431s Selecting previously unselected package girepository-tools:amd64. 431s Preparing to unpack .../girepository-tools_2.82.4-1_amd64.deb ... 431s Unpacking girepository-tools:amd64 (2.82.4-1) ... 431s Setting up native-architecture (0.2.3) ... 431s Setting up libgirepository-2.0-0:amd64 (2.82.4-1) ... 431s Setting up gir1.2-glib-2.0-dev:amd64 (2.82.4-1) ... 431s Setting up girepository-tools:amd64 (2.82.4-1) ... 431s Processing triggers for man-db (2.13.0-1) ... 431s Processing triggers for libc-bin (2.40-4ubuntu1) ... 449s autopkgtest [17:21:15]: test girepository-tools: [----------------------- 449s + cd /tmp/autopkgtest.OFvodc/autopkgtest_tmp 449s + dpkg-architecture -qDEB_HOST_GNU_TYPE 449s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 449s + DEB_HOST_GNU_TYPE=x86_64-linux-gnu 449s + dpkg-architecture -qDEB_HOST_MULTIARCH 449s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 449s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 449s + x86_64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 449s typelib: GLib-2.0 449s + x86_64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 449s + x86_64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 450s autopkgtest [17:21:16]: test girepository-tools: -----------------------] 450s autopkgtest [17:21:16]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 450s girepository-tools PASS (superficial) 451s autopkgtest [17:21:17]: test libgio-2.0-dev-bin: preparing testbed 509s autopkgtest [17:22:15]: testbed dpkg architecture: amd64 509s autopkgtest [17:22:15]: testbed apt version: 2.9.18 510s autopkgtest [17:22:16]: @@@@@@@@@@@@@@@@@@@@ test bed setup 510s autopkgtest [17:22:16]: testbed release detected to be: plucky 511s autopkgtest [17:22:17]: updating testbed package index (apt update) 511s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 511s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 511s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 511s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 511s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [177 kB] 511s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 511s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 511s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [855 kB] 512s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [227 kB] 512s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [327 kB] 512s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 512s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 512s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [1085 kB] 512s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [462 kB] 512s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [4116 B] 512s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [24.6 kB] 513s Fetched 3303 kB in 2s (1846 kB/s) 513s Reading package lists... 514s Reading package lists... 514s Building dependency tree... 514s Reading state information... 515s Calculating upgrade... 515s The following packages will be upgraded: 515s libgudev-1.0-0 rng-tools-debian usb.ids 515s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 515s Need to get 286 kB of archives. 515s After this operation, 0 B of additional disk space will be used. 515s Get:1 http://ftpmaster.internal/ubuntu plucky/universe amd64 rng-tools-debian amd64 2.6 [47.6 kB] 515s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 usb.ids all 2025.01.14-1 [223 kB] 515s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libgudev-1.0-0 amd64 1:238-6 [15.8 kB] 516s Fetched 286 kB in 0s (590 kB/s) 516s (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 ... 75824 files and directories currently installed.) 516s Preparing to unpack .../rng-tools-debian_2.6_amd64.deb ... 516s Unpacking rng-tools-debian (2.6) over (2.5) ... 516s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 516s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 516s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_amd64.deb ... 516s Unpacking libgudev-1.0-0:amd64 (1:238-6) over (1:238-5ubuntu1) ... 516s Setting up rng-tools-debian (2.6) ... 517s Setting up usb.ids (2025.01.14-1) ... 517s Setting up libgudev-1.0-0:amd64 (1:238-6) ... 517s Processing triggers for man-db (2.13.0-1) ... 518s Processing triggers for libc-bin (2.40-4ubuntu1) ... 518s Reading package lists... 518s Building dependency tree... 518s Reading state information... 519s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 519s autopkgtest [17:22:25]: upgrading testbed (apt dist-upgrade and autopurge) 519s Reading package lists... 519s Building dependency tree... 519s Reading state information... 520s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 520s Starting 2 pkgProblemResolver with broken count: 0 520s Done 520s Entering ResolveByKeep 521s 521s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 521s Reading package lists... 522s Building dependency tree... 522s Reading state information... 522s Starting pkgProblemResolver with broken count: 0 522s Starting 2 pkgProblemResolver with broken count: 0 522s Done 522s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 523s autopkgtest [17:22:29]: rebooting testbed after setup commands that affected boot 550s Reading package lists... 550s Building dependency tree... 550s Reading state information... 550s Starting pkgProblemResolver with broken count: 0 550s Starting 2 pkgProblemResolver with broken count: 0 550s Done 551s The following NEW packages will be installed: 551s libgio-2.0-dev-bin python3-packaging 551s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 551s Need to get 180 kB of archives. 551s After this operation, 961 kB of additional disk space will be used. 551s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.2-1 [51.5 kB] 551s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev-bin amd64 2.82.4-1 [128 kB] 552s Fetched 180 kB in 0s (407 kB/s) 552s Selecting previously unselected package python3-packaging. 552s (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 ... 75824 files and directories currently installed.) 552s Preparing to unpack .../python3-packaging_24.2-1_all.deb ... 552s Unpacking python3-packaging (24.2-1) ... 552s Selecting previously unselected package libgio-2.0-dev-bin. 552s Preparing to unpack .../libgio-2.0-dev-bin_2.82.4-1_amd64.deb ... 552s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 552s Setting up python3-packaging (24.2-1) ... 552s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 553s Processing triggers for man-db (2.13.0-1) ... 563s autopkgtest [17:23:09]: test libgio-2.0-dev-bin: [----------------------- 563s + gdbus-codegen --help 563s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 563s [--c-namespace NAMESPACE] [--c-generate-object-manager] 563s [--c-generate-autocleanup {none,objects,all}] 563s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 563s [--generate-rst OUTFILES] [--pragma-once] 563s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 563s [--glib-min-required VERSION] 563s [--glib-max-allowed VERSION] 563s [--symbol-decorator SYMBOL_DECORATOR] 563s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 563s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 563s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 563s [--output FILE | --output-directory OUTDIR] 563s FILE [FILE ...] 563s 563s D-Bus code and documentation generator 563s 563s positional arguments: 563s FILE D-Bus introspection XML file 563s 563s options: 563s -h, --help show this help message and exit 563s --interface-prefix PREFIX 563s String to strip from D-Bus interface names for code 563s and docs 563s --c-namespace NAMESPACE 563s The namespace to use for generated C code 563s --c-generate-object-manager 563s Generate a GDBusObjectManagerClient subclass when 563s generating C code 563s --c-generate-autocleanup {none,objects,all} 563s Generate autocleanup support 563s --generate-docbook OUTFILES 563s Generate Docbook in OUTFILES-org.Project.IFace.xml 563s --generate-md OUTFILES 563s Generate Markdown in OUTFILES-org.Project.IFace.md 563s --generate-rst OUTFILES 563s Generate reStructuredText in OUTFILES- 563s org.Project.IFace.rst 563s --pragma-once Use "pragma once" as the inclusion guard 563s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 563s Add annotation (may be used several times) 563s --glib-min-required VERSION 563s Minimum version of GLib to be supported by the 563s outputted code (default: 2.30) 563s --glib-max-allowed VERSION 563s Maximum version of GLib to be used by the outputted 563s code (default: current GLib version) 563s --symbol-decorator SYMBOL_DECORATOR 563s Macro used to decorate a symbol in the outputted 563s header, possibly to export symbols 563s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 563s Additional header required for decorator specified by 563s --symbol-decorator 563s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 563s Additional define required for decorator specified by 563s --symbol-decorator 563s --generate-c-code OUTFILES 563s Generate C code in OUTFILES.[ch] 563s --header Generate C headers 563s --body Generate C code 563s --interface-info-header 563s Generate GDBusInterfaceInfo C header 563s --interface-info-body 563s Generate GDBusInterfaceInfo C code 563s --output FILE Write output into the specified file 563s --output-directory OUTDIR 563s Location to output generated files 563s + glib-compile-resources --version 563s 2.82.4 563s + glib-genmarshal --version 563s glib-genmarshal version 2.82.4 563s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 563s You may redistribute copies of glib-genmarshal under the terms of 563s the GNU General Public License which can be found in the 563s GLib source package. Sources, examples and contact 563s information are available at http://www.gtk.org 563s + glib-gettextize --version 563s /usr/bin/glib-gettextize (GNU glib) 2.82.4 563s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 563s This is free software; see the source for copying conditions. There is NO 563s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 563s Written by Ulrich Drepper 563s + glib-mkenums --version 563s glib-mkenums version 2.82.4 563s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 563s You may redistribute copies of glib-mkenums under the terms of 563s the GNU General Public License which can be found in the 563s GLib source package. Sources, examples and contact 563s information are available at http://www.gtk.org 563s + gobject-query tree 563s GObject 563s + gtester --version 563s gtester version 2.82.4 563s + gtester-report --version 563s gtester-report (GLib utils) version 2.82.4. 563s autopkgtest [17:23:09]: test libgio-2.0-dev-bin: -----------------------] 564s autopkgtest [17:23:10]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 564s libgio-2.0-dev-bin PASS (superficial) 564s autopkgtest [17:23:10]: test libglib2.0-dev: preparing testbed 622s autopkgtest [17:24:08]: testbed dpkg architecture: amd64 622s autopkgtest [17:24:08]: testbed apt version: 2.9.18 622s autopkgtest [17:24:08]: @@@@@@@@@@@@@@@@@@@@ test bed setup 622s autopkgtest [17:24:08]: testbed release detected to be: plucky 623s autopkgtest [17:24:09]: updating testbed package index (apt update) 623s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 624s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 624s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 624s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 624s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [177 kB] 624s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 624s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 624s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [855 kB] 624s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [327 kB] 624s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [227 kB] 624s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 624s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 624s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [462 kB] 624s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [1085 kB] 624s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [24.6 kB] 624s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [4116 B] 624s Fetched 3303 kB in 1s (3253 kB/s) 625s Reading package lists... 626s Reading package lists... 626s Building dependency tree... 626s Reading state information... 627s Calculating upgrade... 627s The following packages will be upgraded: 627s libgudev-1.0-0 rng-tools-debian usb.ids 627s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 627s Need to get 286 kB of archives. 627s After this operation, 0 B of additional disk space will be used. 627s Get:1 http://ftpmaster.internal/ubuntu plucky/universe amd64 rng-tools-debian amd64 2.6 [47.6 kB] 627s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 usb.ids all 2025.01.14-1 [223 kB] 627s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libgudev-1.0-0 amd64 1:238-6 [15.8 kB] 628s Fetched 286 kB in 1s (569 kB/s) 628s (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 ... 75824 files and directories currently installed.) 628s Preparing to unpack .../rng-tools-debian_2.6_amd64.deb ... 628s Unpacking rng-tools-debian (2.6) over (2.5) ... 628s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 628s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 628s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_amd64.deb ... 628s Unpacking libgudev-1.0-0:amd64 (1:238-6) over (1:238-5ubuntu1) ... 628s Setting up rng-tools-debian (2.6) ... 629s Setting up usb.ids (2025.01.14-1) ... 629s Setting up libgudev-1.0-0:amd64 (1:238-6) ... 629s Processing triggers for man-db (2.13.0-1) ... 630s Processing triggers for libc-bin (2.40-4ubuntu1) ... 630s Reading package lists... 630s Building dependency tree... 630s Reading state information... 631s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 631s autopkgtest [17:24:17]: upgrading testbed (apt dist-upgrade and autopurge) 631s Reading package lists... 631s Building dependency tree... 631s Reading state information... 631s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 632s Starting 2 pkgProblemResolver with broken count: 0 632s Done 632s Entering ResolveByKeep 632s 633s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 633s Reading package lists... 633s Building dependency tree... 633s Reading state information... 634s Starting pkgProblemResolver with broken count: 0 634s Starting 2 pkgProblemResolver with broken count: 0 634s Done 634s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 634s autopkgtest [17:24:20]: rebooting testbed after setup commands that affected boot 661s Reading package lists... 662s Building dependency tree... 662s Reading state information... 662s Starting pkgProblemResolver with broken count: 0 662s Starting 2 pkgProblemResolver with broken count: 0 662s Done 663s The following NEW packages will be installed: 663s build-essential cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ 663s g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14 663s gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu gir1.2-glib-2.0-dev 663s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-14-dev 663s libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin 663s libglib2.0-dev libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 663s liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 663s libpcre2-posix3 libpkgconf3 libquadmath0 libselinux1-dev libsepol-dev 663s libstdc++-14-dev libsysprof-capture-4-dev libtsan2 libubsan1 663s native-architecture pkgconf pkgconf-bin python3-packaging uuid-dev 663s zlib1g-dev 663s 0 upgraded, 51 newly installed, 0 to remove and 0 not upgraded. 663s Need to get 71.8 MB of archives. 663s After this operation, 258 MB of additional disk space will be used. 663s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libisl23 amd64 0.27-1 [685 kB] 663s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 663s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-12ubuntu1 [11.9 MB] 664s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14 amd64 14.2.0-12ubuntu1 [1036 B] 664s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [5452 B] 664s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp amd64 4:14.1.0-2ubuntu1 [22.4 kB] 664s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libcc1-0 amd64 14.2.0-12ubuntu1 [47.6 kB] 664s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 14.2.0-12ubuntu1 [148 kB] 664s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libitm1 amd64 14.2.0-12ubuntu1 [28.9 kB] 664s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libasan8 amd64 14.2.0-12ubuntu1 [2998 kB] 664s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 liblsan0 amd64 14.2.0-12ubuntu1 [1317 kB] 664s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libtsan2 amd64 14.2.0-12ubuntu1 [2732 kB] 664s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libubsan1 amd64 14.2.0-12ubuntu1 [1177 kB] 664s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libhwasan0 amd64 14.2.0-12ubuntu1 [1634 kB] 664s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libquadmath0 amd64 14.2.0-12ubuntu1 [153 kB] 664s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-14-dev amd64 14.2.0-12ubuntu1 [2815 kB] 664s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-12ubuntu1 [23.3 MB] 665s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14 amd64 14.2.0-12ubuntu1 [533 kB] 665s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [1214 B] 665s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc amd64 4:14.1.0-2ubuntu1 [5000 B] 665s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++-14-dev amd64 14.2.0-12ubuntu1 [2506 kB] 665s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-12ubuntu1 [13.3 MB] 665s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14 amd64 14.2.0-12ubuntu1 [20.2 kB] 665s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [966 B] 665s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 g++ amd64 4:14.1.0-2ubuntu1 [1100 B] 665s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 665s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 gir1.2-glib-2.0-dev amd64 2.82.4-1 [853 kB] 665s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 native-architecture all 0.2.3 [1990 B] 665s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-2.0-0 amd64 2.82.4-1 [78.2 kB] 665s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 girepository-tools amd64 2.82.4-1 [115 kB] 665s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 libffi-dev amd64 3.4.6-1build1 [62.8 kB] 665s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 uuid-dev amd64 2.40.2-1ubuntu2 [53.0 kB] 665s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libblkid-dev amd64 2.40.2-1ubuntu2 [234 kB] 665s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libsepol-dev amd64 3.7-1 [404 kB] 665s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-16-0 amd64 10.42-4ubuntu3 [214 kB] 665s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-32-0 amd64 10.42-4ubuntu3 [201 kB] 665s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-posix3 amd64 10.42-4ubuntu3 [6768 B] 665s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-dev amd64 10.42-4ubuntu3 [747 kB] 665s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 libselinux1-dev amd64 3.7-3ubuntu1 [169 kB] 665s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 libmount-dev amd64 2.40.2-1ubuntu2 [33.2 kB] 665s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libsysprof-capture-4-dev amd64 47.2-1 [52.1 kB] 665s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libpkgconf3 amd64 1.8.1-4 [32.3 kB] 665s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf-bin amd64 1.8.1-4 [21.6 kB] 665s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf amd64 1.8.1-4 [16.8 kB] 665s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu1 [895 kB] 665s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev amd64 2.82.4-1 [1876 kB] 665s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.2-1 [51.5 kB] 665s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev-bin amd64 2.82.4-1 [128 kB] 665s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-bin amd64 2.82.4-1 [103 kB] 665s Get:50 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-dev-bin amd64 2.82.4-1 [18.1 kB] 665s Get:51 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-dev amd64 2.82.4-1 [18.9 kB] 666s Fetched 71.8 MB in 3s (26.3 MB/s) 666s Selecting previously unselected package libisl23:amd64. 666s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75824 files and directories currently installed.) 666s Preparing to unpack .../00-libisl23_0.27-1_amd64.deb ... 666s Unpacking libisl23:amd64 (0.27-1) ... 666s Selecting previously unselected package libmpc3:amd64. 666s Preparing to unpack .../01-libmpc3_1.3.1-1build2_amd64.deb ... 666s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 666s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 666s Preparing to unpack .../02-cpp-14-x86-64-linux-gnu_14.2.0-12ubuntu1_amd64.deb ... 666s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 666s Selecting previously unselected package cpp-14. 666s Preparing to unpack .../03-cpp-14_14.2.0-12ubuntu1_amd64.deb ... 666s Unpacking cpp-14 (14.2.0-12ubuntu1) ... 666s Selecting previously unselected package cpp-x86-64-linux-gnu. 666s Preparing to unpack .../04-cpp-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 666s Unpacking cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 666s Selecting previously unselected package cpp. 666s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_amd64.deb ... 666s Unpacking cpp (4:14.1.0-2ubuntu1) ... 666s Selecting previously unselected package libcc1-0:amd64. 666s Preparing to unpack .../06-libcc1-0_14.2.0-12ubuntu1_amd64.deb ... 666s Unpacking libcc1-0:amd64 (14.2.0-12ubuntu1) ... 666s Selecting previously unselected package libgomp1:amd64. 666s Preparing to unpack .../07-libgomp1_14.2.0-12ubuntu1_amd64.deb ... 666s Unpacking libgomp1:amd64 (14.2.0-12ubuntu1) ... 666s Selecting previously unselected package libitm1:amd64. 666s Preparing to unpack .../08-libitm1_14.2.0-12ubuntu1_amd64.deb ... 666s Unpacking libitm1:amd64 (14.2.0-12ubuntu1) ... 666s Selecting previously unselected package libasan8:amd64. 666s Preparing to unpack .../09-libasan8_14.2.0-12ubuntu1_amd64.deb ... 666s Unpacking libasan8:amd64 (14.2.0-12ubuntu1) ... 666s Selecting previously unselected package liblsan0:amd64. 666s Preparing to unpack .../10-liblsan0_14.2.0-12ubuntu1_amd64.deb ... 666s Unpacking liblsan0:amd64 (14.2.0-12ubuntu1) ... 666s Selecting previously unselected package libtsan2:amd64. 666s Preparing to unpack .../11-libtsan2_14.2.0-12ubuntu1_amd64.deb ... 666s Unpacking libtsan2:amd64 (14.2.0-12ubuntu1) ... 666s Selecting previously unselected package libubsan1:amd64. 666s Preparing to unpack .../12-libubsan1_14.2.0-12ubuntu1_amd64.deb ... 666s Unpacking libubsan1:amd64 (14.2.0-12ubuntu1) ... 666s Selecting previously unselected package libhwasan0:amd64. 666s Preparing to unpack .../13-libhwasan0_14.2.0-12ubuntu1_amd64.deb ... 666s Unpacking libhwasan0:amd64 (14.2.0-12ubuntu1) ... 666s Selecting previously unselected package libquadmath0:amd64. 666s Preparing to unpack .../14-libquadmath0_14.2.0-12ubuntu1_amd64.deb ... 666s Unpacking libquadmath0:amd64 (14.2.0-12ubuntu1) ... 666s Selecting previously unselected package libgcc-14-dev:amd64. 666s Preparing to unpack .../15-libgcc-14-dev_14.2.0-12ubuntu1_amd64.deb ... 666s Unpacking libgcc-14-dev:amd64 (14.2.0-12ubuntu1) ... 667s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 667s Preparing to unpack .../16-gcc-14-x86-64-linux-gnu_14.2.0-12ubuntu1_amd64.deb ... 667s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 667s Selecting previously unselected package gcc-14. 667s Preparing to unpack .../17-gcc-14_14.2.0-12ubuntu1_amd64.deb ... 667s Unpacking gcc-14 (14.2.0-12ubuntu1) ... 667s Selecting previously unselected package gcc-x86-64-linux-gnu. 667s Preparing to unpack .../18-gcc-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 667s Unpacking gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 667s Selecting previously unselected package gcc. 667s Preparing to unpack .../19-gcc_4%3a14.1.0-2ubuntu1_amd64.deb ... 667s Unpacking gcc (4:14.1.0-2ubuntu1) ... 667s Selecting previously unselected package libstdc++-14-dev:amd64. 667s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-12ubuntu1_amd64.deb ... 667s Unpacking libstdc++-14-dev:amd64 (14.2.0-12ubuntu1) ... 667s Selecting previously unselected package g++-14-x86-64-linux-gnu. 667s Preparing to unpack .../21-g++-14-x86-64-linux-gnu_14.2.0-12ubuntu1_amd64.deb ... 667s Unpacking g++-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 667s Selecting previously unselected package g++-14. 667s Preparing to unpack .../22-g++-14_14.2.0-12ubuntu1_amd64.deb ... 667s Unpacking g++-14 (14.2.0-12ubuntu1) ... 667s Selecting previously unselected package g++-x86-64-linux-gnu. 667s Preparing to unpack .../23-g++-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 667s Unpacking g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 667s Selecting previously unselected package g++. 667s Preparing to unpack .../24-g++_4%3a14.1.0-2ubuntu1_amd64.deb ... 667s Unpacking g++ (4:14.1.0-2ubuntu1) ... 667s Selecting previously unselected package build-essential. 667s Preparing to unpack .../25-build-essential_12.10ubuntu1_amd64.deb ... 667s Unpacking build-essential (12.10ubuntu1) ... 667s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64. 667s Preparing to unpack .../26-gir1.2-glib-2.0-dev_2.82.4-1_amd64.deb ... 667s Unpacking gir1.2-glib-2.0-dev:amd64 (2.82.4-1) ... 668s Selecting previously unselected package native-architecture. 668s Preparing to unpack .../27-native-architecture_0.2.3_all.deb ... 668s Unpacking native-architecture (0.2.3) ... 668s Selecting previously unselected package libgirepository-2.0-0:amd64. 668s Preparing to unpack .../28-libgirepository-2.0-0_2.82.4-1_amd64.deb ... 668s Unpacking libgirepository-2.0-0:amd64 (2.82.4-1) ... 668s Selecting previously unselected package girepository-tools:amd64. 668s Preparing to unpack .../29-girepository-tools_2.82.4-1_amd64.deb ... 668s Unpacking girepository-tools:amd64 (2.82.4-1) ... 668s Selecting previously unselected package libffi-dev:amd64. 668s Preparing to unpack .../30-libffi-dev_3.4.6-1build1_amd64.deb ... 668s Unpacking libffi-dev:amd64 (3.4.6-1build1) ... 668s Selecting previously unselected package uuid-dev:amd64. 668s Preparing to unpack .../31-uuid-dev_2.40.2-1ubuntu2_amd64.deb ... 668s Unpacking uuid-dev:amd64 (2.40.2-1ubuntu2) ... 668s Selecting previously unselected package libblkid-dev:amd64. 668s Preparing to unpack .../32-libblkid-dev_2.40.2-1ubuntu2_amd64.deb ... 668s Unpacking libblkid-dev:amd64 (2.40.2-1ubuntu2) ... 668s Selecting previously unselected package libsepol-dev:amd64. 668s Preparing to unpack .../33-libsepol-dev_3.7-1_amd64.deb ... 668s Unpacking libsepol-dev:amd64 (3.7-1) ... 668s Selecting previously unselected package libpcre2-16-0:amd64. 668s Preparing to unpack .../34-libpcre2-16-0_10.42-4ubuntu3_amd64.deb ... 668s Unpacking libpcre2-16-0:amd64 (10.42-4ubuntu3) ... 668s Selecting previously unselected package libpcre2-32-0:amd64. 668s Preparing to unpack .../35-libpcre2-32-0_10.42-4ubuntu3_amd64.deb ... 668s Unpacking libpcre2-32-0:amd64 (10.42-4ubuntu3) ... 668s Selecting previously unselected package libpcre2-posix3:amd64. 668s Preparing to unpack .../36-libpcre2-posix3_10.42-4ubuntu3_amd64.deb ... 668s Unpacking libpcre2-posix3:amd64 (10.42-4ubuntu3) ... 668s Selecting previously unselected package libpcre2-dev:amd64. 668s Preparing to unpack .../37-libpcre2-dev_10.42-4ubuntu3_amd64.deb ... 668s Unpacking libpcre2-dev:amd64 (10.42-4ubuntu3) ... 668s Selecting previously unselected package libselinux1-dev:amd64. 668s Preparing to unpack .../38-libselinux1-dev_3.7-3ubuntu1_amd64.deb ... 668s Unpacking libselinux1-dev:amd64 (3.7-3ubuntu1) ... 668s Selecting previously unselected package libmount-dev:amd64. 668s Preparing to unpack .../39-libmount-dev_2.40.2-1ubuntu2_amd64.deb ... 668s Unpacking libmount-dev:amd64 (2.40.2-1ubuntu2) ... 668s Selecting previously unselected package libsysprof-capture-4-dev:amd64. 668s Preparing to unpack .../40-libsysprof-capture-4-dev_47.2-1_amd64.deb ... 668s Unpacking libsysprof-capture-4-dev:amd64 (47.2-1) ... 668s Selecting previously unselected package libpkgconf3:amd64. 668s Preparing to unpack .../41-libpkgconf3_1.8.1-4_amd64.deb ... 668s Unpacking libpkgconf3:amd64 (1.8.1-4) ... 668s Selecting previously unselected package pkgconf-bin. 668s Preparing to unpack .../42-pkgconf-bin_1.8.1-4_amd64.deb ... 668s Unpacking pkgconf-bin (1.8.1-4) ... 668s Selecting previously unselected package pkgconf:amd64. 668s Preparing to unpack .../43-pkgconf_1.8.1-4_amd64.deb ... 668s Unpacking pkgconf:amd64 (1.8.1-4) ... 668s Selecting previously unselected package zlib1g-dev:amd64. 668s Preparing to unpack .../44-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_amd64.deb ... 668s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 668s Selecting previously unselected package libgio-2.0-dev:amd64. 668s Preparing to unpack .../45-libgio-2.0-dev_2.82.4-1_amd64.deb ... 668s Unpacking libgio-2.0-dev:amd64 (2.82.4-1) ... 668s Selecting previously unselected package python3-packaging. 668s Preparing to unpack .../46-python3-packaging_24.2-1_all.deb ... 668s Unpacking python3-packaging (24.2-1) ... 668s Selecting previously unselected package libgio-2.0-dev-bin. 668s Preparing to unpack .../47-libgio-2.0-dev-bin_2.82.4-1_amd64.deb ... 668s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 668s Selecting previously unselected package libglib2.0-bin. 668s Preparing to unpack .../48-libglib2.0-bin_2.82.4-1_amd64.deb ... 668s Unpacking libglib2.0-bin (2.82.4-1) ... 668s Selecting previously unselected package libglib2.0-dev-bin. 668s Preparing to unpack .../49-libglib2.0-dev-bin_2.82.4-1_amd64.deb ... 668s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 668s Selecting previously unselected package libglib2.0-dev:amd64. 668s Preparing to unpack .../50-libglib2.0-dev_2.82.4-1_amd64.deb ... 668s Unpacking libglib2.0-dev:amd64 (2.82.4-1) ... 668s Setting up native-architecture (0.2.3) ... 668s Setting up libgirepository-2.0-0:amd64 (2.82.4-1) ... 668s Setting up libglib2.0-bin (2.82.4-1) ... 668s Setting up libgomp1:amd64 (14.2.0-12ubuntu1) ... 668s Setting up libffi-dev:amd64 (3.4.6-1build1) ... 668s Setting up libpcre2-16-0:amd64 (10.42-4ubuntu3) ... 668s Setting up libsysprof-capture-4-dev:amd64 (47.2-1) ... 668s Setting up libpcre2-32-0:amd64 (10.42-4ubuntu3) ... 668s Setting up python3-packaging (24.2-1) ... 668s Setting up libpkgconf3:amd64 (1.8.1-4) ... 668s Setting up uuid-dev:amd64 (2.40.2-1ubuntu2) ... 668s Setting up libquadmath0:amd64 (14.2.0-12ubuntu1) ... 668s Setting up libmpc3:amd64 (1.3.1-1build2) ... 668s Setting up libsepol-dev:amd64 (3.7-1) ... 668s Setting up pkgconf-bin (1.8.1-4) ... 668s Setting up libubsan1:amd64 (14.2.0-12ubuntu1) ... 668s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 668s Setting up libpcre2-posix3:amd64 (10.42-4ubuntu3) ... 668s Setting up gir1.2-glib-2.0-dev:amd64 (2.82.4-1) ... 668s Setting up libhwasan0:amd64 (14.2.0-12ubuntu1) ... 668s Setting up libasan8:amd64 (14.2.0-12ubuntu1) ... 668s Setting up libtsan2:amd64 (14.2.0-12ubuntu1) ... 668s Setting up libisl23:amd64 (0.27-1) ... 668s Setting up libcc1-0:amd64 (14.2.0-12ubuntu1) ... 668s Setting up liblsan0:amd64 (14.2.0-12ubuntu1) ... 668s Setting up libitm1:amd64 (14.2.0-12ubuntu1) ... 668s Setting up libblkid-dev:amd64 (2.40.2-1ubuntu2) ... 668s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 669s Setting up girepository-tools:amd64 (2.82.4-1) ... 669s Setting up libpcre2-dev:amd64 (10.42-4ubuntu3) ... 669s Setting up libselinux1-dev:amd64 (3.7-3ubuntu1) ... 669s Setting up pkgconf:amd64 (1.8.1-4) ... 669s Setting up cpp-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 669s Setting up cpp-14 (14.2.0-12ubuntu1) ... 669s Setting up libgcc-14-dev:amd64 (14.2.0-12ubuntu1) ... 669s Setting up libstdc++-14-dev:amd64 (14.2.0-12ubuntu1) ... 669s Setting up libmount-dev:amd64 (2.40.2-1ubuntu2) ... 669s Setting up cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 669s Setting up libglib2.0-dev-bin (2.82.4-1) ... 669s Setting up libgio-2.0-dev:amd64 (2.82.4-1) ... 669s Setting up cpp (4:14.1.0-2ubuntu1) ... 669s Setting up gcc-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 669s Setting up gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 669s Setting up gcc-14 (14.2.0-12ubuntu1) ... 669s Setting up g++-14-x86-64-linux-gnu (14.2.0-12ubuntu1) ... 669s Setting up g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 669s Setting up g++-14 (14.2.0-12ubuntu1) ... 669s Setting up gcc (4:14.1.0-2ubuntu1) ... 669s Setting up g++ (4:14.1.0-2ubuntu1) ... 669s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 669s Setting up build-essential (12.10ubuntu1) ... 669s Processing triggers for install-info (7.1.1-1) ... 669s Processing triggers for libc-bin (2.40-4ubuntu1) ... 669s Processing triggers for man-db (2.13.0-1) ... 670s Processing triggers for libglib2.0-0t64:amd64 (2.82.4-1) ... 670s No schema files found: doing nothing. 670s Setting up libglib2.0-dev:amd64 (2.82.4-1) ... 680s autopkgtest [17:25:06]: test libglib2.0-dev: [----------------------- 680s + debian/tests/build 680s + mode=dynamic 680s + getopt -o --long static -n debian/tests/build -- 680s + getopt_temp= -- 680s + eval set -- -- 680s + set -- -- 680s + true 680s + shift 680s + break 680s + mktemp -d 680s + WORKDIR=/tmp/tmp.Rps2w9lQjS 680s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 680s + cd /tmp/tmp.Rps2w9lQjS 680s + [ -n ] 680s + CROSS_COMPILE= 680s + cat 680s + cat 680s + cat 680s + cat 680s + cat 680s + cat 680s + cflags= 680s + pcflags= 680s + packages=glib-2.0 680s + pkg-config --cflags --libs glib-2.0 680s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 680s + echo build (glib, dynamic): OK 680s + [ -x glib-dynamic ] 680s + foo=bar ./glib-dynamic 680s build (glib, dynamic): OK 680s + echo run (glib, dynamic): OK 680s + cflags= 680s + pcflags= 680s + packages=gobject-2.0 680s + pkg-config --cflags --libs gobject-2.0 680s run (glib, dynamic): OK 680s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 681s build (gobject, dynamic): OK 681s + echo build (gobject, dynamic): OK 681s + [ -x gobject-dynamic ] 681s + foo=bar ./gobject-dynamic 681s run (gobject, dynamic): OK 681s + echo run (gobject, dynamic): OK 681s + cflags= 681s + pcflags= 681s + packages=gio-2.0 681s + pkg-config --cflags --libs gio-2.0 681s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 681s + echo build (gio, dynamic): OK 681s + [ -x gio-dynamic ] 681s + foo=bar ./gio-dynamic 681s + echo run (gio, dynamic): OK 681s + cflags= 681s + pcflags= 681s + packages=gio-unix-2.0 681s + pkg-config --cflags --libs gio-unix-2.0 681s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 681s build (gio, dynamic): OK 681s run (gio, dynamic): OK 681s + echo build (gio-unix, dynamic): OK 681s + [ -x gio-unix-dynamic ] 681s + foo=bar ./gio-unix-dynamic 681s + echo run (gio-unix, dynamic): OK 681s + cflags= 681s + pcflags= 681s + packages=gmodule-2.0 681s + pkg-config --cflags --libs gmodule-2.0 681s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 681s build (gio-unix, dynamic): OK 681s run (gio-unix, dynamic): OK 681s build (gmodule, dynamic): OK 681s + echo build (gmodule, dynamic): OK 681s + [ -x gmodule-dynamic ] 681s + foo=bar ./gmodule-dynamic 681s + echo run (gmodule, dynamic): OK 681s + cflags= 681s + pcflags= 681s + packages=gthread-2.0 681s + pkg-config --cflags --libs gthread-2.0 681s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 681s run (gmodule, dynamic): OK 681s + echo build (gthread, dynamic): OK 681s + [ -x gthread-dynamic ] 681s + foo=bar ./gthread-dynamic 681s build (gthread, dynamic): OK 681s + echo run (gthread, dynamic): OK 681s + rm -rf /tmp/tmp.Rps2w9lQjS 681s run (gthread, dynamic): OK 681s + debian/tests/build-static 681s + mode=dynamic 681s + getopt -o --long static -n debian/tests/build -- --static 681s + getopt_temp= --static -- 681s + eval set -- --static -- 681s + set -- --static -- 681s + true 681s + mode=static 681s + shift 681s + continue 681s + true 681s + shift 681s + break 681s + mktemp -d 681s + WORKDIR=/tmp/tmp.aEmfJfENo3 681s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 681s + cd /tmp/tmp.aEmfJfENo3 681s + [ -n ] 681s + CROSS_COMPILE= 681s + cat 681s + cat 681s + cat 681s + cat 681s + cat 681s + cat 681s + cflags= 681s + pcflags= 681s + packages=glib-2.0 681s + cflags=-static 681s + pcflags=--static 681s + pkg-config --static --cflags --libs glib-2.0 681s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 681s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 681s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 681s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 681s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 681s build (glib, static): OK 681s run (glib, static): OK 681s + echo build (glib, static): OK 681s + [ -x glib-static ] 681s + foo=bar ./glib-static 681s + echo run (glib, static): OK 681s + cflags= 681s + pcflags= 681s + packages=gobject-2.0 681s + cflags=-static 681s + pcflags=--static 681s + pkg-config --static --cflags --libs gobject-2.0 681s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 681s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 681s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 681s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 681s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 681s build (gobject, static): OK 681s run (gobject, static): OK 681s + echo build (gobject, static): OK 681s + [ -x gobject-static ] 681s + foo=bar ./gobject-static 681s + echo run (gobject, static): OK 681s + cflags= 681s + pcflags= 681s + packages=gio-2.0 681s + cflags=-static 681s + pcflags=--static 681s + continue 681s + cflags= 681s + pcflags= 681s + packages=gio-unix-2.0 681s + cflags=-static 681s + pcflags=--static 681s + continue 681s + cflags= 681s + pcflags= 681s + packages=gmodule-2.0 681s + cflags=-static 681s + pcflags=--static 681s + pkg-config --static --cflags --libs gmodule-2.0 681s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 681s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 681s (.text+0x5bf): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 681s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 681s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 681s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 681s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 682s build (gmodule, static): OK 682s + echo build (gmodule, static): OK 682s + [ -x gmodule-static ] 682s + foo=bar ./gmodule-static 682s run (gmodule, static): OK 682s + echo run (gmodule, static): OK 682s + cflags= 682s + pcflags= 682s + packages=gthread-2.0 682s + cflags=-static 682s + pcflags=--static 682s + pkg-config --static --cflags --libs gthread-2.0 682s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 682s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 682s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 682s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 682s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 682s build (gthread, static): OK 682s run (gthread, static): OK 682s + echo build (gthread, static): OK 682s + [ -x gthread-static ] 682s + foo=bar ./gthread-static 682s + echo run (gthread, static): OK 682s + rm -rf /tmp/tmp.aEmfJfENo3 682s + debian/tests/girepository-tools 682s + cd /tmp/autopkgtest.OFvodc/autopkgtest_tmp 682s + dpkg-architecture -qDEB_HOST_GNU_TYPE 682s + DEB_HOST_GNU_TYPE=x86_64-linux-gnu 682s + dpkg-architecture -qDEB_HOST_MULTIARCH 682s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 682s + x86_64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 682s typelib: GLib-2.0 682s + x86_64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 682s + x86_64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 682s + debian/tests/libgio-2.0-dev-bin 682s + gdbus-codegen --help 682s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 682s [--c-namespace NAMESPACE] [--c-generate-object-manager] 682s [--c-generate-autocleanup {none,objects,all}] 682s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 682s [--generate-rst OUTFILES] [--pragma-once] 682s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 682s [--glib-min-required VERSION] 682s [--glib-max-allowed VERSION] 682s [--symbol-decorator SYMBOL_DECORATOR] 682s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 682s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 682s [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 682s [--output FILE | --output-directory OUTDIR] 682s FILE [FILE ...] 682s 682s D-Bus code and documentation generator 682s 682s positional arguments: 682s FILE D-Bus introspection XML file 682s 682s options: 682s -h, --help show this help message and exit 682s --interface-prefix PREFIX 682s String to strip from D-Bus interface names for code 682s and docs 682s --c-namespace NAMESPACE 682s The namespace to use for generated C code 682s --c-generate-object-manager 682s Generate a GDBusObjectManagerClient subclass when 682s generating C code 682s --c-generate-autocleanup {none,objects,all} 682s Generate autocleanup support 682s --generate-docbook OUTFILES 682s Generate Docbook in OUTFILES-org.Project.IFace.xml 682s --generate-md OUTFILES 682s Generate Markdown in OUTFILES-org.Project.IFace.md 682s --generate-rst OUTFILES 682s Generate reStructuredText in OUTFILES- 682s org.Project.IFace.rst 682s --pragma-once Use "pragma once" as the inclusion guard 682s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 682s Add annotation (may be used several times) 682s --glib-min-required VERSION 682s Minimum version of GLib to be supported by the 682s outputted code (default: 2.30) 682s --glib-max-allowed VERSION 682s Maximum version of GLib to be used by the outputted 682s code (default: current GLib version) 682s --symbol-decorator SYMBOL_DECORATOR 682s Macro used to decorate a symbol in the outputted 682s header, possibly to export symbols 682s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 682s Additional header required for decorator specified by 682s --symbol-decorator 682s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 682s Additional define required for decorator specified by 682s --symbol-decorator 682s --generate-c-code OUTFILES 682s Generate C code in OUTFILES.[ch] 682s --header Generate C headers 682s --body Generate C code 682s --interface-info-header 682s Generate GDBusInterfaceInfo C header 682s --interface-info-body 682s Generate GDBusInterfaceInfo C code 682s --output FILE Write output into the specified file 682s --output-directory OUTDIR 682s Location to output generated files 682s + glib-compile-resources --version 682s 2.82.4 682s + glib-genmarshal --version 682s glib-genmarshal version 2.82.4 682s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 682s You may redistribute copies of glib-genmarshal under the terms of 682s the GNU General Public License which can be found in the 682s GLib source package. Sources, examples and contact 682s information are available at http://www.gtk.org 682s + glib-gettextize --version 682s /usr/bin/glib-gettextize (GNU glib) 2.82.4 682s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 682s This is free software; see the source for copying conditions. There is NO 682s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 682s Written by Ulrich Drepper 682s + glib-mkenums --version 682s glib-mkenums version 2.82.4 682s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 682s You may redistribute copies of glib-mkenums under the terms of 682s the GNU General Public License which can be found in the 682s GLib source package. Sources, examples and contact 682s information are available at http://www.gtk.org 682s + gobject-query tree 682s + gtester --version 682s GObject 682s + gtester-report --version 682s gtester version 2.82.4 682s gtester-report (GLib utils) version 2.82.4. 682s + cd /tmp/autopkgtest.OFvodc/autopkgtest_tmp 682s + dpkg-architecture -qDEB_HOST_MULTIARCH 682s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 682s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 682s typelib: GLib-2.0 682s + gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 682s + gi-decompile-typelib -o GLib.gir GLib.typelib 682s autopkgtest [17:25:08]: test libglib2.0-dev: -----------------------] 683s autopkgtest [17:25:09]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 683s libglib2.0-dev PASS (superficial) 683s autopkgtest [17:25:09]: test installed-tests: preparing testbed 806s autopkgtest [17:27:12]: testbed dpkg architecture: amd64 806s autopkgtest [17:27:12]: testbed apt version: 2.9.18 807s autopkgtest [17:27:13]: @@@@@@@@@@@@@@@@@@@@ test bed setup 807s autopkgtest [17:27:13]: testbed release detected to be: plucky 808s autopkgtest [17:27:14]: updating testbed package index (apt update) 808s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 808s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 808s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 808s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 808s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 808s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [177 kB] 809s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [855 kB] 809s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 809s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [327 kB] 809s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [227 kB] 809s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 809s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 809s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [1085 kB] 809s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [462 kB] 809s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [24.6 kB] 809s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [4116 B] 809s Fetched 3303 kB in 1s (3303 kB/s) 810s Reading package lists... 810s Reading package lists... 810s Building dependency tree... 810s Reading state information... 811s Calculating upgrade... 811s The following packages will be upgraded: 811s libgudev-1.0-0 rng-tools-debian usb.ids 811s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 811s Need to get 286 kB of archives. 811s After this operation, 0 B of additional disk space will be used. 811s Get:1 http://ftpmaster.internal/ubuntu plucky/universe amd64 rng-tools-debian amd64 2.6 [47.6 kB] 811s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 usb.ids all 2025.01.14-1 [223 kB] 811s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libgudev-1.0-0 amd64 1:238-6 [15.8 kB] 812s Fetched 286 kB in 0s (600 kB/s) 812s (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 ... 75824 files and directories currently installed.) 812s Preparing to unpack .../rng-tools-debian_2.6_amd64.deb ... 812s Unpacking rng-tools-debian (2.6) over (2.5) ... 812s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 812s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 812s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_amd64.deb ... 812s Unpacking libgudev-1.0-0:amd64 (1:238-6) over (1:238-5ubuntu1) ... 812s Setting up rng-tools-debian (2.6) ... 812s Setting up usb.ids (2025.01.14-1) ... 812s Setting up libgudev-1.0-0:amd64 (1:238-6) ... 812s Processing triggers for man-db (2.13.0-1) ... 813s Processing triggers for libc-bin (2.40-4ubuntu1) ... 814s Reading package lists... 814s Building dependency tree... 814s Reading state information... 814s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 814s autopkgtest [17:27:20]: upgrading testbed (apt dist-upgrade and autopurge) 814s Reading package lists... 815s Building dependency tree... 815s Reading state information... 815s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 815s Starting 2 pkgProblemResolver with broken count: 0 815s Done 815s Entering ResolveByKeep 816s 816s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 816s Reading package lists... 816s Building dependency tree... 816s Reading state information... 816s Starting pkgProblemResolver with broken count: 0 816s Starting 2 pkgProblemResolver with broken count: 0 816s Done 817s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 817s autopkgtest [17:27:23]: rebooting testbed after setup commands that affected boot 843s Reading package lists... 843s Building dependency tree... 843s Reading state information... 844s Starting pkgProblemResolver with broken count: 0 844s Starting 2 pkgProblemResolver with broken count: 0 844s Done 844s The following NEW packages will be installed: 844s dbus-x11 desktop-file-utils girepository-tools gnome-desktop-testing 844s libdrm-intel1 libdrm-radeon1 libfontenc1 libgbm1 libgio-2.0-dev-bin 844s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 844s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 844s libpciaccess0 libpixman-1-0 libsm6 libvulkan1 libwayland-server0 libx11-xcb1 844s libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 844s libxcb-randr0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 844s libxkbfile1 libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 844s libxxf86vm1 mesa-libgallium native-architecture python3-dbusmock 844s python3-packaging tzdata-legacy x11-common x11-xkb-utils xserver-common xvfb 844s 0 upgraded, 54 newly installed, 0 to remove and 0 not upgraded. 844s Need to get 17.8 MB of archives. 844s After this operation, 75.2 MB of additional disk space will be used. 844s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 dbus-x11 amd64 1.14.10-4ubuntu5 [23.4 kB] 844s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 desktop-file-utils amd64 0.28-1 [54.5 kB] 845s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 native-architecture all 0.2.3 [1990 B] 845s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-2.0-0 amd64 2.82.4-1 [78.2 kB] 845s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 girepository-tools amd64 2.82.4-1 [115 kB] 845s Get:6 http://ftpmaster.internal/ubuntu plucky/universe amd64 gnome-desktop-testing amd64 2021.1-4 [16.8 kB] 845s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libpciaccess0 amd64 0.17-3build1 [18.6 kB] 845s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libdrm-intel1 amd64 2.4.123-1 [68.8 kB] 845s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libdrm-radeon1 amd64 2.4.123-1 [25.3 kB] 845s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libfontenc1 amd64 1:1.1.8-1build1 [14.0 kB] 845s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libwayland-server0 amd64 1.23.0-1 [35.1 kB] 845s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-randr0 amd64 1.17.0-2 [17.9 kB] 845s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libglapi-mesa amd64 24.2.8-1ubuntu1 [42.5 kB] 845s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libx11-xcb1 amd64 2:1.8.10-2 [7944 B] 845s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-dri2-0 amd64 1.17.0-2 [7222 B] 845s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-dri3-0 amd64 1.17.0-2 [7508 B] 845s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-present0 amd64 1.17.0-2 [6064 B] 845s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-sync1 amd64 1.17.0-2 [9312 B] 845s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-xfixes0 amd64 1.17.0-2 [10.2 kB] 845s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 libxshmfence1 amd64 1.3-1build5 [4764 B] 845s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 mesa-libgallium amd64 24.2.8-1ubuntu1 [11.5 MB] 845s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 libgbm1 amd64 24.2.8-1ubuntu1 [32.2 kB] 845s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.2-1 [51.5 kB] 845s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 libgio-2.0-dev-bin amd64 2.82.4-1 [128 kB] 845s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 libvulkan1 amd64 1.3.296.0-1 [143 kB] 845s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 libgl1-mesa-dri amd64 24.2.8-1ubuntu1 [34.7 kB] 845s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-bin amd64 2.82.4-1 [103 kB] 845s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-dev-bin amd64 2.82.4-1 [18.1 kB] 845s Get:29 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-dbusmock all 0.34.0-1 [92.2 kB] 845s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 tzdata-legacy all 2024b-4ubuntu1 [99.2 kB] 845s Get:31 http://ftpmaster.internal/ubuntu plucky/universe amd64 libglib2.0-tests amd64 2.82.4-1 [2249 kB] 845s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-glx0 amd64 1.17.0-2 [24.8 kB] 845s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-shm0 amd64 1.17.0-2 [5758 B] 845s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libxfixes3 amd64 1:6.0.0-2build1 [10.8 kB] 845s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libxxf86vm1 amd64 1:1.1.4-1build4 [9282 B] 845s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 libglx-mesa0 amd64 24.2.8-1ubuntu1 [162 kB] 845s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 x11-common all 1:7.7+23ubuntu3 [21.7 kB] 845s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libice6 amd64 2:1.1.1-1 [44.1 kB] 845s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 libpixman-1-0 amd64 0.44.0-3 [427 kB] 845s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 libsm6 amd64 2:1.2.4-1 [17.4 kB] 845s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libxt6t64 amd64 1:1.2.1-1.2build1 [171 kB] 845s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libxmu6 amd64 2:1.1.3-3build2 [47.6 kB] 845s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 libxpm4 amd64 1:3.5.17-1build2 [36.5 kB] 845s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 libxaw7 amd64 2:1.0.16-1 [207 kB] 845s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 libxfont2 amd64 1:2.0.6-1build1 [93.0 kB] 845s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 libxkbfile1 amd64 1:1.1.0-1build4 [70.0 kB] 845s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 libxrender1 amd64 1:0.9.10-1.1build1 [19.0 kB] 845s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 libxrandr2 amd64 2:1.5.4-1 [19.6 kB] 845s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 x11-xkb-utils amd64 7.7+9 [169 kB] 845s Get:50 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 xserver-common all 2:21.1.15-2ubuntu2 [34.0 kB] 847s Get:51 http://ftpmaster.internal/ubuntu plucky/main amd64 libglvnd0 amd64 1.7.0-1build1 [69.6 kB] 847s Get:52 http://ftpmaster.internal/ubuntu plucky/main amd64 libglx0 amd64 1.7.0-1build1 [38.6 kB] 847s Get:53 http://ftpmaster.internal/ubuntu plucky/main amd64 libgl1 amd64 1.7.0-1build1 [102 kB] 847s Get:54 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 xvfb amd64 2:21.1.15-2ubuntu2 [965 kB] 847s Fetched 17.8 MB in 1s (13.0 MB/s) 847s Selecting previously unselected package dbus-x11. 847s (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 ... 75824 files and directories currently installed.) 847s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu5_amd64.deb ... 847s Unpacking dbus-x11 (1.14.10-4ubuntu5) ... 847s Selecting previously unselected package desktop-file-utils. 847s Preparing to unpack .../01-desktop-file-utils_0.28-1_amd64.deb ... 847s Unpacking desktop-file-utils (0.28-1) ... 847s Selecting previously unselected package native-architecture. 847s Preparing to unpack .../02-native-architecture_0.2.3_all.deb ... 847s Unpacking native-architecture (0.2.3) ... 847s Selecting previously unselected package libgirepository-2.0-0:amd64. 847s Preparing to unpack .../03-libgirepository-2.0-0_2.82.4-1_amd64.deb ... 847s Unpacking libgirepository-2.0-0:amd64 (2.82.4-1) ... 847s Selecting previously unselected package girepository-tools:amd64. 847s Preparing to unpack .../04-girepository-tools_2.82.4-1_amd64.deb ... 847s Unpacking girepository-tools:amd64 (2.82.4-1) ... 847s Selecting previously unselected package gnome-desktop-testing. 847s Preparing to unpack .../05-gnome-desktop-testing_2021.1-4_amd64.deb ... 847s Unpacking gnome-desktop-testing (2021.1-4) ... 847s Selecting previously unselected package libpciaccess0:amd64. 847s Preparing to unpack .../06-libpciaccess0_0.17-3build1_amd64.deb ... 847s Unpacking libpciaccess0:amd64 (0.17-3build1) ... 847s Selecting previously unselected package libdrm-intel1:amd64. 847s Preparing to unpack .../07-libdrm-intel1_2.4.123-1_amd64.deb ... 847s Unpacking libdrm-intel1:amd64 (2.4.123-1) ... 847s Selecting previously unselected package libdrm-radeon1:amd64. 847s Preparing to unpack .../08-libdrm-radeon1_2.4.123-1_amd64.deb ... 847s Unpacking libdrm-radeon1:amd64 (2.4.123-1) ... 847s Selecting previously unselected package libfontenc1:amd64. 847s Preparing to unpack .../09-libfontenc1_1%3a1.1.8-1build1_amd64.deb ... 847s Unpacking libfontenc1:amd64 (1:1.1.8-1build1) ... 847s Selecting previously unselected package libwayland-server0:amd64. 847s Preparing to unpack .../10-libwayland-server0_1.23.0-1_amd64.deb ... 847s Unpacking libwayland-server0:amd64 (1.23.0-1) ... 847s Selecting previously unselected package libxcb-randr0:amd64. 847s Preparing to unpack .../11-libxcb-randr0_1.17.0-2_amd64.deb ... 847s Unpacking libxcb-randr0:amd64 (1.17.0-2) ... 847s Selecting previously unselected package libglapi-mesa:amd64. 847s Preparing to unpack .../12-libglapi-mesa_24.2.8-1ubuntu1_amd64.deb ... 847s Unpacking libglapi-mesa:amd64 (24.2.8-1ubuntu1) ... 847s Selecting previously unselected package libx11-xcb1:amd64. 847s Preparing to unpack .../13-libx11-xcb1_2%3a1.8.10-2_amd64.deb ... 847s Unpacking libx11-xcb1:amd64 (2:1.8.10-2) ... 847s Selecting previously unselected package libxcb-dri2-0:amd64. 847s Preparing to unpack .../14-libxcb-dri2-0_1.17.0-2_amd64.deb ... 847s Unpacking libxcb-dri2-0:amd64 (1.17.0-2) ... 847s Selecting previously unselected package libxcb-dri3-0:amd64. 847s Preparing to unpack .../15-libxcb-dri3-0_1.17.0-2_amd64.deb ... 847s Unpacking libxcb-dri3-0:amd64 (1.17.0-2) ... 847s Selecting previously unselected package libxcb-present0:amd64. 847s Preparing to unpack .../16-libxcb-present0_1.17.0-2_amd64.deb ... 847s Unpacking libxcb-present0:amd64 (1.17.0-2) ... 847s Selecting previously unselected package libxcb-sync1:amd64. 847s Preparing to unpack .../17-libxcb-sync1_1.17.0-2_amd64.deb ... 847s Unpacking libxcb-sync1:amd64 (1.17.0-2) ... 847s Selecting previously unselected package libxcb-xfixes0:amd64. 847s Preparing to unpack .../18-libxcb-xfixes0_1.17.0-2_amd64.deb ... 847s Unpacking libxcb-xfixes0:amd64 (1.17.0-2) ... 847s Selecting previously unselected package libxshmfence1:amd64. 847s Preparing to unpack .../19-libxshmfence1_1.3-1build5_amd64.deb ... 847s Unpacking libxshmfence1:amd64 (1.3-1build5) ... 847s Selecting previously unselected package mesa-libgallium:amd64. 847s Preparing to unpack .../20-mesa-libgallium_24.2.8-1ubuntu1_amd64.deb ... 847s Unpacking mesa-libgallium:amd64 (24.2.8-1ubuntu1) ... 847s Selecting previously unselected package libgbm1:amd64. 847s Preparing to unpack .../21-libgbm1_24.2.8-1ubuntu1_amd64.deb ... 847s Unpacking libgbm1:amd64 (24.2.8-1ubuntu1) ... 847s Selecting previously unselected package python3-packaging. 847s Preparing to unpack .../22-python3-packaging_24.2-1_all.deb ... 847s Unpacking python3-packaging (24.2-1) ... 847s Selecting previously unselected package libgio-2.0-dev-bin. 847s Preparing to unpack .../23-libgio-2.0-dev-bin_2.82.4-1_amd64.deb ... 847s Unpacking libgio-2.0-dev-bin (2.82.4-1) ... 847s Selecting previously unselected package libvulkan1:amd64. 847s Preparing to unpack .../24-libvulkan1_1.3.296.0-1_amd64.deb ... 847s Unpacking libvulkan1:amd64 (1.3.296.0-1) ... 847s Selecting previously unselected package libgl1-mesa-dri:amd64. 847s Preparing to unpack .../25-libgl1-mesa-dri_24.2.8-1ubuntu1_amd64.deb ... 847s Unpacking libgl1-mesa-dri:amd64 (24.2.8-1ubuntu1) ... 847s Selecting previously unselected package libglib2.0-bin. 847s Preparing to unpack .../26-libglib2.0-bin_2.82.4-1_amd64.deb ... 847s Unpacking libglib2.0-bin (2.82.4-1) ... 847s Selecting previously unselected package libglib2.0-dev-bin. 847s Preparing to unpack .../27-libglib2.0-dev-bin_2.82.4-1_amd64.deb ... 847s Unpacking libglib2.0-dev-bin (2.82.4-1) ... 847s Selecting previously unselected package python3-dbusmock. 847s Preparing to unpack .../28-python3-dbusmock_0.34.0-1_all.deb ... 847s Unpacking python3-dbusmock (0.34.0-1) ... 847s Selecting previously unselected package tzdata-legacy. 847s Preparing to unpack .../29-tzdata-legacy_2024b-4ubuntu1_all.deb ... 847s Unpacking tzdata-legacy (2024b-4ubuntu1) ... 847s Selecting previously unselected package libglib2.0-tests. 847s Preparing to unpack .../30-libglib2.0-tests_2.82.4-1_amd64.deb ... 847s Unpacking libglib2.0-tests (2.82.4-1) ... 847s Selecting previously unselected package libxcb-glx0:amd64. 847s Preparing to unpack .../31-libxcb-glx0_1.17.0-2_amd64.deb ... 847s Unpacking libxcb-glx0:amd64 (1.17.0-2) ... 847s Selecting previously unselected package libxcb-shm0:amd64. 847s Preparing to unpack .../32-libxcb-shm0_1.17.0-2_amd64.deb ... 847s Unpacking libxcb-shm0:amd64 (1.17.0-2) ... 847s Selecting previously unselected package libxfixes3:amd64. 847s Preparing to unpack .../33-libxfixes3_1%3a6.0.0-2build1_amd64.deb ... 847s Unpacking libxfixes3:amd64 (1:6.0.0-2build1) ... 847s Selecting previously unselected package libxxf86vm1:amd64. 847s Preparing to unpack .../34-libxxf86vm1_1%3a1.1.4-1build4_amd64.deb ... 847s Unpacking libxxf86vm1:amd64 (1:1.1.4-1build4) ... 848s Selecting previously unselected package libglx-mesa0:amd64. 848s Preparing to unpack .../35-libglx-mesa0_24.2.8-1ubuntu1_amd64.deb ... 848s Unpacking libglx-mesa0:amd64 (24.2.8-1ubuntu1) ... 848s Selecting previously unselected package x11-common. 848s Preparing to unpack .../36-x11-common_1%3a7.7+23ubuntu3_all.deb ... 848s Unpacking x11-common (1:7.7+23ubuntu3) ... 848s Selecting previously unselected package libice6:amd64. 848s Preparing to unpack .../37-libice6_2%3a1.1.1-1_amd64.deb ... 848s Unpacking libice6:amd64 (2:1.1.1-1) ... 848s Selecting previously unselected package libpixman-1-0:amd64. 848s Preparing to unpack .../38-libpixman-1-0_0.44.0-3_amd64.deb ... 848s Unpacking libpixman-1-0:amd64 (0.44.0-3) ... 848s Selecting previously unselected package libsm6:amd64. 848s Preparing to unpack .../39-libsm6_2%3a1.2.4-1_amd64.deb ... 848s Unpacking libsm6:amd64 (2:1.2.4-1) ... 848s Selecting previously unselected package libxt6t64:amd64. 848s Preparing to unpack .../40-libxt6t64_1%3a1.2.1-1.2build1_amd64.deb ... 848s Unpacking libxt6t64:amd64 (1:1.2.1-1.2build1) ... 848s Selecting previously unselected package libxmu6:amd64. 848s Preparing to unpack .../41-libxmu6_2%3a1.1.3-3build2_amd64.deb ... 848s Unpacking libxmu6:amd64 (2:1.1.3-3build2) ... 848s Selecting previously unselected package libxpm4:amd64. 848s Preparing to unpack .../42-libxpm4_1%3a3.5.17-1build2_amd64.deb ... 848s Unpacking libxpm4:amd64 (1:3.5.17-1build2) ... 848s Selecting previously unselected package libxaw7:amd64. 848s Preparing to unpack .../43-libxaw7_2%3a1.0.16-1_amd64.deb ... 848s Unpacking libxaw7:amd64 (2:1.0.16-1) ... 848s Selecting previously unselected package libxfont2:amd64. 848s Preparing to unpack .../44-libxfont2_1%3a2.0.6-1build1_amd64.deb ... 848s Unpacking libxfont2:amd64 (1:2.0.6-1build1) ... 848s Selecting previously unselected package libxkbfile1:amd64. 848s Preparing to unpack .../45-libxkbfile1_1%3a1.1.0-1build4_amd64.deb ... 848s Unpacking libxkbfile1:amd64 (1:1.1.0-1build4) ... 848s Selecting previously unselected package libxrender1:amd64. 848s Preparing to unpack .../46-libxrender1_1%3a0.9.10-1.1build1_amd64.deb ... 848s Unpacking libxrender1:amd64 (1:0.9.10-1.1build1) ... 848s Selecting previously unselected package libxrandr2:amd64. 848s Preparing to unpack .../47-libxrandr2_2%3a1.5.4-1_amd64.deb ... 848s Unpacking libxrandr2:amd64 (2:1.5.4-1) ... 848s Selecting previously unselected package x11-xkb-utils. 848s Preparing to unpack .../48-x11-xkb-utils_7.7+9_amd64.deb ... 848s Unpacking x11-xkb-utils (7.7+9) ... 848s Selecting previously unselected package xserver-common. 848s Preparing to unpack .../49-xserver-common_2%3a21.1.15-2ubuntu2_all.deb ... 848s Unpacking xserver-common (2:21.1.15-2ubuntu2) ... 848s Selecting previously unselected package libglvnd0:amd64. 848s Preparing to unpack .../50-libglvnd0_1.7.0-1build1_amd64.deb ... 848s Unpacking libglvnd0:amd64 (1.7.0-1build1) ... 848s Selecting previously unselected package libglx0:amd64. 848s Preparing to unpack .../51-libglx0_1.7.0-1build1_amd64.deb ... 848s Unpacking libglx0:amd64 (1.7.0-1build1) ... 848s Selecting previously unselected package libgl1:amd64. 848s Preparing to unpack .../52-libgl1_1.7.0-1build1_amd64.deb ... 848s Unpacking libgl1:amd64 (1.7.0-1build1) ... 848s Selecting previously unselected package xvfb. 848s Preparing to unpack .../53-xvfb_2%3a21.1.15-2ubuntu2_amd64.deb ... 848s Unpacking xvfb (2:21.1.15-2ubuntu2) ... 848s Setting up gnome-desktop-testing (2021.1-4) ... 848s Setting up libxcb-dri3-0:amd64 (1.17.0-2) ... 848s Setting up libpixman-1-0:amd64 (0.44.0-3) ... 848s Setting up libwayland-server0:amd64 (1.23.0-1) ... 848s Setting up libx11-xcb1:amd64 (2:1.8.10-2) ... 848s Setting up libpciaccess0:amd64 (0.17-3build1) ... 848s Setting up native-architecture (0.2.3) ... 848s Setting up libxcb-xfixes0:amd64 (1.17.0-2) ... 848s Setting up desktop-file-utils (0.28-1) ... 848s Setting up libxpm4:amd64 (1:3.5.17-1build2) ... 848s Setting up libxrender1:amd64 (1:0.9.10-1.1build1) ... 848s Setting up libgirepository-2.0-0:amd64 (2.82.4-1) ... 848s Setting up libdrm-radeon1:amd64 (2.4.123-1) ... 848s Setting up libglvnd0:amd64 (1.7.0-1build1) ... 848s Setting up libxcb-glx0:amd64 (1.17.0-2) ... 848s Setting up libdrm-intel1:amd64 (2.4.123-1) ... 848s Setting up x11-common (1:7.7+23ubuntu3) ... 848s Setting up libglib2.0-bin (2.82.4-1) ... 848s Setting up libxcb-shm0:amd64 (1.17.0-2) ... 848s Setting up python3-dbusmock (0.34.0-1) ... 849s Setting up tzdata-legacy (2024b-4ubuntu1) ... 849s Setting up libxxf86vm1:amd64 (1:1.1.4-1build4) ... 849s Setting up libxcb-present0:amd64 (1.17.0-2) ... 849s Setting up libfontenc1:amd64 (1:1.1.8-1build1) ... 849s Setting up python3-packaging (24.2-1) ... 849s Setting up libxfixes3:amd64 (1:6.0.0-2build1) ... 849s Setting up libxcb-sync1:amd64 (1.17.0-2) ... 849s Setting up libxrandr2:amd64 (2:1.5.4-1) ... 849s Setting up libglapi-mesa:amd64 (24.2.8-1ubuntu1) ... 849s Setting up libvulkan1:amd64 (1.3.296.0-1) ... 849s Setting up libxcb-dri2-0:amd64 (1.17.0-2) ... 849s Setting up libxshmfence1:amd64 (1.3-1build5) ... 849s Setting up dbus-x11 (1.14.10-4ubuntu5) ... 849s Setting up libxcb-randr0:amd64 (1.17.0-2) ... 849s Setting up libxkbfile1:amd64 (1:1.1.0-1build4) ... 849s Setting up libxfont2:amd64 (1:2.0.6-1build1) ... 849s Setting up libice6:amd64 (2:1.1.1-1) ... 849s Setting up mesa-libgallium:amd64 (24.2.8-1ubuntu1) ... 849s Setting up libgio-2.0-dev-bin (2.82.4-1) ... 849s Setting up girepository-tools:amd64 (2.82.4-1) ... 849s Setting up libgbm1:amd64 (24.2.8-1ubuntu1) ... 849s Setting up libgl1-mesa-dri:amd64 (24.2.8-1ubuntu1) ... 849s Setting up libsm6:amd64 (2:1.2.4-1) ... 849s Setting up libglib2.0-dev-bin (2.82.4-1) ... 849s Setting up libglx-mesa0:amd64 (24.2.8-1ubuntu1) ... 849s Setting up libglx0:amd64 (1.7.0-1build1) ... 849s Setting up libgl1:amd64 (1.7.0-1build1) ... 849s Setting up libxt6t64:amd64 (1:1.2.1-1.2build1) ... 849s Setting up libglib2.0-tests (2.82.4-1) ... 849s Setting up libxmu6:amd64 (2:1.1.3-3build2) ... 849s Setting up libxaw7:amd64 (2:1.0.16-1) ... 849s Setting up x11-xkb-utils (7.7+9) ... 849s Setting up xserver-common (2:21.1.15-2ubuntu2) ... 849s Setting up xvfb (2:21.1.15-2ubuntu2) ... 849s Processing triggers for man-db (2.13.0-1) ... 850s Processing triggers for libc-bin (2.40-4ubuntu1) ... 862s autopkgtest [17:28:08]: test installed-tests: [----------------------- 862s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 862s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 862s group entry: ubuntu:x:1000: 862s Environment: 862s ADTTMP=/tmp/autopkgtest.OFvodc/autopkgtest_tmp 862s ADT_ARTIFACTS=/tmp/autopkgtest.OFvodc/installed-tests-artifacts 862s ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 862s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.OFvodc/installed-tests-artifacts 862s AUTOPKGTEST_TESTBED_ARCH=amd64 862s AUTOPKGTEST_TEST_ARCH=amd64 862s AUTOPKGTEST_TMP=/tmp/autopkgtest.OFvodc/autopkgtest_tmp 862s DEBIAN_FRONTEND=noninteractive 862s DEB_BUILD_OPTIONS=parallel=2 862s GIO_USE_VFS=local 862s GIO_USE_VOLUME_MONITOR=unix 862s HOME=/home/ubuntu 862s LANG=C.UTF-8 862s LOGNAME=ubuntu 862s MAIL=/var/mail/ubuntu 862s OLDPWD=/home/ubuntu 862s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 862s PWD=/tmp/autopkgtest.OFvodc/build.MEp/src 862s SHELL=/bin/bash 862s SHLVL=1 862s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests 862s SUDO_GID=1000 862s SUDO_UID=1000 862s SUDO_USER=ubuntu 862s TERM=linux 862s USER=ubuntu 862s XDG_RUNTIME_DIR=/tmp/autopkgtest.OFvodc/autopkgtest_tmp 862s http_proxy=http://squid.internal:3128 862s https_proxy=http://squid.internal:3128 862s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com 862s run-with-locales: de_DE=ISO-8859-1... 862s Character set: ISO-8859-1 862s Source file: de_DE 862s Output: /tmp/tmp.7SmNNhEBF2/de_DE 863s run-with-locales: de_DE.utf8... 863s Character set: UTF-8 863s Source file: de_DE 863s Output: /tmp/tmp.7SmNNhEBF2/de_DE.utf8 864s run-with-locales: de_DE@euro.utf8... 864s Character set: UTF-8 864s Source file: de_DE@euro 864s Output: /tmp/tmp.7SmNNhEBF2/de_DE@euro.utf8 865s run-with-locales: el_GR.utf8... 865s Character set: UTF-8 865s Source file: el_GR 865s Output: /tmp/tmp.7SmNNhEBF2/el_GR.utf8 867s run-with-locales: en_GB=ISO-8859-1... 867s Character set: ISO-8859-1 867s Source file: en_GB 867s Output: /tmp/tmp.7SmNNhEBF2/en_GB 867s run-with-locales: en_GB.utf8... 867s Character set: UTF-8 867s Source file: en_GB 867s Output: /tmp/tmp.7SmNNhEBF2/en_GB.utf8 868s run-with-locales: en_US=ISO-8859-1... 868s Character set: ISO-8859-1 868s Source file: en_US 868s Output: /tmp/tmp.7SmNNhEBF2/en_US 869s run-with-locales: en_US.utf8... 869s Character set: UTF-8 869s Source file: en_US 869s Output: /tmp/tmp.7SmNNhEBF2/en_US.utf8 870s run-with-locales: es_ES.utf8... 870s Character set: UTF-8 870s Source file: es_ES 870s Output: /tmp/tmp.7SmNNhEBF2/es_ES.utf8 871s run-with-locales: fa_IR=UTF-8... 871s Character set: UTF-8 871s Source file: fa_IR 871s Output: /tmp/tmp.7SmNNhEBF2/fa_IR 872s run-with-locales: fa_IR.utf8... 872s Character set: UTF-8 872s Source file: fa_IR 872s Output: /tmp/tmp.7SmNNhEBF2/fa_IR.utf8 874s run-with-locales: fr_FR.utf8... 874s Character set: UTF-8 874s Source file: fr_FR 874s Output: /tmp/tmp.7SmNNhEBF2/fr_FR.utf8 875s run-with-locales: hr_HR.utf8... 875s Character set: UTF-8 875s Source file: hr_HR 875s Output: /tmp/tmp.7SmNNhEBF2/hr_HR.utf8 876s run-with-locales: ja_JP.utf8... 876s Character set: UTF-8 876s Source file: ja_JP 876s Output: /tmp/tmp.7SmNNhEBF2/ja_JP.utf8 877s run-with-locales: ja_JP.EUC-JP... 877s Character set: EUC-JP 877s Source file: ja_JP 877s Output: /tmp/tmp.7SmNNhEBF2/ja_JP.eucjp 877s run-with-locales: lt_LT.utf8... 877s Character set: UTF-8 877s Source file: lt_LT 877s Output: /tmp/tmp.7SmNNhEBF2/lt_LT.utf8 878s run-with-locales: pl_PL=ISO-8859-2... 878s Character set: ISO-8859-2 878s Source file: pl_PL 878s Output: /tmp/tmp.7SmNNhEBF2/pl_PL 878s run-with-locales: pl_PL.ISO-8859-2... 878s Character set: ISO-8859-2 878s Source file: pl_PL 878s Output: /tmp/tmp.7SmNNhEBF2/pl_PL.iso88592 879s run-with-locales: pl_PL.utf8... 879s Character set: UTF-8 879s Source file: pl_PL 879s Output: /tmp/tmp.7SmNNhEBF2/pl_PL.utf8 880s run-with-locales: ru_RU=ISO-8859-5... 880s Character set: ISO-8859-5 880s Source file: ru_RU 880s Output: /tmp/tmp.7SmNNhEBF2/ru_RU 880s run-with-locales: ru_RU.utf8... 880s Character set: UTF-8 880s Source file: ru_RU 880s Output: /tmp/tmp.7SmNNhEBF2/ru_RU.utf8 881s run-with-locales: sr_RS=UTF-8... 881s Character set: UTF-8 881s Source file: sr_RS 881s Output: /tmp/tmp.7SmNNhEBF2/sr_RS 883s run-with-locales: sr_RS@latin=UTF-8... 883s Character set: UTF-8 883s Source file: sr_RS@latin 883s Output: /tmp/tmp.7SmNNhEBF2/sr_RS@latin 884s run-with-locales: sv_SE=ISO-8859-1... 884s Character set: ISO-8859-1 884s Source file: sv_SE 884s Output: /tmp/tmp.7SmNNhEBF2/sv_SE 884s run-with-locales: sv_SE.utf8... 884s Character set: UTF-8 884s Source file: sv_SE 884s Output: /tmp/tmp.7SmNNhEBF2/sv_SE.utf8 886s run-with-locales: tr_TR=ISO-8859-9... 886s Character set: ISO-8859-9 886s Source file: tr_TR 886s Output: /tmp/tmp.7SmNNhEBF2/tr_TR 886s run-with-locales: tr_TR.utf8... 886s Character set: UTF-8 886s Source file: tr_TR 886s Output: /tmp/tmp.7SmNNhEBF2/tr_TR.utf8 887s run-with-locales: tt_RU=UTF-8... 887s Character set: UTF-8 887s Source file: tt_RU 887s Output: /tmp/tmp.7SmNNhEBF2/tt_RU 888s run-with-locales: tt_RU.utf8... 888s Character set: UTF-8 888s Source file: tt_RU 888s Output: /tmp/tmp.7SmNNhEBF2/tt_RU.utf8 890s run-with-locales: tt_RU@iqtelif=UTF-8... 890s Character set: UTF-8 890s Source file: tt_RU@iqtelif 890s Output: /tmp/tmp.7SmNNhEBF2/tt_RU@iqtelif 891s /tmp/tmp.7SmNNhEBF2 891s /tmp/tmp.7SmNNhEBF2/en_GB 891s /tmp/tmp.7SmNNhEBF2/en_GB/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/en_GB/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/en_GB/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/en_GB/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/en_GB/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/en_GB/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/en_GB/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/en_GB/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/en_GB/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/en_GB/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/en_GB/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/en_GB/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/lt_LT.utf8 891s /tmp/tmp.7SmNNhEBF2/lt_LT.utf8/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/lt_LT.utf8/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/lt_LT.utf8/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/lt_LT.utf8/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/lt_LT.utf8/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/lt_LT.utf8/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/lt_LT.utf8/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/lt_LT.utf8/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/lt_LT.utf8/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/lt_LT.utf8/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/lt_LT.utf8/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/lt_LT.utf8/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/tt_RU 891s /tmp/tmp.7SmNNhEBF2/tt_RU/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/tt_RU/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/tt_RU/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/tt_RU/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/tt_RU/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/tt_RU/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/tt_RU/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/tt_RU/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/tt_RU/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/tt_RU/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/tt_RU/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/tt_RU/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/sr_RS 891s /tmp/tmp.7SmNNhEBF2/sr_RS/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/sr_RS/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/sr_RS/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/sr_RS/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/sr_RS/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/sr_RS/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/sr_RS/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/sr_RS/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/sr_RS/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/sr_RS/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/sr_RS/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/sr_RS/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/de_DE@euro.utf8 891s /tmp/tmp.7SmNNhEBF2/de_DE@euro.utf8/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/de_DE@euro.utf8/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/de_DE@euro.utf8/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/de_DE@euro.utf8/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/de_DE@euro.utf8/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/de_DE@euro.utf8/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/de_DE@euro.utf8/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/de_DE@euro.utf8/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/de_DE@euro.utf8/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/de_DE@euro.utf8/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/de_DE@euro.utf8/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/de_DE@euro.utf8/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/fr_FR.utf8 891s /tmp/tmp.7SmNNhEBF2/fr_FR.utf8/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/fr_FR.utf8/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/fr_FR.utf8/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/fr_FR.utf8/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/fr_FR.utf8/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/fr_FR.utf8/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/fr_FR.utf8/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/fr_FR.utf8/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/fr_FR.utf8/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/fr_FR.utf8/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/fr_FR.utf8/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/fr_FR.utf8/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/tt_RU.utf8 891s /tmp/tmp.7SmNNhEBF2/tt_RU.utf8/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/tt_RU.utf8/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/tt_RU.utf8/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/tt_RU.utf8/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/tt_RU.utf8/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/tt_RU.utf8/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/tt_RU.utf8/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/tt_RU.utf8/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/tt_RU.utf8/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/tt_RU.utf8/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/tt_RU.utf8/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/tt_RU.utf8/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/pl_1..319 891s # Running test: glib/memory-monitor.test 891s PL.iso88592 891s /tmp/tmp.7SmNNhEBF2/pl_PL.iso88592/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/pl_PL.iso88592/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/pl_PL.iso88592/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/pl_PL.iso88592/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/pl_PL.iso88592/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/pl_PL.iso88592/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/pl_PL.iso88592/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/pl_PL.iso88592/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/pl_PL.iso88592/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/pl_PL.iso88592/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/pl_PL.iso88592/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/pl_PL.iso88592/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/ru_RU 891s /tmp/tmp.7SmNNhEBF2/ru_RU/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/ru_RU/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/ru_RU/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/ru_RU/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/ru_RU/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/ru_RU/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/ru_RU/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/ru_RU/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/ru_RU/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/ru_RU/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/ru_RU/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/ru_RU/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/pl_PL.utf8 891s /tmp/tmp.7SmNNhEBF2/pl_PL.utf8/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/pl_PL.utf8/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/pl_PL.utf8/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/pl_PL.utf8/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/pl_PL.utf8/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/pl_PL.utf8/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/pl_PL.utf8/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/pl_PL.utf8/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/pl_PL.utf8/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/pl_PL.utf8/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/pl_PL.utf8/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/pl_PL.utf8/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/en_US 891s /tmp/tmp.7SmNNhEBF2/en_US/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/en_US/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/en_US/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/en_US/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/en_US/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/en_US/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/en_US/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/en_US/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/en_US/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/en_US/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/en_US/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/en_US/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/en_US/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/tr_TR.utf8 891s /tmp/tmp.7SmNNhEBF2/tr_TR.utf8/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/tr_TR.utf8/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/tr_TR.utf8/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/tr_TR.utf8/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/tr_TR.utf8/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/tr_TR.utf8/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/tr_TR.utf8/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/tr_TR.utf8/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/tr_TR.utf8/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/tr_TR.utf8/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/tr_TR.utf8/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/tr_TR.utf8/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/en_GB.utf8 891s /tmp/tmp.7SmNNhEBF2/en_GB.utf8/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/en_GB.utf8/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/en_GB.utf8/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/en_GB.utf8/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/en_GB.utf8/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/en_GB.utf8/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/en_GB.utf8/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/en_GB.utf8/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/en_GB.utf8/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/en_GB.utf8/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/en_GB.utf8/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/en_GB.utf8/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/sv_SE.utf8 891s /tmp/tmp.7SmNNhEBF2/sv_SE.utf8/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/sv_SE.utf8/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/sv_SE.utf8/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/sv_SE.utf8/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/sv_SE.utf8/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/sv_SE.utf8/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/sv_SE.utf8/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/sv_SE.utf8/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/sv_SE.utf8/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/sv_SE.utf8/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/sv_SE.utf8/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/sv_SE.utf8/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/fa_IR 891s /tmp/tmp.7SmNNhEBF2/fa_IR/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/fa_IR/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/fa_IR/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/fa_IR/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/fa_IR/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/fa_IR/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/fa_IR/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/fa_IR/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/fa_IR/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/fa_IR/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/fa_IR/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/fa_IR/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/pl_PL 891s /tmp/tmp.7SmNNhEBF2/pl_PL/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/pl_PL/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/pl_PL/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/pl_PL/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/pl_PL/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/pl_PL/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/pl_PL/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/pl_PL/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/pl_PL/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/pl_PL/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/pl_PL/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/pl_PL/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/tt_RU@iqtelif 891s /tmp/tmp.7SmNNhEBF2/tt_RU@iqtelif/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/tt_RU@iqtelif/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/tt_RU@iqtelif/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/tt_RU@iqtelif/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/tt_RU@iqtelif/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/tt_RU@iqtelif/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/tt_RU@iqtelif/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/tt_RU@iqtelif/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/tt_RU@iqtelif/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/tt_RU@iqtelif/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/tt_RU@iqtelif/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/tt_RU@iqtelif/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/fa_IR.utf8 891s /tmp/tmp.7SmNNhEBF2/fa_IR.utf8/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/fa_IR.utf8/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/fa_IR.utf8/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/fa_IR.utf8/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/fa_IR.utf8/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/fa_IR.utf8/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/fa_IR.utf8/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/fa_IR.utf8/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/fa_IR.utf8/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/fa_IR.utf8/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/fa_IR.utf8/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/fa_IR.utf8/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/tr_TR 891s /tmp/tmp.7SmNNhEBF2/tr_TR/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/tr_TR/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/tr_TR/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/tr_TR/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/tr_TR/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/tr_TR/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/tr_TR/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/tr_TR/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/tr_TR/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/tr_TR/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/tr_TR/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/tr_TR/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/ja_JP.utf8 891s /tmp/tmp.7SmNNhEBF2/ja_JP.utf8/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/ja_JP.utf8/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/ja_JP.utf8/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/ja_JP.utf8/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/ja_JP.utf8/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/ja_JP.utf8/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/ja_JP.utf8/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/ja_JP.utf8/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/ja_JP.utf8/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/ja_JP.utf8/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/ja_JP.utf8/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/ja_JP.utf8/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/ja_JP.eucjp 891s /tmp/tmp.7SmNNhEBF2/ja_JP.eucjp/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/ja_JP.eucjp/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/ja_JP.eucjp/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/ja_JP.eucjp/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/ja_JP.eucjp/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/ja_JP.eucjp/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/ja_JP.eucjp/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/ja_JP.eucjp/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/ja_JP.eucjp/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/ja_JP.eucjp/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/ja_JP.eucjp/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/ja_JP.eucjp/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/es_ES.utf8 891s /tmp/tmp.7SmNNhEBF2/es_ES.utf8/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/es_ES.utf8/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/es_ES.utf8/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/es_ES.utf8/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/es_ES.utf8/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/es_ES.utf8/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/es_ES.utf8/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/es_ES.utf8/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/es_ES.utf8/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/es_ES.utf8/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/es_ES.utf8/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/es_ES.utf8/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/de_DE.utf8 891s /tmp/tmp.7SmNNhEBF2/de_DE.utf8/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/de_DE.utf8/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/de_DE.utf8/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/de_DE.utf8/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/de_DE.utf8/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/de_DE.utf8/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/de_DE.utf8/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/de_DE.utf8/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/de_DE.utf8/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/de_DE.utf8/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/de_DE.utf8/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/de_DE.utf8/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/el_GR.utf8 891s /tmp/tmp.7SmNNhEBF2/el_GR.utf8/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/el_GR.utf8/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/el_GR.utf8/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/el_GR.utf8/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/el_GR.utf8/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/el_GR.utf8/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/el_GR.utf8/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/el_GR.utf8/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/el_GR.utf8/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/el_GR.utf8/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/el_GR.utf8/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/el_GR.utf8/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/de_DE 891s /tmp/tmp.7SmNNhEBF2/de_DE/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/de_DE/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/de_DE/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/de_DE/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/de_DE/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/de_DE/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/de_DE/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/de_DE/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/de_DE/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/de_DE/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/de_DE/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/de_DE/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/hr_HR.utf8 891s /tmp/tmp.7SmNNhEBF2/hr_HR.utf8/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/hr_HR.utf8/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/hr_HR.utf8/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/hr_HR.utf8/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/hr_HR.utf8/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/hr_HR.utf8/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/hr_HR.utf8/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/hr_HR.utf8/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/hr_HR.utf8/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/hr_HR.utf8/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/hr_HR.utf8/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/hr_HR.utf8/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/sr_RS@latin 891s /tmp/tmp.7SmNNhEBF2/sr_RS@latin/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/sr_RS@latin/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/sr_RS@latin/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/sr_RS@latin/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/sr_RS@latin/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/sr_RS@latin/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/sr_RS@latin/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/sr_RS@latin/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/sr_RS@latin/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/sr_RS@latin/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/sr_RS@latin/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/sr_RS@latin/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/ru_RU.utf8 891s /tmp/tmp.7SmNNhEBF2/ru_RU.utf8/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/ru_RU.utf8/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/ru_RU.utf8/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/ru_RU.utf8/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/ru_RU.utf8/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/ru_RU.utf8/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/ru_RU.utf8/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/ru_RU.utf8/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/ru_RU.utf8/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/ru_RU.utf8/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/ru_RU.utf8/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/ru_RU.utf8/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/en_US.utf8 891s /tmp/tmp.7SmNNhEBF2/en_US.utf8/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/en_US.utf8/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/en_US.utf8/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/en_US.utf8/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/en_US.utf8/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/en_US.utf8/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/en_US.utf8/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/en_US.utf8/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/en_US.utf8/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/en_US.utf8/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/en_US.utf8/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/en_US.utf8/LC_CTYPE 891s /tmp/tmp.7SmNNhEBF2/sv_SE 891s /tmp/tmp.7SmNNhEBF2/sv_SE/LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 891s /tmp/tmp.7SmNNhEBF2/sv_SE/LC_PAPER 891s /tmp/tmp.7SmNNhEBF2/sv_SE/LC_TELEPHONE 891s /tmp/tmp.7SmNNhEBF2/sv_SE/LC_NAME 891s /tmp/tmp.7SmNNhEBF2/sv_SE/LC_ADDRESS 891s /tmp/tmp.7SmNNhEBF2/sv_SE/LC_TIME 891s /tmp/tmp.7SmNNhEBF2/sv_SE/LC_MONETARY 891s /tmp/tmp.7SmNNhEBF2/sv_SE/LC_IDENTIFICATION 891s /tmp/tmp.7SmNNhEBF2/sv_SE/LC_COLLATE 891s /tmp/tmp.7SmNNhEBF2/sv_SE/LC_NUMERIC 891s /tmp/tmp.7SmNNhEBF2/sv_SE/LC_MEASUREMENT 891s /tmp/tmp.7SmNNhEBF2/sv_SE/LC_CTYPE 891s TAP version 14 891s # random seed: R02S902f615b7cfee95edc457262e0a0ff99 891s 1..1 891s # Start of memory-monitor tests 891s ok - glib/memory-monitor.test 891s # Running test: glib/properties.test 891s ok - glib/properties.test 891s # Running test: glib/testing.test 891s ok - glib/testing.test 891s # Running test: glib/unicode-encoding.test 891s ok - glib/unicode-encoding.test 891s # Running test: glib/utils-c-89.test 891s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 891s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 891s ok 1 /memory-monitor/default 891s # End of memory-monitor tests 891s TAP version 14 891s # random seed: R02Sda0f601549cda6e0ae51d32a31f1e3d5 891s 1..13 891s # Start of properties tests 891s ok 1 /properties/install 891s ok 2 /properties/install-many 891s ok 3 /properties/notify 891s ok 4 /properties/notify-queue 891s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 891s ok 5 /properties/construct 891s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 891s # Test g_object_get_property with an initialized value 891s # Test g_object_get_property with an uninitialized value 891s # Test g_object_get_property with a transformable value 891s ok 6 /properties/get-property 891s ok 7 /properties/testv_with_no_properties 891s ok 8 /properties/testv_with_valid_properties 891s ok 9 /properties/testv_with_invalid_property_type 891s ok 10 /properties/testv_with_invalid_property_names 891s ok 11 /properties/testv_getv 891s ok 12 /properties/testv_notify_queue 891s # Start of set-property tests 891s # Start of variant tests 891s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 891s ok 13 /properties/set-property/variant/floating 891s # End of variant tests 891s # End of set-property tests 891s # End of properties tests 891s TAP version 14 891s # random seed: R02S328f66cf25764e7eeab4c1ca3f22ed68 891s 1..1 891s # Start of assert tests 891s ok 1 /assert/finalize_object 891s # Start of finalize_object tests 891s # Start of subprocess tests 891s # End of subprocess tests 891s # End of finalize_object tests 891s # End of assert tests 891s TAP version 14 891s # random seed: R02S25f5e3de168ac75fc87541d5d9769e12 891s 1..1 891s # Start of unicode tests 891s ok 1 /unicode/encoding 891s # End of unicode tests 891s TAP version 14 891s # random seed: R02S5a540c249ccf8acd7437af545501eccf 891s 1..40 891s # Start of utils tests 891s ok 1 /utils/language-names 891s ok 2 /utils/locale-variants 891s ok 3 /utils/version 891s ok 4 /utils/appname 891s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 891s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 891s ok 5 /utils/prgname-thread-safety 891s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 891s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 891s ok 6 /utils/tmpdir 891s ok 7 /utils/basic_bits 891s ok 8 /utils/bits 891s ok 9 /utils/swap 891s ok 10 /utils/find-program 891s ok 11 /utils/find-program-for-path 891s ok 12 /utils/debug 891s ok 13 /utils/codeset 891s ok 14 /utils/codeset2 891s ok 15 /utils/console-charset 891s ok 16 /utils/gettext 891s ok 17 /utils/username 891s ok 18 /utils/realname 891s ok 19 /utils/hostname 891s ok 20 /utils/xdgdirs 891s ok 21 /utils/specialdir 891s # NAME: Ubuntu 891s ok 22 /utils/os-info 891s ok 23 /utils/clear-pointer 891s ok 24 /utils/clear-pointer-cast 891s ok 25 /utils/take-pointer 891s ok 26 /utils/clear-source 891s ok 27 /utils/misc-mem 891s # /utils/aligned-mem summary: Aligned memory allocator 891s # Alignment must not be zero 891s # Alignment must be a power of two 891s # Alignment must be a multiple of sizeof(void*) 891s ok 28 /utils/aligned-mem 891s # /utils/free-sized summary: Check that g_free_sized() works 891s ok 29 /utils/free-sized 891s ok 30 /utils/nullify 891s ok - glib/utils-c-89.test 891s # Running test: glib/dataset.test 891s ok - glib/dataset.test 891s # Running test: glib/unix.test 891s ok 31 /utils/atexit 891s ok 32 /utils/check-setuid 891s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 891s ok 33 /utils/int-limits 891s ok 34 /utils/clear-list 891s ok 35 /utils/clear-slist 891s # Start of specialdir tests 891s ok 36 /utils/specialdir/desktop 891s # End of specialdir tests 891s # Start of clear-pointer tests 891s ok 37 /utils/clear-pointer/side-effects 891s # End of clear-pointer tests 891s # Start of aligned-mem tests 891s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 891s ok 38 /utils/aligned-mem/alignment 891s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 891s ok 39 /utils/aligned-mem/zeroed 891s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 891s ok 40 /utils/aligned-mem/free-sized 891s # Start of subprocess tests 891s # End of subprocess tests 891s # End of aligned-mem tests 891s # End of utils tests 891s TAP version 14 891s # random seed: R02Se48dccedf04f6f439218418299a1acea 891s 1..14 891s # Start of quark tests 891s ok 1 /quark/basic 891s ok 2 /quark/string 891s # End of quark tests 891s # Start of dataset tests 891s ok 3 /dataset/basic 891s ok 4 /dataset/id 891s ok 5 /dataset/full 891s ok 6 /dataset/foreach 891s ok 7 /dataset/destroy 891s # End of dataset tests 891s # Start of datalist tests 891s ok 8 /datalist/basic 891s ok 9 /datalist/id 891s ok 10 /datalist/recursive-clear 891s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 891s ok 11 /datalist/id-remove-multiple 891s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 891s ok 12 /datalist/id-remove-multiple-destroy-order 891s ok 13 /datalist/update-atomic 891s # Start of id-remove-multiple tests 891s ok 14 /datalist/id-remove-multiple/resize 891s # End of id-remove-multiple tests 891s # End of datalist tests 891s TAP version 14 891s # random seed: R02Se173c53e765ec5eaa9a3bffc1d505df1 891s 1..20 891s # Start of glib-unix tests 891s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 891s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 891s ok 1 /glib-unix/closefrom 891s ok 2 /glib-unix/pipe 891s # /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 891s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 891s ok 3 /glib-unix/pipe-stdio-overwrite 891s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 891s ok 4 /glib-unix/pipe-struct 891s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 891s ok 5 /glib-unix/pipe-struct-auto 891s ok 6 /glib-unix/error 891s ok 7 /glib-unix/nonblocking 891s ok 8 /glib-unix/sighup 891s # slow test /glib-unix/sighup executed in 0.50 secs 892s ok 9 /glib-unix/sigterm 892s # slow test /glib-unix/sigterm executed in 0.50 secs 892s ok 10 /glib-unix/sighup_again 892s # slow test /glib-unix/sighup_again executed in 0.50 secs 892s ok 11 /glib-unix/sighup_add_remove 892s ok 12 /glib-unix/sighup_nested 894s ok 13 /glib-unix/callback_after_signal 894s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 894s ok 14 /glib-unix/child-wait 894s # Start of closefrom tests 894s # Start of subprocess tests 894s # End of subprocess tests 894s # End of closefrom tests 894s # Start of pipe tests 894s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 894s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 894s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 894s ok 15 /glib-unix/pipe/fd-cloexec 894s # End of pipe tests 894s # Start of sighup tests 895s ok 16 /glib-unix/sighup/alternate-stack 895s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 895s # End of sighup tests 895s # Start of sigterm tests 896s # Executing: glib/unix.test 896s ok 17 /glib-unix/sigterm/alternate-stack 896s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 896s # End of sigterm tests 896s # Start of sighup_again tests 897s ok 18 /glib-unix/sighup_again/alternate-stack 897s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 897s # End of sighup_again tests 897s # Start of get-passwd-entry tests 897s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 897s ok 19 /glib-unix/get-passwd-entry/root 897s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 897s ok 20 /glib-unix/get-passwd-entry/nonexistent 897s # End of get-passwd-entry tests 897s # End of glib-unix tests 897s ok - glib/unix.test 897s # Running test: glib/portal-support-flatpak-none.test 897s TAP version 14 897s # random seed: R02Sbfe2b4dbba8366927ecdbe52fccfdae2 897s 1..1 897s # Start of portal-support tests 897s # Start of flatpak tests 897s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_BH3D02/portal-support/flatpak/none/.dirs/home 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_BH3D02/portal-support/flatpak/none/.dirs/cache 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_BH3D02/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_BH3D02/portal-support/flatpak/none/.dirs/system-config2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_BH3D02/portal-support/flatpak/none/.dirs/config 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_BH3D02/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_BH3D02/portal-support/flatpak/none/.dirs/system-data2 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_BH3D02/portal-support/flatpak/none/.dirs/data 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_BH3D02/portal-support/flatpak/none/.dirs/state 897s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_BH3D02/portal-support/flatpak/none/.dirs/runtime 897s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_BH3D02/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 897s ok 1 /portal-support/flatpak/none 897s # End of flatpak tests 897s # End of portal-support tests 897s ok - glib/portal-support-flatpak-none.test 897s TAP version 14 897s # random seed: R02Se81d32b4176bc008459378609b34efeb 897s 1..22 897s # Start of snprintf tests 897s ok 1 /snprintf/retval-and-trunc 897s ok 2 /snprintf/%d 897s ok 3 /snprintf/%d-invalid 897s ok 4 /snprintf/%o 897s ok 5 /snprintf/%u 897s ok 6 /snprintf/%x 897s ok 7 /snprintf/%X 897s ok 8 /snprintf/%f 897s ok 9 /snprintf/%e 897s ok 10 /snprintf/%c 897s ok 11 /snprintf/%s 897s ok 12 /snprintf/%n 897s ok 13 /snprintf/test-percent 897s ok 14 /snprintf/test-positional-params 897s ok 15 /snprintf/test-64bit 897s # End of snprintf tests 897s # Start of printf tests 897s # Running test: glib/test-printf.test 897s ok - glib/test-printf.test 897s # Running test: glib/codegen.py.test 897s ok 16 /printf/test-percent 897s ok 17 /printf/test-positional-params 897s ok 18 /printf/test-64bit 897s # Start of test-64bit tests 897s # Start of subprocess tests 897s # End of subprocess tests 897s # End of test-64bit tests 897s # End of printf tests 897s # Start of sprintf tests 897s ok 19 /sprintf/test-positional-params 897s ok 20 /sprintf/upper-bound 897s # End of sprintf tests 897s # Start of vasprintf tests 897s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 897s ok 21 /vasprintf/invalid-format-placeholder 897s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 897s ok 22 /vasprintf/invalid-wide-string 897s # End of vasprintf tests 898s TAP version 13 898s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 898s # tmpdir: /tmp/tmp4_joo2m9 898s # codegen: /usr/bin/gdbus-codegen 898s # /tmp/tmp4_joo2m9/tmpzvps84xk.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4_joo2m9/tmpzvps84xk.xml', '--output', '-', '--header'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: /* 898s # * This file is generated by gdbus-codegen, do not modify it. 898s # * 898s # * The license of this code is the same as for the D-Bus interface description 898s # * it was derived from. Note that it links to GLib, so must comply with the 898s # * LGPL linking clauses. 898s # */ 898s # 898s # #ifndef __STDOUT__ 898s # #define __STDOUT__ 898s # 898s # #include 898s # 898s # G_BEGIN_DECLS 898s # 898s # 898s # /* ------------------------------------------------------------------------ */ 898s # /* Declarations for org.project.UsefulInterface */ 898s # 898s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 898s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 898s # 898s # struct _OrgProjectUsefulInterface; 898s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 898s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 898s # 898s # struct _OrgProjectUsefulInterfaceIface 898s # { 898s # GTypeInterface parent_iface; 898s # 898s # gboolean (*handle_useful_method) ( 898s # OrgProjectUsefulInterface *object, 898s # GDBusMethodInvocation *invocation); 898s # 898s # }; 898s # 898s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 898s # 898s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 898s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 898s # 898s # 898s # /* D-Bus method call completion functions: */ 898s # void org_project_useful_interface_complete_useful_method ( 898s # OrgProjectUsefulInterface *object, 898s # GDBusMethodInvocation *invocation); 898s # 898s # 898s # 898s # /* D-Bus method calls: */ 898s # void org_project_useful_interface_call_useful_method ( 898s # OrgProjectUsefulInterface *proxy, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data); 898s # 898s # gboolean org_project_useful_interface_call_useful_method_finish ( 898s # OrgProjectUsefulInterface *proxy, 898s # GAsyncResult *res, 898s # GError **error); 898s # 898s # gboolean org_project_useful_interface_call_useful_method_sync ( 898s # OrgProjectUsefulInterface *proxy, 898s # GCancellable *cancellable, 898s # GError **error); 898s # 898s # 898s # 898s # /* ---- */ 898s # 898s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 898s # 898s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 898s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 898s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 898s # 898s # struct _OrgProjectUsefulInterfaceProxy 898s # { 898s # /*< private >*/ 898s # GDBusProxy parent_instance; 898s # OrgProjectUsefulInterfaceProxyPrivate *priv; 898s # }; 898s # 898s # struct _OrgProjectUsefulInterfaceProxyClass 898s # { 898s # GDBusProxyClass parent_class; 898s # }; 898s # 898s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 898s # 898s # #if GLIB_CHECK_VERSION(2, 44, 0) 898s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 898s # #endif 898s # 898s # void org_project_useful_interface_proxy_new ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 898s # GAsyncResult *res, 898s # GError **error); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error); 898s # 898s # void org_project_useful_interface_proxy_new_for_bus ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 898s # GAsyncResult *res, 898s # GError **error); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error); 898s # 898s # 898s # /* ---- */ 898s # 898s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 898s # 898s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 898s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 898s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 898s # 898s # struct _OrgProjectUsefulInterfaceSkeleton 898s # { 898s # /*< private >*/ 898s # GDBusInterfaceSkeleton parent_instance; 898s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 898s # }; 898s # 898s # struct _OrgProjectUsefulInterfaceSkeletonClass 898s # { 898s # GDBusInterfaceSkeletonClass parent_class; 898s # }; 898s # 898s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 898s # 898s # #if GLIB_CHECK_VERSION(2, 44, 0) 898s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 898s # #endif 898s # 898s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 898s # 898s # 898s # G_END_DECLS 898s # 898s # #endif /* __STDOUT__ */ 898s # /tmp/tmp4_joo2m9/tmpmlvcntud.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4_joo2m9/tmpmlvcntud.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: /* 898s # * This file is generated by gdbus-codegen, do not modify it. 898s # * 898s # * The license of this code is the same as for the D-Bus interface description 898s # * it was derived from. Note that it links to GLib, so must comply with the 898s # * LGPL linking clauses. 898s # */ 898s # 898s # #ifndef __STDOUT__ 898s # #define __STDOUT__ 898s # 898s # #include 898s # 898s # G_BEGIN_DECLS 898s # 898s # 898s # /* ------------------------------------------------------------------------ */ 898s # /* Declarations for org.project.UsefulInterface */ 898s # 898s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 898s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 898s # 898s # struct _OrgProjectUsefulInterface; 898s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 898s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 898s # 898s # struct _OrgProjectUsefulInterfaceIface 898s # { 898s # GTypeInterface parent_iface; 898s # 898s # gboolean (*handle_useful_method) ( 898s # OrgProjectUsefulInterface *object, 898s # GDBusMethodInvocation *invocation); 898s # 898s # }; 898s # 898s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 898s # 898s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 898s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 898s # 898s # 898s # /* D-Bus method call completion functions: */ 898s # void org_project_useful_interface_complete_useful_method ( 898s # OrgProjectUsefulInterface *object, 898s # GDBusMethodInvocation *invocation); 898s # 898s # 898s # 898s # /* D-Bus method calls: */ 898s # void org_project_useful_interface_call_useful_method ( 898s # OrgProjectUsefulInterface *proxy, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data); 898s # 898s # gboolean org_project_useful_interface_call_useful_method_finish ( 898s # OrgProjectUsefulInterface *proxy, 898s # GAsyncResult *res, 898s # GError **error); 898s # 898s # gboolean org_project_useful_interface_call_useful_method_sync ( 898s # OrgProjectUsefulInterface *proxy, 898s # GCancellable *cancellable, 898s # GError **error); 898s # 898s # 898s # 898s # /* ---- */ 898s # 898s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 898s # 898s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 898s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 898s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 898s # 898s # struct _OrgProjectUsefulInterfaceProxy 898s # { 898s # /*< private >*/ 898s # GDBusProxy parent_instance; 898s # OrgProjectUsefulInterfaceProxyPrivate *priv; 898s # }; 898s # 898s # struct _OrgProjectUsefulInterfaceProxyClass 898s # { 898s # GDBusProxyClass parent_class; 898s # }; 898s # 898s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 898s # 898s # #if GLIB_CHECK_VERSION(2, 44, 0) 898s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 898s # #endif 898s # 898s # void org_project_useful_interface_proxy_new ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 898s # GAsyncResult *res, 898s # GError **error); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error); 898s # 898s # void org_project_useful_interface_proxy_new_for_bus ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 898s # GAsyncResult *res, 898s # GError **error); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error); 898s # 898s # 898s # /* ---- */ 898s # 898s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 898s # 898s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 898s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 898s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 898s # 898s # struct _OrgProjectUsefulInterfaceSkeleton 898s # { 898s # /*< private >*/ 898s # GDBusInterfaceSkeleton parent_instance; 898s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 898s # }; 898s # 898s # struct _OrgProjectUsefulInterfaceSkeletonClass 898s # { 898s # GDBusInterfaceSkeletonClass parent_class; 898s # }; 898s # 898s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 898s # 898s # #if GLIB_CHECK_VERSION(2, 44, 0) 898s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 898s # #endif 898s # 898s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 898s # 898s # 898s # G_END_DECLS 898s # 898s # #endif /* __STDOUT__ */ 898s # /tmp/tmp4_joo2m9/tmp_9gjkp8f.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4_joo2m9/tmp_9gjkp8f.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: /* 898s # * This file is generated by gdbus-codegen, do not modify it. 898s # * 898s # * The license of this code is the same as for the D-Bus interface description 898s # * it was derived from. Note that it links to GLib, so must comply with the 898s # * LGPL linking clauses. 898s # */ 898s # 898s # #ifndef __STDOUT__ 898s # #define __STDOUT__ 898s # 898s # #include 898s # 898s # G_BEGIN_DECLS 898s # 898s # 898s # /* ------------------------------------------------------------------------ */ 898s # /* Declarations for org.project.UsefulInterface */ 898s # 898s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 898s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 898s # 898s # struct _OrgProjectUsefulInterface; 898s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 898s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 898s # 898s # struct _OrgProjectUsefulInterfaceIface 898s # { 898s # GTypeInterface parent_iface; 898s # 898s # gboolean (*handle_useful_method) ( 898s # OrgProjectUsefulInterface *object, 898s # GDBusMethodInvocation *invocation); 898s # 898s # }; 898s # 898s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 898s # 898s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 898s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 898s # 898s # 898s # /* D-Bus method call completion functions: */ 898s # void org_project_useful_interface_complete_useful_method ( 898s # OrgProjectUsefulInterface *object, 898s # GDBusMethodInvocation *invocation); 898s # 898s # 898s # 898s # /* D-Bus method calls: */ 898s # void org_project_useful_interface_call_useful_method ( 898s # OrgProjectUsefulInterface *proxy, 898s # GDBusCallFlags call_flags, 898s # gint timeout_msec, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data); 898s # 898s # gboolean org_project_useful_interface_call_useful_method_finish ( 898s # OrgProjectUsefulInterface *proxy, 898s # GAsyncResult *res, 898s # GError **error); 898s # 898s # gboolean org_project_useful_interface_call_useful_method_sync ( 898s # OrgProjectUsefulInterface *proxy, 898s # GDBusCallFlags call_flags, 898s # gint timeout_msec, 898s # GCancellable *cancellable, 898s # GError **error); 898s # 898s # 898s # 898s # /* ---- */ 898s # 898s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 898s # 898s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 898s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 898s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 898s # 898s # struct _OrgProjectUsefulInterfaceProxy 898s # { 898s # /*< private >*/ 898s # GDBusProxy parent_instance; 898s # OrgProjectUsefulInterfaceProxyPrivate *priv; 898s # }; 898s # 898s # struct _OrgProjectUsefulInterfaceProxyClass 898s # { 898s # GDBusProxyClass parent_class; 898s # }; 898s # 898s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 898s # 898s # #if GLIB_CHECK_VERSION(2, 44, 0) 898s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 898s # #endif 898s # 898s # void org_project_useful_interface_proxy_new ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 898s # GAsyncResult *res, 898s # GError **error); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error); 898s # 898s # void org_project_useful_interface_proxy_new_for_bus ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 898s # GAsyncResult *res, 898s # GError **error); 898s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error); 898s # 898s # 898s # /* ---- */ 898s # 898s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 898s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 898s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 898s # 898s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 898s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 898s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 898s # 898s # struct _OrgProjectUsefulInterfaceSkeleton 898s # { 898s # /*< private >*/ 898s # GDBusInterfaceSkeleton parent_instance; 898s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 898s # }; 898s # 898s # struct _OrgProjectUsefulInterfaceSkeletonClass 898s # { 898s # GDBusInterfaceSkeletonClass parent_class; 898s # }; 898s # 898s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 898s # 898s # #if GLIB_CHECK_VERSION(2, 44, 0) 898s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 898s # #endif 898s # 898s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 898s # 898s # 898s # G_END_DECLS 898s # 898s # #endif /* __STDOUT__ */ 898s ok 2 __main__.TestCodegen.test_dbus_types 898s # tmpdir: /tmp/tmp08kk4xpj 898s # codegen: /usr/bin/gdbus-codegen 898s # /tmp/tmp08kk4xpj/tmp37veko0h.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp08kk4xpj/tmp37veko0h.xml', '--output', '-', '--body'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # /tmp/tmp08kk4xpj/tmprxd391ve.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp08kk4xpj/tmprxd391ve.xml', '--output', '-', '--body'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # /tmp/tmp08kk4xpj/tmpjuyu8tk_.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp08kk4xpj/tmpjuyu8tk_.xml', '--output', '-', '--body'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # /tmp/tmp08kk4xpj/tmpqeocx0ae.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp08kk4xpj/tmpqeocx0ae.xml', '--output', '-', '--body'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # /tmp/tmp08kk4xpj/tmpal2x3f9s.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp08kk4xpj/tmpal2x3f9s.xml', '--output', '-', '--body'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # /tmp/tmp08kk4xpj/tmppvmvfaca.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp08kk4xpj/tmppvmvfaca.xml', '--output', '-', '--body'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # /tmp/tmp08kk4xpj/tmpq96vjyq_.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp08kk4xpj/tmpq96vjyq_.xml', '--output', '-', '--body'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # /tmp/tmp08kk4xpj/tmpf80bgog8.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp08kk4xpj/tmpf80bgog8.xml', '--output', '-', '--body'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # /tmp/tmp08kk4xpj/tmp3dn9mbas.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp08kk4xpj/tmp3dn9mbas.xml', '--output', '-', '--body'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # /tmp/tmp08kk4xpj/tmpx3emn6ve.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp08kk4xpj/tmpx3emn6ve.xml', '--output', '-', '--body'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # /tmp/tmp08kk4xpj/tmpsml12y6t.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp08kk4xpj/tmpsml12y6t.xml', '--output', '-', '--body'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # /tmp/tmp08kk4xpj/tmpg9kdcg_j.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp08kk4xpj/tmpg9kdcg_j.xml', '--output', '-', '--body'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # /tmp/tmp08kk4xpj/tmpjuz1ly44.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp08kk4xpj/tmpjuz1ly44.xml', '--output', '-', '--body'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # /tmp/tmp08kk4xpj/tmpx5z09fq4.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp08kk4xpj/tmpx5z09fq4.xml', '--output', '-', '--body'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: /* 898s # * This file is generated by gdbus-codegen, do not modify it. 898s # * 898s # * The license of this code is the same as for the D-Bus interface description 898s # * it was derived from. Note that it links to GLib, so must comply with the 898s # * LGPL linking clauses. 898s # */ 898s # 898s # #ifdef HAVE_CONFIG_H 898s # # include "config.h" 898s # #endif 898s # 898s # #include 898s # #ifdef G_OS_UNIX 898s # # include 898s # #endif 898s # 898s # #ifdef G_ENABLE_DEBUG 898s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 898s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 898s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 898s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 898s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 898s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 898s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 898s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 898s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 898s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 898s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 898s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 898s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 898s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 898s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 898s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 898s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 898s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 898s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 898s # #else /* !G_ENABLE_DEBUG */ 898s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 898s # * Do not access GValues directly in your code. Instead, use the 898s # * g_value_get_*() functions 898s # */ 898s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 898s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 898s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 898s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 898s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 898s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 898s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 898s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 898s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 898s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 898s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 898s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 898s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 898s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 898s # #endif /* !G_ENABLE_DEBUG */ 898s # 898s # typedef struct 898s # { 898s # GDBusArgInfo parent_struct; 898s # gboolean use_gvariant; 898s # } _ExtendedGDBusArgInfo; 898s # 898s # typedef struct 898s # { 898s # GDBusMethodInfo parent_struct; 898s # const gchar *signal_name; 898s # gboolean pass_fdlist; 898s # } _ExtendedGDBusMethodInfo; 898s # 898s # typedef struct 898s # { 898s # GDBusSignalInfo parent_struct; 898s # const gchar *signal_name; 898s # } _ExtendedGDBusSignalInfo; 898s # 898s # typedef struct 898s # { 898s # GDBusPropertyInfo parent_struct; 898s # const gchar *hyphen_name; 898s # guint use_gvariant : 1; 898s # guint emits_changed_signal : 1; 898s # } _ExtendedGDBusPropertyInfo; 898s # 898s # typedef struct 898s # { 898s # GDBusInterfaceInfo parent_struct; 898s # const gchar *hyphen_name; 898s # } _ExtendedGDBusInterfaceInfo; 898s # 898s # typedef struct 898s # { 898s # const _ExtendedGDBusPropertyInfo *info; 898s # guint prop_id; 898s # GValue orig_value; /* the value before the change */ 898s # } ChangedProperty; 898s # 898s # static void 898s # _changed_property_free (ChangedProperty *data) 898s # { 898s # g_value_unset (&data->orig_value); 898s # g_free (data); 898s # } 898s # 898s # static gboolean 898s # _g_strv_equal0 (gchar **a, gchar **b) 898s # { 898s # gboolean ret = FALSE; 898s # guint n; 898s # if (a == NULL && b == NULL) 898s # { 898s # ret = TRUE; 898s # goto out; 898s # } 898s # if (a == NULL || b == NULL) 898s # goto out; 898s # if (g_strv_length (a) != g_strv_length (b)) 898s # goto out; 898s # for (n = 0; a[n] != NULL; n++) 898s # if (g_strcmp0 (a[n], b[n]) != 0) 898s # goto out; 898s # ret = TRUE; 898s # out: 898s # return ret; 898s # } 898s # 898s # static gboolean 898s # _g_variant_equal0 (GVariant *a, GVariant *b) 898s # { 898s # gboolean ret = FALSE; 898s # if (a == NULL && b == NULL) 898s # { 898s # ret = TRUE; 898s # goto out; 898s # } 898s # if (a == NULL || b == NULL) 898s # goto out; 898s # ret = g_variant_equal (a, b); 898s # out: 898s # return ret; 898s # } 898s # 898s # G_GNUC_UNUSED static gboolean 898s # _g_value_equal (const GValue *a, const GValue *b) 898s # { 898s # gboolean ret = FALSE; 898s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 898s # switch (G_VALUE_TYPE (a)) 898s # { 898s # case G_TYPE_BOOLEAN: 898s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 898s # break; 898s # case G_TYPE_UCHAR: 898s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 898s # break; 898s # case G_TYPE_INT: 898s # ret = (g_value_get_int (a) == g_value_get_int (b)); 898s # break; 898s # case G_TYPE_UINT: 898s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 898s # break; 898s # case G_TYPE_INT64: 898s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 898s # break; 898s # case G_TYPE_UINT64: 898s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 898s # break; 898s # case G_TYPE_DOUBLE: 898s # { 898s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 898s # gdouble da = g_value_get_double (a); 898s # gdouble db = g_value_get_double (b); 898s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 898s # } 898s # break; 898s # case G_TYPE_STRING: 898s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 898s # break; 898s # case G_TYPE_VARIANT: 898s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 898s # break; 898s # default: 898s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 898s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 898s # else 898s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 898s # break; 898s # } 898s # return ret; 898s # } 898s # 898s # /* ------------------------------------------------------------------------ 898s # * Code for interface GoodTypes 898s # * ------------------------------------------------------------------------ 898s # */ 898s # 898s # /** 898s # * SECTION:GoodTypes 898s # * @title: GoodTypes 898s # * @short_description: Generated C code for the GoodTypes D-Bus interface 898s # * 898s # * This section contains code for working with the GoodTypes D-Bus interface in C. 898s # */ 898s # 898s # /* ---- Introspection data for GoodTypes ---- */ 898s # 898s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 898s # { 898s # { 898s # -1, 898s # (gchar *) "GoodPropertyType", 898s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 898s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 898s # NULL 898s # }, 898s # "good-property-type", 898s # FALSE, 898s # TRUE 898s # }; 898s # 898s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 898s # { 898s # &_good_types_property_info_good_property_type.parent_struct, 898s # NULL 898s # }; 898s # 898s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 898s # { 898s # { 898s # -1, 898s # (gchar *) "GoodTypes", 898s # NULL, 898s # NULL, 898s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 898s # NULL 898s # }, 898s # "good-types", 898s # }; 898s # 898s # 898s # /** 898s # * good_types_interface_info: 898s # * 898s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 898s # * 898s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 898s # */ 898s # GDBusInterfaceInfo * 898s # good_types_interface_info (void) 898s # { 898s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 898s # } 898s # 898s # /** 898s # * good_types_override_properties: 898s # * @klass: The class structure for a #GObject derived class. 898s # * @property_id_begin: The property id to assign to the first overridden property. 898s # * 898s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 898s # * The properties are overridden in the order they are defined. 898s # * 898s # * Returns: The last property id. 898s # */ 898s # guint 898s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 898s # { 898s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 898s # return property_id_begin - 1; 898s # } 898s # 898s # 898s # 898s # /** 898s # * GoodTypes: 898s # * 898s # * Abstract interface type for the D-Bus interface GoodTypes. 898s # */ 898s # 898s # /** 898s # * GoodTypesIface: 898s # * @parent_iface: The parent interface. 898s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 898s # * 898s # * Virtual table for the D-Bus interface GoodTypes. 898s # */ 898s # 898s # typedef GoodTypesIface GoodTypesInterface; 898s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 898s # 898s # static void 898s # good_types_default_init (GoodTypesIface *iface) 898s # { 898s # /* GObject properties for D-Bus properties: */ 898s # /** 898s # * GoodTypes:good-property-type: 898s # * 898s # * Represents the D-Bus property "GoodPropertyType". 898s # * 898s # * 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. 898s # */ 898s # g_object_interface_install_property (iface, 898s # 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)); 898s # } 898s # 898s # /** 898s # * good_types_get_good_property_type: (skip) 898s # * @object: A GoodTypes. 898s # * 898s # * Gets the value of the "GoodPropertyType" D-Bus property. 898s # * 898s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 898s # * 898s # * 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. 898s # * 898s # * 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. 898s # */ 898s # GVariant * 898s # good_types_get_good_property_type (GoodTypes *object) 898s # { 898s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 898s # 898s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 898s # } 898s # 898s # /** 898s # * good_types_dup_good_property_type: (skip) 898s # * @object: A GoodTypes. 898s # * 898s # * Gets a copy of the "GoodPropertyType" D-Bus property. 898s # * 898s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 898s # * 898s # * 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(). 898s # */ 898s # GVariant * 898s # good_types_dup_good_property_type (GoodTypes *object) 898s # { 898s # GVariant *value; 898s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 898s # return value; 898s # } 898s # 898s # /** 898s # * good_types_set_good_property_type: (skip) 898s # * @object: A GoodTypes. 898s # * @value: The value to set. 898s # * 898s # * Sets the "GoodPropertyType" D-Bus property to @value. 898s # * 898s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 898s # */ 898s # void 898s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 898s # { 898s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 898s # } 898s # 898s # /* ------------------------------------------------------------------------ */ 898s # 898s # /** 898s # * GoodTypesProxy: 898s # * 898s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 898s # */ 898s # 898s # /** 898s # * GoodTypesProxyClass: 898s # * @parent_class: The parent class. 898s # * 898s # * Class structure for GoodTypesProxy. 898s # */ 898s # 898s # struct _GoodTypesProxyPrivate 898s # { 898s # GData *qdata; 898s # }; 898s # 898s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 898s # 898s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 898s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 898s # G_ADD_PRIVATE (GoodTypesProxy) 898s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 898s # 898s # #else 898s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 898s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 898s # 898s # #endif 898s # static void 898s # good_types_proxy_finalize (GObject *object) 898s # { 898s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 898s # g_datalist_clear (&proxy->priv->qdata); 898s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 898s # } 898s # 898s # static void 898s # good_types_proxy_get_property (GObject *object, 898s # guint prop_id, 898s # GValue *value, 898s # GParamSpec *pspec G_GNUC_UNUSED) 898s # { 898s # const _ExtendedGDBusPropertyInfo *info; 898s # GVariant *variant; 898s # g_assert (prop_id != 0 && prop_id - 1 < 1); 898s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 898s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 898s # if (info->use_gvariant) 898s # { 898s # g_value_set_variant (value, variant); 898s # } 898s # else 898s # { 898s # if (variant != NULL) 898s # g_dbus_gvariant_to_gvalue (variant, value); 898s # } 898s # if (variant != NULL) 898s # g_variant_unref (variant); 898s # } 898s # 898s # static void 898s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 898s # GAsyncResult *res, 898s # gpointer user_data) 898s # { 898s # const _ExtendedGDBusPropertyInfo *info = user_data; 898s # GError *error; 898s # GVariant *_ret; 898s # error = NULL; 898s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 898s # if (!_ret) 898s # { 898s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 898s # info->parent_struct.name, 898s # error->message, g_quark_to_string (error->domain), error->code); 898s # g_error_free (error); 898s # } 898s # else 898s # { 898s # g_variant_unref (_ret); 898s # } 898s # } 898s # 898s # static void 898s # good_types_proxy_set_property (GObject *object, 898s # guint prop_id, 898s # const GValue *value, 898s # GParamSpec *pspec G_GNUC_UNUSED) 898s # { 898s # const _ExtendedGDBusPropertyInfo *info; 898s # GVariant *variant; 898s # g_assert (prop_id != 0 && prop_id - 1 < 1); 898s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 898s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 898s # g_dbus_proxy_call (G_DBUS_PROXY (object), 898s # "org.freedesktop.DBus.Properties.Set", 898s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 898s # G_DBUS_CALL_FLAGS_NONE, 898s # -1, 898s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 898s # g_variant_unref (variant); 898s # } 898s # 898s # static void 898s # good_types_proxy_g_signal (GDBusProxy *proxy, 898s # const gchar *sender_name G_GNUC_UNUSED, 898s # const gchar *signal_name, 898s # GVariant *parameters) 898s # { 898s # _ExtendedGDBusSignalInfo *info; 898s # GVariantIter iter; 898s # GVariant *child; 898s # GValue *paramv; 898s # gsize num_params; 898s # gsize n; 898s # guint signal_id; 898s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 898s # if (info == NULL) 898s # return; 898s # num_params = g_variant_n_children (parameters); 898s # paramv = g_new0 (GValue, num_params + 1); 898s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 898s # g_value_set_object (¶mv[0], proxy); 898s # g_variant_iter_init (&iter, parameters); 898s # n = 1; 898s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 898s # { 898s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 898s # if (arg_info->use_gvariant) 898s # { 898s # g_value_init (¶mv[n], G_TYPE_VARIANT); 898s # g_value_set_variant (¶mv[n], child); 898s # n++; 898s # } 898s # else 898s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 898s # g_variant_unref (child); 898s # } 898s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 898s # g_signal_emitv (paramv, signal_id, 0, NULL); 898s # for (n = 0; n < num_params + 1; n++) 898s # g_value_unset (¶mv[n]); 898s # g_free (paramv); 898s # } 898s # 898s # static void 898s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 898s # GVariant *changed_properties, 898s # const gchar *const *invalidated_properties) 898s # { 898s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 898s # guint n; 898s # const gchar *key; 898s # GVariantIter *iter; 898s # _ExtendedGDBusPropertyInfo *info; 898s # g_variant_get (changed_properties, "a{sv}", &iter); 898s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 898s # { 898s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 898s # g_datalist_remove_data (&proxy->priv->qdata, key); 898s # if (info != NULL) 898s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 898s # } 898s # g_variant_iter_free (iter); 898s # for (n = 0; invalidated_properties[n] != NULL; n++) 898s # { 898s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 898s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 898s # if (info != NULL) 898s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 898s # } 898s # } 898s # 898s # static GVariant * 898s # good_types_proxy_get_good_property_type (GoodTypes *object) 898s # { 898s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 898s # GVariant *variant; 898s # GVariant *value = NULL; 898s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 898s # value = variant; 898s # if (variant != NULL) 898s # g_variant_unref (variant); 898s # return value; 898s # } 898s # 898s # static void 898s # good_types_proxy_init (GoodTypesProxy *proxy) 898s # { 898s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 898s # proxy->priv = good_types_proxy_get_instance_private (proxy); 898s # #else 898s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 898s # #endif 898s # 898s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 898s # } 898s # 898s # static void 898s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 898s # { 898s # GObjectClass *gobject_class; 898s # GDBusProxyClass *proxy_class; 898s # 898s # gobject_class = G_OBJECT_CLASS (klass); 898s # gobject_class->finalize = good_types_proxy_finalize; 898s # gobject_class->get_property = good_types_proxy_get_property; 898s # gobject_class->set_property = good_types_proxy_set_property; 898s # 898s # proxy_class = G_DBUS_PROXY_CLASS (klass); 898s # proxy_class->g_signal = good_types_proxy_g_signal; 898s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 898s # 898s # good_types_override_properties (gobject_class, 1); 898s # 898s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 898s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 898s # #endif 898s # } 898s # 898s # static void 898s # good_types_proxy_iface_init (GoodTypesIface *iface) 898s # { 898s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 898s # } 898s # 898s # /** 898s # * good_types_proxy_new: 898s # * @connection: A #GDBusConnection. 898s # * @flags: Flags from the #GDBusProxyFlags enumeration. 898s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 898s # * @object_path: An object path. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 898s # * @user_data: User data to pass to @callback. 898s # * 898s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 898s # * 898s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 898s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 898s # * 898s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 898s # */ 898s # void 898s # good_types_proxy_new ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data) 898s # { 898s # 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); 898s # } 898s # 898s # /** 898s # * good_types_proxy_new_finish: 898s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 898s # * @error: Return location for error or %NULL 898s # * 898s # * Finishes an operation started with good_types_proxy_new(). 898s # * 898s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 898s # */ 898s # GoodTypes * 898s # good_types_proxy_new_finish ( 898s # GAsyncResult *res, 898s # GError **error) 898s # { 898s # GObject *ret; 898s # GObject *source_object; 898s # source_object = g_async_result_get_source_object (res); 898s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 898s # g_object_unref (source_object); 898s # if (ret != NULL) 898s # return GOOD_TYPES (ret); 898s # else 898s # return NULL; 898s # } 898s # 898s # /** 898s # * good_types_proxy_new_sync: 898s # * @connection: A #GDBusConnection. 898s # * @flags: Flags from the #GDBusProxyFlags enumeration. 898s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 898s # * @object_path: An object path. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @error: Return location for error or %NULL 898s # * 898s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 898s # * 898s # * The calling thread is blocked until a reply is received. 898s # * 898s # * See good_types_proxy_new() for the asynchronous version of this constructor. 898s # * 898s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 898s # */ 898s # GoodTypes * 898s # good_types_proxy_new_sync ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error) 898s # { 898s # GInitable *ret; 898s # 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); 898s # if (ret != NULL) 898s # return GOOD_TYPES (ret); 898s # else 898s # return NULL; 898s # } 898s # 898s # 898s # /** 898s # * good_types_proxy_new_for_bus: 898s # * @bus_type: A #GBusType. 898s # * @flags: Flags from the #GDBusProxyFlags enumeration. 898s # * @name: A bus name (well-known or unique). 898s # * @object_path: An object path. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 898s # * @user_data: User data to pass to @callback. 898s # * 898s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 898s # * 898s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 898s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 898s # * 898s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 898s # */ 898s # void 898s # good_types_proxy_new_for_bus ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data) 898s # { 898s # 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); 898s # } 898s # 898s # /** 898s # * good_types_proxy_new_for_bus_finish: 898s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 898s # * @error: Return location for error or %NULL 898s # * 898s # * Finishes an operation started with good_types_proxy_new_for_bus(). 898s # * 898s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 898s # */ 898s # GoodTypes * 898s # good_types_proxy_new_for_bus_finish ( 898s # GAsyncResult *res, 898s # GError **error) 898s # { 898s # GObject *ret; 898s # GObject *source_object; 898s # source_object = g_async_result_get_source_object (res); 898s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 898s # g_object_unref (source_object); 898s # if (ret != NULL) 898s # return GOOD_TYPES (ret); 898s # else 898s # return NULL; 898s # } 898s # 898s # /** 898s # * good_types_proxy_new_for_bus_sync: 898s # * @bus_type: A #GBusType. 898s # * @flags: Flags from the #GDBusProxyFlags enumeration. 898s # * @name: A bus name (well-known or unique). 898s # * @object_path: An object path. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @error: Return location for error or %NULL 898s # * 898s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 898s # * 898s # * The calling thread is blocked until a reply is received. 898s # * 898s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 898s # * 898s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 898s # */ 898s # GoodTypes * 898s # good_types_proxy_new_for_bus_sync ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error) 898s # { 898s # GInitable *ret; 898s # 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); 898s # if (ret != NULL) 898s # return GOOD_TYPES (ret); 898s # else 898s # return NULL; 898s # } 898s # 898s # 898s # /* ------------------------------------------------------------------------ */ 898s # 898s # /** 898s # * GoodTypesSkeleton: 898s # * 898s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 898s # */ 898s # 898s # /** 898s # * GoodTypesSkeletonClass: 898s # * @parent_class: The parent class. 898s # * 898s # * Class structure for GoodTypesSkeleton. 898s # */ 898s # 898s # struct _GoodTypesSkeletonPrivate 898s # { 898s # GValue *properties; 898s # GList *changed_properties; 898s # GSource *changed_properties_idle_source; 898s # GMainContext *context; 898s # GMutex lock; 898s # }; 898s # 898s # static void 898s # _good_types_skeleton_handle_method_call ( 898s # GDBusConnection *connection G_GNUC_UNUSED, 898s # const gchar *sender G_GNUC_UNUSED, 898s # const gchar *object_path G_GNUC_UNUSED, 898s # const gchar *interface_name, 898s # const gchar *method_name, 898s # GVariant *parameters, 898s # GDBusMethodInvocation *invocation, 898s # gpointer user_data) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 898s # _ExtendedGDBusMethodInfo *info; 898s # GVariantIter iter; 898s # GVariant *child; 898s # GValue *paramv; 898s # gsize num_params; 898s # guint num_extra; 898s # gsize n; 898s # guint signal_id; 898s # GValue return_value = G_VALUE_INIT; 898s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 898s # g_assert (info != NULL); 898s # num_params = g_variant_n_children (parameters); 898s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 898s # n = 0; 898s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 898s # g_value_set_object (¶mv[n++], skeleton); 898s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 898s # g_value_set_object (¶mv[n++], invocation); 898s # if (info->pass_fdlist) 898s # { 898s # #ifdef G_OS_UNIX 898s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 898s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 898s # #else 898s # g_assert_not_reached (); 898s # #endif 898s # } 898s # g_variant_iter_init (&iter, parameters); 898s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 898s # { 898s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 898s # if (arg_info->use_gvariant) 898s # { 898s # g_value_init (¶mv[n], G_TYPE_VARIANT); 898s # g_value_set_variant (¶mv[n], child); 898s # n++; 898s # } 898s # else 898s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 898s # g_variant_unref (child); 898s # } 898s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 898s # g_value_init (&return_value, G_TYPE_BOOLEAN); 898s # g_signal_emitv (paramv, signal_id, 0, &return_value); 898s # if (!g_value_get_boolean (&return_value)) 898s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 898s # g_value_unset (&return_value); 898s # for (n = 0; n < num_params + num_extra; n++) 898s # g_value_unset (¶mv[n]); 898s # g_free (paramv); 898s # } 898s # 898s # static GVariant * 898s # _good_types_skeleton_handle_get_property ( 898s # GDBusConnection *connection G_GNUC_UNUSED, 898s # const gchar *sender G_GNUC_UNUSED, 898s # const gchar *object_path G_GNUC_UNUSED, 898s # const gchar *interface_name G_GNUC_UNUSED, 898s # const gchar *property_name, 898s # GError **error, 898s # gpointer user_data) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 898s # GValue value = G_VALUE_INIT; 898s # GParamSpec *pspec; 898s # _ExtendedGDBusPropertyInfo *info; 898s # GVariant *ret; 898s # ret = NULL; 898s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 898s # g_assert (info != NULL); 898s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 898s # if (pspec == NULL) 898s # { 898s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 898s # } 898s # else 898s # { 898s # g_value_init (&value, pspec->value_type); 898s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 898s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 898s # g_value_unset (&value); 898s # } 898s # return ret; 898s # } 898s # 898s # static gboolean 898s # _good_types_skeleton_handle_set_property ( 898s # GDBusConnection *connection G_GNUC_UNUSED, 898s # const gchar *sender G_GNUC_UNUSED, 898s # const gchar *object_path G_GNUC_UNUSED, 898s # const gchar *interface_name G_GNUC_UNUSED, 898s # const gchar *property_name, 898s # GVariant *variant, 898s # GError **error, 898s # gpointer user_data) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 898s # GValue value = G_VALUE_INIT; 898s # GParamSpec *pspec; 898s # _ExtendedGDBusPropertyInfo *info; 898s # gboolean ret; 898s # ret = FALSE; 898s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 898s # g_assert (info != NULL); 898s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 898s # if (pspec == NULL) 898s # { 898s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 898s # } 898s # else 898s # { 898s # if (info->use_gvariant) 898s # g_value_set_variant (&value, variant); 898s # else 898s # g_dbus_gvariant_to_gvalue (variant, &value); 898s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 898s # g_value_unset (&value); 898s # ret = TRUE; 898s # } 898s # return ret; 898s # } 898s # 898s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 898s # { 898s # _good_types_skeleton_handle_method_call, 898s # _good_types_skeleton_handle_get_property, 898s # _good_types_skeleton_handle_set_property, 898s # {NULL} 898s # }; 898s # 898s # static GDBusInterfaceInfo * 898s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 898s # { 898s # return good_types_interface_info (); 898s # } 898s # 898s # static GDBusInterfaceVTable * 898s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 898s # { 898s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 898s # } 898s # 898s # static GVariant * 898s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 898s # 898s # GVariantBuilder builder; 898s # guint n; 898s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 898s # if (_good_types_interface_info.parent_struct.properties == NULL) 898s # goto out; 898s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 898s # { 898s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 898s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 898s # { 898s # GVariant *value; 898s # 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); 898s # if (value != NULL) 898s # { 898s # g_variant_take_ref (value); 898s # g_variant_builder_add (&builder, "{sv}", info->name, value); 898s # g_variant_unref (value); 898s # } 898s # } 898s # } 898s # out: 898s # return g_variant_builder_end (&builder); 898s # } 898s # 898s # static gboolean _good_types_emit_changed (gpointer user_data); 898s # 898s # static void 898s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 898s # gboolean emit_changed = FALSE; 898s # 898s # g_mutex_lock (&skeleton->priv->lock); 898s # if (skeleton->priv->changed_properties_idle_source != NULL) 898s # { 898s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 898s # skeleton->priv->changed_properties_idle_source = NULL; 898s # emit_changed = TRUE; 898s # } 898s # g_mutex_unlock (&skeleton->priv->lock); 898s # 898s # if (emit_changed) 898s # _good_types_emit_changed (skeleton); 898s # } 898s # 898s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 898s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 898s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 898s # G_ADD_PRIVATE (GoodTypesSkeleton) 898s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 898s # 898s # #else 898s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 898s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 898s # 898s # #endif 898s # static void 898s # good_types_skeleton_finalize (GObject *object) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 898s # guint n; 898s # for (n = 0; n < 1; n++) 898s # g_value_unset (&skeleton->priv->properties[n]); 898s # g_free (skeleton->priv->properties); 898s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 898s # if (skeleton->priv->changed_properties_idle_source != NULL) 898s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 898s # g_main_context_unref (skeleton->priv->context); 898s # g_mutex_clear (&skeleton->priv->lock); 898s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 898s # } 898s # 898s # static void 898s # good_types_skeleton_get_property (GObject *object, 898s # guint prop_id, 898s # GValue *value, 898s # GParamSpec *pspec G_GNUC_UNUSED) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 898s # g_assert (prop_id != 0 && prop_id - 1 < 1); 898s # g_mutex_lock (&skeleton->priv->lock); 898s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 898s # g_mutex_unlock (&skeleton->priv->lock); 898s # } 898s # 898s # static gboolean 898s # _good_types_emit_changed (gpointer user_data) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 898s # GList *l; 898s # GVariantBuilder builder; 898s # GVariantBuilder invalidated_builder; 898s # guint num_changes; 898s # 898s # g_mutex_lock (&skeleton->priv->lock); 898s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 898s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 898s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 898s # { 898s # ChangedProperty *cp = l->data; 898s # GVariant *variant; 898s # const GValue *cur_value; 898s # 898s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 898s # if (!_g_value_equal (cur_value, &cp->orig_value)) 898s # { 898s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 898s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 898s # g_variant_unref (variant); 898s # num_changes++; 898s # } 898s # } 898s # if (num_changes > 0) 898s # { 898s # GList *connections, *ll; 898s # GVariant *signal_variant; 898s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 898s # &builder, &invalidated_builder)); 898s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 898s # for (ll = connections; ll != NULL; ll = ll->next) 898s # { 898s # GDBusConnection *connection = ll->data; 898s # 898s # g_dbus_connection_emit_signal (connection, 898s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 898s # "org.freedesktop.DBus.Properties", 898s # "PropertiesChanged", 898s # signal_variant, 898s # NULL); 898s # } 898s # g_variant_unref (signal_variant); 898s # g_list_free_full (connections, g_object_unref); 898s # } 898s # else 898s # { 898s # g_variant_builder_clear (&builder); 898s # g_variant_builder_clear (&invalidated_builder); 898s # } 898s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 898s # skeleton->priv->changed_properties = NULL; 898s # skeleton->priv->changed_properties_idle_source = NULL; 898s # g_mutex_unlock (&skeleton->priv->lock); 898s # return FALSE; 898s # } 898s # 898s # static void 898s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 898s # { 898s # ChangedProperty *cp; 898s # GList *l; 898s # cp = NULL; 898s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 898s # { 898s # ChangedProperty *i_cp = l->data; 898s # if (i_cp->info == info) 898s # { 898s # cp = i_cp; 898s # break; 898s # } 898s # } 898s # if (cp == NULL) 898s # { 898s # cp = g_new0 (ChangedProperty, 1); 898s # cp->prop_id = prop_id; 898s # cp->info = info; 898s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 898s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 898s # g_value_copy (orig_value, &cp->orig_value); 898s # } 898s # } 898s # 898s # static void 898s # good_types_skeleton_notify (GObject *object, 898s # GParamSpec *pspec G_GNUC_UNUSED) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 898s # g_mutex_lock (&skeleton->priv->lock); 898s # if (skeleton->priv->changed_properties != NULL && 898s # skeleton->priv->changed_properties_idle_source == NULL) 898s # { 898s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 898s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 898s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 898s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 898s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 898s # g_source_unref (skeleton->priv->changed_properties_idle_source); 898s # } 898s # g_mutex_unlock (&skeleton->priv->lock); 898s # } 898s # 898s # static void 898s # good_types_skeleton_set_property (GObject *object, 898s # guint prop_id, 898s # const GValue *value, 898s # GParamSpec *pspec) 898s # { 898s # const _ExtendedGDBusPropertyInfo *info; 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 898s # g_assert (prop_id != 0 && prop_id - 1 < 1); 898s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 898s # g_mutex_lock (&skeleton->priv->lock); 898s # g_object_freeze_notify (object); 898s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 898s # { 898s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 898s # info->emits_changed_signal) 898s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 898s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 898s # g_object_notify_by_pspec (object, pspec); 898s # } 898s # g_mutex_unlock (&skeleton->priv->lock); 898s # g_object_thaw_notify (object); 898s # } 898s # 898s # static void 898s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 898s # { 898s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 898s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 898s # #else 898s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 898s # #endif 898s # 898s # g_mutex_init (&skeleton->priv->lock); 898s # skeleton->priv->context = g_main_context_ref_thread_default (); 898s # skeleton->priv->properties = g_new0 (GValue, 1); 898s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 898s # } 898s # 898s # static GVariant * 898s # good_types_skeleton_get_good_property_type (GoodTypes *object) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 898s # GVariant *value; 898s # g_mutex_lock (&skeleton->priv->lock); 898s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 898s # g_mutex_unlock (&skeleton->priv->lock); 898s # return value; 898s # } 898s # 898s # static void 898s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 898s # { 898s # GObjectClass *gobject_class; 898s # GDBusInterfaceSkeletonClass *skeleton_class; 898s # 898s # gobject_class = G_OBJECT_CLASS (klass); 898s # gobject_class->finalize = good_types_skeleton_finalize; 898s # gobject_class->get_property = good_types_skeleton_get_property; 898s # gobject_class->set_property = good_types_skeleton_set_property; 898s # gobject_class->notify = good_types_skeleton_notify; 898s # 898s # 898s # good_types_override_properties (gobject_class, 1); 898s # 898s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 898s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 898s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 898s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 898s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 898s # 898s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 898s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 898s # #endif 898s # } 898s # 898s # static void 898s # good_types_skeleton_iface_init (GoodTypesIface *iface) 898s # { 898s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 898s # } 898s # 898s # /** 898s # * good_types_skeleton_new: 898s # * 898s # * Creates a skeleton object for the D-Bus interface GoodTypes. 898s # * 898s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 898s # */ 898s # GoodTypes * 898s # good_types_skeleton_new (void) 898s # { 898s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 898s # } 898s # /tmp/tmp08kk4xpj/tmpfabbcirp.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp08kk4xpj/tmpfabbcirp.xml', '--output', '-', '--body'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: /* 898s # * This file is generated by gdbus-codegen, do not modify it. 898s # * 898s # * The license of this code is the same as for the D-Bus interface description 898s # * it was derived from. Note that it links to GLib, so must comply with the 898s # * LGPL linking clauses. 898s # */ 898s # 898s # #ifdef HAVE_CONFIG_H 898s # # include "config.h" 898s # #endif 898s # 898s # #include 898s # #ifdef G_OS_UNIX 898s # # include 898s # #endif 898s # 898s # #ifdef G_ENABLE_DEBUG 898s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 898s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 898s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 898s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 898s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 898s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 898s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 898s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 898s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 898s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 898s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 898s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 898s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 898s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 898s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 898s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 898s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 898s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 898s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 898s # #else /* !G_ENABLE_DEBUG */ 898s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 898s # * Do not access GValues directly in your code. Instead, use the 898s # * g_value_get_*() functions 898s # */ 898s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 898s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 898s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 898s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 898s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 898s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 898s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 898s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 898s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 898s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 898s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 898s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 898s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 898s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 898s # #endif /* !G_ENABLE_DEBUG */ 898s # 898s # typedef struct 898s # { 898s # GDBusArgInfo parent_struct; 898s # gboolean use_gvariant; 898s # } _ExtendedGDBusArgInfo; 898s # 898s # typedef struct 898s # { 898s # GDBusMethodInfo parent_struct; 898s # const gchar *signal_name; 898s # gboolean pass_fdlist; 898s # } _ExtendedGDBusMethodInfo; 898s # 898s # typedef struct 898s # { 898s # GDBusSignalInfo parent_struct; 898s # const gchar *signal_name; 898s # } _ExtendedGDBusSignalInfo; 898s # 898s # typedef struct 898s # { 898s # GDBusPropertyInfo parent_struct; 898s # const gchar *hyphen_name; 898s # guint use_gvariant : 1; 898s # guint emits_changed_signal : 1; 898s # } _ExtendedGDBusPropertyInfo; 898s # 898s # typedef struct 898s # { 898s # GDBusInterfaceInfo parent_struct; 898s # const gchar *hyphen_name; 898s # } _ExtendedGDBusInterfaceInfo; 898s # 898s # typedef struct 898s # { 898s # const _ExtendedGDBusPropertyInfo *info; 898s # guint prop_id; 898s # GValue orig_value; /* the value before the change */ 898s # } ChangedProperty; 898s # 898s # static void 898s # _changed_property_free (ChangedProperty *data) 898s # { 898s # g_value_unset (&data->orig_value); 898s # g_free (data); 898s # } 898s # 898s # static gboolean 898s # _g_strv_equal0 (gchar **a, gchar **b) 898s # { 898s # gboolean ret = FALSE; 898s # guint n; 898s # if (a == NULL && b == NULL) 898s # { 898s # ret = TRUE; 898s # goto out; 898s # } 898s # if (a == NULL || b == NULL) 898s # goto out; 898s # if (g_strv_length (a) != g_strv_length (b)) 898s # goto out; 898s # for (n = 0; a[n] != NULL; n++) 898s # if (g_strcmp0 (a[n], b[n]) != 0) 898s # goto out; 898s # ret = TRUE; 898s # out: 898s # return ret; 898s # } 898s # 898s # static gboolean 898s # _g_variant_equal0 (GVariant *a, GVariant *b) 898s # { 898s # gboolean ret = FALSE; 898s # if (a == NULL && b == NULL) 898s # { 898s # ret = TRUE; 898s # goto out; 898s # } 898s # if (a == NULL || b == NULL) 898s # goto out; 898s # ret = g_variant_equal (a, b); 898s # out: 898s # return ret; 898s # } 898s # 898s # G_GNUC_UNUSED static gboolean 898s # _g_value_equal (const GValue *a, const GValue *b) 898s # { 898s # gboolean ret = FALSE; 898s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 898s # switch (G_VALUE_TYPE (a)) 898s # { 898s # case G_TYPE_BOOLEAN: 898s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 898s # break; 898s # case G_TYPE_UCHAR: 898s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 898s # break; 898s # case G_TYPE_INT: 898s # ret = (g_value_get_int (a) == g_value_get_int (b)); 898s # break; 898s # case G_TYPE_UINT: 898s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 898s # break; 898s # case G_TYPE_INT64: 898s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 898s # break; 898s # case G_TYPE_UINT64: 898s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 898s # break; 898s # case G_TYPE_DOUBLE: 898s # { 898s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 898s # gdouble da = g_value_get_double (a); 898s # gdouble db = g_value_get_double (b); 898s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 898s # } 898s # break; 898s # case G_TYPE_STRING: 898s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 898s # break; 898s # case G_TYPE_VARIANT: 898s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 898s # break; 898s # default: 898s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 898s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 898s # else 898s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 898s # break; 898s # } 898s # return ret; 898s # } 898s # 898s # /* ------------------------------------------------------------------------ 898s # * Code for interface GoodTypes 898s # * ------------------------------------------------------------------------ 898s # */ 898s # 898s # /** 898s # * SECTION:GoodTypes 898s # * @title: GoodTypes 898s # * @short_description: Generated C code for the GoodTypes D-Bus interface 898s # * 898s # * This section contains code for working with the GoodTypes D-Bus interface in C. 898s # */ 898s # 898s # /* ---- Introspection data for GoodTypes ---- */ 898s # 898s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 898s # { 898s # { 898s # -1, 898s # (gchar *) "GoodPropertyType", 898s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 898s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 898s # NULL 898s # }, 898s # "good-property-type", 898s # FALSE, 898s # TRUE 898s # }; 898s # 898s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 898s # { 898s # &_good_types_property_info_good_property_type.parent_struct, 898s # NULL 898s # }; 898s # 898s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 898s # { 898s # { 898s # -1, 898s # (gchar *) "GoodTypes", 898s # NULL, 898s # NULL, 898s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 898s # NULL 898s # }, 898s # "good-types", 898s # }; 898s # 898s # 898s # /** 898s # * good_types_interface_info: 898s # * 898s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 898s # * 898s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 898s # */ 898s # GDBusInterfaceInfo * 898s # good_types_interface_info (void) 898s # { 898s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 898s # } 898s # 898s # /** 898s # * good_types_override_properties: 898s # * @klass: The class structure for a #GObject derived class. 898s # * @property_id_begin: The property id to assign to the first overridden property. 898s # * 898s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 898s # * The properties are overridden in the order they are defined. 898s # * 898s # * Returns: The last property id. 898s # */ 898s # guint 898s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 898s # { 898s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 898s # return property_id_begin - 1; 898s # } 898s # 898s # 898s # 898s # /** 898s # * GoodTypes: 898s # * 898s # * Abstract interface type for the D-Bus interface GoodTypes. 898s # */ 898s # 898s # /** 898s # * GoodTypesIface: 898s # * @parent_iface: The parent interface. 898s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 898s # * 898s # * Virtual table for the D-Bus interface GoodTypes. 898s # */ 898s # 898s # typedef GoodTypesIface GoodTypesInterface; 898s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 898s # 898s # static void 898s # good_types_default_init (GoodTypesIface *iface) 898s # { 898s # /* GObject properties for D-Bus properties: */ 898s # /** 898s # * GoodTypes:good-property-type: 898s # * 898s # * Represents the D-Bus property "GoodPropertyType". 898s # * 898s # * 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. 898s # */ 898s # g_object_interface_install_property (iface, 898s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 898s # } 898s # 898s # /** 898s # * good_types_get_good_property_type: (skip) 898s # * @object: A GoodTypes. 898s # * 898s # * Gets the value of the "GoodPropertyType" D-Bus property. 898s # * 898s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 898s # * 898s # * 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. 898s # * 898s # * 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. 898s # */ 898s # GVariant * 898s # good_types_get_good_property_type (GoodTypes *object) 898s # { 898s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 898s # 898s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 898s # } 898s # 898s # /** 898s # * good_types_dup_good_property_type: (skip) 898s # * @object: A GoodTypes. 898s # * 898s # * Gets a copy of the "GoodPropertyType" D-Bus property. 898s # * 898s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 898s # * 898s # * 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(). 898s # */ 898s # GVariant * 898s # good_types_dup_good_property_type (GoodTypes *object) 898s # { 898s # GVariant *value; 898s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 898s # return value; 898s # } 898s # 898s # /** 898s # * good_types_set_good_property_type: (skip) 898s # * @object: A GoodTypes. 898s # * @value: The value to set. 898s # * 898s # * Sets the "GoodPropertyType" D-Bus property to @value. 898s # * 898s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 898s # */ 898s # void 898s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 898s # { 898s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 898s # } 898s # 898s # /* ------------------------------------------------------------------------ */ 898s # 898s # /** 898s # * GoodTypesProxy: 898s # * 898s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 898s # */ 898s # 898s # /** 898s # * GoodTypesProxyClass: 898s # * @parent_class: The parent class. 898s # * 898s # * Class structure for GoodTypesProxy. 898s # */ 898s # 898s # struct _GoodTypesProxyPrivate 898s # { 898s # GData *qdata; 898s # }; 898s # 898s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 898s # 898s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 898s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 898s # G_ADD_PRIVATE (GoodTypesProxy) 898s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 898s # 898s # #else 898s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 898s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 898s # 898s # #endif 898s # static void 898s # good_types_proxy_finalize (GObject *object) 898s # { 898s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 898s # g_datalist_clear (&proxy->priv->qdata); 898s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 898s # } 898s # 898s # static void 898s # good_types_proxy_get_property (GObject *object, 898s # guint prop_id, 898s # GValue *value, 898s # GParamSpec *pspec G_GNUC_UNUSED) 898s # { 898s # const _ExtendedGDBusPropertyInfo *info; 898s # GVariant *variant; 898s # g_assert (prop_id != 0 && prop_id - 1 < 1); 898s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 898s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 898s # if (info->use_gvariant) 898s # { 898s # g_value_set_variant (value, variant); 898s # } 898s # else 898s # { 898s # if (variant != NULL) 898s # g_dbus_gvariant_to_gvalue (variant, value); 898s # } 898s # if (variant != NULL) 898s # g_variant_unref (variant); 898s # } 898s # 898s # static void 898s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 898s # GAsyncResult *res, 898s # gpointer user_data) 898s # { 898s # const _ExtendedGDBusPropertyInfo *info = user_data; 898s # GError *error; 898s # GVariant *_ret; 898s # error = NULL; 898s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 898s # if (!_ret) 898s # { 898s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 898s # info->parent_struct.name, 898s # error->message, g_quark_to_string (error->domain), error->code); 898s # g_error_free (error); 898s # } 898s # else 898s # { 898s # g_variant_unref (_ret); 898s # } 898s # } 898s # 898s # static void 898s # good_types_proxy_set_property (GObject *object, 898s # guint prop_id, 898s # const GValue *value, 898s # GParamSpec *pspec G_GNUC_UNUSED) 898s # { 898s # const _ExtendedGDBusPropertyInfo *info; 898s # GVariant *variant; 898s # g_assert (prop_id != 0 && prop_id - 1 < 1); 898s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 898s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 898s # g_dbus_proxy_call (G_DBUS_PROXY (object), 898s # "org.freedesktop.DBus.Properties.Set", 898s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 898s # G_DBUS_CALL_FLAGS_NONE, 898s # -1, 898s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 898s # g_variant_unref (variant); 898s # } 898s # 898s # static void 898s # good_types_proxy_g_signal (GDBusProxy *proxy, 898s # const gchar *sender_name G_GNUC_UNUSED, 898s # const gchar *signal_name, 898s # GVariant *parameters) 898s # { 898s # _ExtendedGDBusSignalInfo *info; 898s # GVariantIter iter; 898s # GVariant *child; 898s # GValue *paramv; 898s # gsize num_params; 898s # gsize n; 898s # guint signal_id; 898s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 898s # if (info == NULL) 898s # return; 898s # num_params = g_variant_n_children (parameters); 898s # paramv = g_new0 (GValue, num_params + 1); 898s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 898s # g_value_set_object (¶mv[0], proxy); 898s # g_variant_iter_init (&iter, parameters); 898s # n = 1; 898s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 898s # { 898s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 898s # if (arg_info->use_gvariant) 898s # { 898s # g_value_init (¶mv[n], G_TYPE_VARIANT); 898s # g_value_set_variant (¶mv[n], child); 898s # n++; 898s # } 898s # else 898s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 898s # g_variant_unref (child); 898s # } 898s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 898s # g_signal_emitv (paramv, signal_id, 0, NULL); 898s # for (n = 0; n < num_params + 1; n++) 898s # g_value_unset (¶mv[n]); 898s # g_free (paramv); 898s # } 898s # 898s # static void 898s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 898s # GVariant *changed_properties, 898s # const gchar *const *invalidated_properties) 898s # { 898s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 898s # guint n; 898s # const gchar *key; 898s # GVariantIter *iter; 898s # _ExtendedGDBusPropertyInfo *info; 898s # g_variant_get (changed_properties, "a{sv}", &iter); 898s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 898s # { 898s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 898s # g_datalist_remove_data (&proxy->priv->qdata, key); 898s # if (info != NULL) 898s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 898s # } 898s # g_variant_iter_free (iter); 898s # for (n = 0; invalidated_properties[n] != NULL; n++) 898s # { 898s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 898s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 898s # if (info != NULL) 898s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 898s # } 898s # } 898s # 898s # static GVariant * 898s # good_types_proxy_get_good_property_type (GoodTypes *object) 898s # { 898s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 898s # GVariant *variant; 898s # GVariant *value = NULL; 898s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 898s # value = variant; 898s # if (variant != NULL) 898s # g_variant_unref (variant); 898s # return value; 898s # } 898s # 898s # static void 898s # good_types_proxy_init (GoodTypesProxy *proxy) 898s # { 898s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 898s # proxy->priv = good_types_proxy_get_instance_private (proxy); 898s # #else 898s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 898s # #endif 898s # 898s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 898s # } 898s # 898s # static void 898s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 898s # { 898s # GObjectClass *gobject_class; 898s # GDBusProxyClass *proxy_class; 898s # 898s # gobject_class = G_OBJECT_CLASS (klass); 898s # gobject_class->finalize = good_types_proxy_finalize; 898s # gobject_class->get_property = good_types_proxy_get_property; 898s # gobject_class->set_property = good_types_proxy_set_property; 898s # 898s # proxy_class = G_DBUS_PROXY_CLASS (klass); 898s # proxy_class->g_signal = good_types_proxy_g_signal; 898s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 898s # 898s # good_types_override_properties (gobject_class, 1); 898s # 898s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 898s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 898s # #endif 898s # } 898s # 898s # static void 898s # good_types_proxy_iface_init (GoodTypesIface *iface) 898s # { 898s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 898s # } 898s # 898s # /** 898s # * good_types_proxy_new: 898s # * @connection: A #GDBusConnection. 898s # * @flags: Flags from the #GDBusProxyFlags enumeration. 898s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 898s # * @object_path: An object path. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 898s # * @user_data: User data to pass to @callback. 898s # * 898s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 898s # * 898s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 898s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 898s # * 898s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 898s # */ 898s # void 898s # good_types_proxy_new ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data) 898s # { 898s # 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); 898s # } 898s # 898s # /** 898s # * good_types_proxy_new_finish: 898s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 898s # * @error: Return location for error or %NULL 898s # * 898s # * Finishes an operation started with good_types_proxy_new(). 898s # * 898s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 898s # */ 898s # GoodTypes * 898s # good_types_proxy_new_finish ( 898s # GAsyncResult *res, 898s # GError **error) 898s # { 898s # GObject *ret; 898s # GObject *source_object; 898s # source_object = g_async_result_get_source_object (res); 898s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 898s # g_object_unref (source_object); 898s # if (ret != NULL) 898s # return GOOD_TYPES (ret); 898s # else 898s # return NULL; 898s # } 898s # 898s # /** 898s # * good_types_proxy_new_sync: 898s # * @connection: A #GDBusConnection. 898s # * @flags: Flags from the #GDBusProxyFlags enumeration. 898s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 898s # * @object_path: An object path. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @error: Return location for error or %NULL 898s # * 898s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 898s # * 898s # * The calling thread is blocked until a reply is received. 898s # * 898s # * See good_types_proxy_new() for the asynchronous version of this constructor. 898s # * 898s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 898s # */ 898s # GoodTypes * 898s # good_types_proxy_new_sync ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error) 898s # { 898s # GInitable *ret; 898s # 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); 898s # if (ret != NULL) 898s # return GOOD_TYPES (ret); 898s # else 898s # return NULL; 898s # } 898s # 898s # 898s # /** 898s # * good_types_proxy_new_for_bus: 898s # * @bus_type: A #GBusType. 898s # * @flags: Flags from the #GDBusProxyFlags enumeration. 898s # * @name: A bus name (well-known or unique). 898s # * @object_path: An object path. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 898s # * @user_data: User data to pass to @callback. 898s # * 898s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 898s # * 898s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 898s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 898s # * 898s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 898s # */ 898s # void 898s # good_types_proxy_new_for_bus ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data) 898s # { 898s # 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); 898s # } 898s # 898s # /** 898s # * good_types_proxy_new_for_bus_finish: 898s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 898s # * @error: Return location for error or %NULL 898s # * 898s # * Finishes an operation started with good_types_proxy_new_for_bus(). 898s # * 898s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 898s # */ 898s # GoodTypes * 898s # good_types_proxy_new_for_bus_finish ( 898s # GAsyncResult *res, 898s # GError **error) 898s # { 898s # GObject *ret; 898s # GObject *source_object; 898s # source_object = g_async_result_get_source_object (res); 898s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 898s # g_object_unref (source_object); 898s # if (ret != NULL) 898s # return GOOD_TYPES (ret); 898s # else 898s # return NULL; 898s # } 898s # 898s # /** 898s # * good_types_proxy_new_for_bus_sync: 898s # * @bus_type: A #GBusType. 898s # * @flags: Flags from the #GDBusProxyFlags enumeration. 898s # * @name: A bus name (well-known or unique). 898s # * @object_path: An object path. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @error: Return location for error or %NULL 898s # * 898s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 898s # * 898s # * The calling thread is blocked until a reply is received. 898s # * 898s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 898s # * 898s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 898s # */ 898s # GoodTypes * 898s # good_types_proxy_new_for_bus_sync ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error) 898s # { 898s # GInitable *ret; 898s # 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); 898s # if (ret != NULL) 898s # return GOOD_TYPES (ret); 898s # else 898s # return NULL; 898s # } 898s # 898s # 898s # /* ------------------------------------------------------------------------ */ 898s # 898s # /** 898s # * GoodTypesSkeleton: 898s # * 898s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 898s # */ 898s # 898s # /** 898s # * GoodTypesSkeletonClass: 898s # * @parent_class: The parent class. 898s # * 898s # * Class structure for GoodTypesSkeleton. 898s # */ 898s # 898s # struct _GoodTypesSkeletonPrivate 898s # { 898s # GValue *properties; 898s # GList *changed_properties; 898s # GSource *changed_properties_idle_source; 898s # GMainContext *context; 898s # GMutex lock; 898s # }; 898s # 898s # static void 898s # _good_types_skeleton_handle_method_call ( 898s # GDBusConnection *connection G_GNUC_UNUSED, 898s # const gchar *sender G_GNUC_UNUSED, 898s # const gchar *object_path G_GNUC_UNUSED, 898s # const gchar *interface_name, 898s # const gchar *method_name, 898s # GVariant *parameters, 898s # GDBusMethodInvocation *invocation, 898s # gpointer user_data) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 898s # _ExtendedGDBusMethodInfo *info; 898s # GVariantIter iter; 898s # GVariant *child; 898s # GValue *paramv; 898s # gsize num_params; 898s # guint num_extra; 898s # gsize n; 898s # guint signal_id; 898s # GValue return_value = G_VALUE_INIT; 898s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 898s # g_assert (info != NULL); 898s # num_params = g_variant_n_children (parameters); 898s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 898s # n = 0; 898s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 898s # g_value_set_object (¶mv[n++], skeleton); 898s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 898s # g_value_set_object (¶mv[n++], invocation); 898s # if (info->pass_fdlist) 898s # { 898s # #ifdef G_OS_UNIX 898s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 898s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 898s # #else 898s # g_assert_not_reached (); 898s # #endif 898s # } 898s # g_variant_iter_init (&iter, parameters); 898s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 898s # { 898s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 898s # if (arg_info->use_gvariant) 898s # { 898s # g_value_init (¶mv[n], G_TYPE_VARIANT); 898s # g_value_set_variant (¶mv[n], child); 898s # n++; 898s # } 898s # else 898s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 898s # g_variant_unref (child); 898s # } 898s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 898s # g_value_init (&return_value, G_TYPE_BOOLEAN); 898s # g_signal_emitv (paramv, signal_id, 0, &return_value); 898s # if (!g_value_get_boolean (&return_value)) 898s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 898s # g_value_unset (&return_value); 898s # for (n = 0; n < num_params + num_extra; n++) 898s # g_value_unset (¶mv[n]); 898s # g_free (paramv); 898s # } 898s # 898s # static GVariant * 898s # _good_types_skeleton_handle_get_property ( 898s # GDBusConnection *connection G_GNUC_UNUSED, 898s # const gchar *sender G_GNUC_UNUSED, 898s # const gchar *object_path G_GNUC_UNUSED, 898s # const gchar *interface_name G_GNUC_UNUSED, 898s # const gchar *property_name, 898s # GError **error, 898s # gpointer user_data) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 898s # GValue value = G_VALUE_INIT; 898s # GParamSpec *pspec; 898s # _ExtendedGDBusPropertyInfo *info; 898s # GVariant *ret; 898s # ret = NULL; 898s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 898s # g_assert (info != NULL); 898s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 898s # if (pspec == NULL) 898s # { 898s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 898s # } 898s # else 898s # { 898s # g_value_init (&value, pspec->value_type); 898s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 898s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 898s # g_value_unset (&value); 898s # } 898s # return ret; 898s # } 898s # 898s # static gboolean 898s # _good_types_skeleton_handle_set_property ( 898s # GDBusConnection *connection G_GNUC_UNUSED, 898s # const gchar *sender G_GNUC_UNUSED, 898s # const gchar *object_path G_GNUC_UNUSED, 898s # const gchar *interface_name G_GNUC_UNUSED, 898s # const gchar *property_name, 898s # GVariant *variant, 898s # GError **error, 898s # gpointer user_data) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 898s # GValue value = G_VALUE_INIT; 898s # GParamSpec *pspec; 898s # _ExtendedGDBusPropertyInfo *info; 898s # gboolean ret; 898s # ret = FALSE; 898s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 898s # g_assert (info != NULL); 898s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 898s # if (pspec == NULL) 898s # { 898s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 898s # } 898s # else 898s # { 898s # if (info->use_gvariant) 898s # g_value_set_variant (&value, variant); 898s # else 898s # g_dbus_gvariant_to_gvalue (variant, &value); 898s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 898s # g_value_unset (&value); 898s # ret = TRUE; 898s # } 898s # return ret; 898s # } 898s # 898s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 898s # { 898s # _good_types_skeleton_handle_method_call, 898s # _good_types_skeleton_handle_get_property, 898s # _good_types_skeleton_handle_set_property, 898s # {NULL} 898s # }; 898s # 898s # static GDBusInterfaceInfo * 898s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 898s # { 898s # return good_types_interface_info (); 898s # } 898s # 898s # static GDBusInterfaceVTable * 898s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 898s # { 898s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 898s # } 898s # 898s # static GVariant * 898s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 898s # 898s # GVariantBuilder builder; 898s # guint n; 898s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 898s # if (_good_types_interface_info.parent_struct.properties == NULL) 898s # goto out; 898s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 898s # { 898s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 898s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 898s # { 898s # GVariant *value; 898s # 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); 898s # if (value != NULL) 898s # { 898s # g_variant_take_ref (value); 898s # g_variant_builder_add (&builder, "{sv}", info->name, value); 898s # g_variant_unref (value); 898s # } 898s # } 898s # } 898s # out: 898s # return g_variant_builder_end (&builder); 898s # } 898s # 898s # static gboolean _good_types_emit_changed (gpointer user_data); 898s # 898s # static void 898s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 898s # gboolean emit_changed = FALSE; 898s # 898s # g_mutex_lock (&skeleton->priv->lock); 898s # if (skeleton->priv->changed_properties_idle_source != NULL) 898s # { 898s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 898s # skeleton->priv->changed_properties_idle_source = NULL; 898s # emit_changed = TRUE; 898s # } 898s # g_mutex_unlock (&skeleton->priv->lock); 898s # 898s # if (emit_changed) 898s # _good_types_emit_changed (skeleton); 898s # } 898s # 898s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 898s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 898s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 898s # G_ADD_PRIVATE (GoodTypesSkeleton) 898s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 898s # 898s # #else 898s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 898s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 898s # 898s # #endif 898s # static void 898s # good_types_skeleton_finalize (GObject *object) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 898s # guint n; 898s # for (n = 0; n < 1; n++) 898s # g_value_unset (&skeleton->priv->properties[n]); 898s # g_free (skeleton->priv->properties); 898s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 898s # if (skeleton->priv->changed_properties_idle_source != NULL) 898s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 898s # g_main_context_unref (skeleton->priv->context); 898s # g_mutex_clear (&skeleton->priv->lock); 898s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 898s # } 898s # 898s # static void 898s # good_types_skeleton_get_property (GObject *object, 898s # guint prop_id, 898s # GValue *value, 898s # GParamSpec *pspec G_GNUC_UNUSED) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 898s # g_assert (prop_id != 0 && prop_id - 1 < 1); 898s # g_mutex_lock (&skeleton->priv->lock); 898s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 898s # g_mutex_unlock (&skeleton->priv->lock); 898s # } 898s # 898s # static gboolean 898s # _good_types_emit_changed (gpointer user_data) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 898s # GList *l; 898s # GVariantBuilder builder; 898s # GVariantBuilder invalidated_builder; 898s # guint num_changes; 898s # 898s # g_mutex_lock (&skeleton->priv->lock); 898s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 898s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 898s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 898s # { 898s # ChangedProperty *cp = l->data; 898s # GVariant *variant; 898s # const GValue *cur_value; 898s # 898s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 898s # if (!_g_value_equal (cur_value, &cp->orig_value)) 898s # { 898s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 898s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 898s # g_variant_unref (variant); 898s # num_changes++; 898s # } 898s # } 898s # if (num_changes > 0) 898s # { 898s # GList *connections, *ll; 898s # GVariant *signal_variant; 898s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 898s # &builder, &invalidated_builder)); 898s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 898s # for (ll = connections; ll != NULL; ll = ll->next) 898s # { 898s # GDBusConnection *connection = ll->data; 898s # 898s # g_dbus_connection_emit_signal (connection, 898s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 898s # "org.freedesktop.DBus.Properties", 898s # "PropertiesChanged", 898s # signal_variant, 898s # NULL); 898s # } 898s # g_variant_unref (signal_variant); 898s # g_list_free_full (connections, g_object_unref); 898s # } 898s # else 898s # { 898s # g_variant_builder_clear (&builder); 898s # g_variant_builder_clear (&invalidated_builder); 898s # } 898s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 898s # skeleton->priv->changed_properties = NULL; 898s # skeleton->priv->changed_properties_idle_source = NULL; 898s # g_mutex_unlock (&skeleton->priv->lock); 898s # return FALSE; 898s # } 898s # 898s # static void 898s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 898s # { 898s # ChangedProperty *cp; 898s # GList *l; 898s # cp = NULL; 898s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 898s # { 898s # ChangedProperty *i_cp = l->data; 898s # if (i_cp->info == info) 898s # { 898s # cp = i_cp; 898s # break; 898s # } 898s # } 898s # if (cp == NULL) 898s # { 898s # cp = g_new0 (ChangedProperty, 1); 898s # cp->prop_id = prop_id; 898s # cp->info = info; 898s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 898s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 898s # g_value_copy (orig_value, &cp->orig_value); 898s # } 898s # } 898s # 898s # static void 898s # good_types_skeleton_notify (GObject *object, 898s # GParamSpec *pspec G_GNUC_UNUSED) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 898s # g_mutex_lock (&skeleton->priv->lock); 898s # if (skeleton->priv->changed_properties != NULL && 898s # skeleton->priv->changed_properties_idle_source == NULL) 898s # { 898s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 898s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 898s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 898s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 898s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 898s # g_source_unref (skeleton->priv->changed_properties_idle_source); 898s # } 898s # g_mutex_unlock (&skeleton->priv->lock); 898s # } 898s # 898s # static void 898s # good_types_skeleton_set_property (GObject *object, 898s # guint prop_id, 898s # const GValue *value, 898s # GParamSpec *pspec) 898s # { 898s # const _ExtendedGDBusPropertyInfo *info; 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 898s # g_assert (prop_id != 0 && prop_id - 1 < 1); 898s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 898s # g_mutex_lock (&skeleton->priv->lock); 898s # g_object_freeze_notify (object); 898s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 898s # { 898s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 898s # info->emits_changed_signal) 898s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 898s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 898s # g_object_notify_by_pspec (object, pspec); 898s # } 898s # g_mutex_unlock (&skeleton->priv->lock); 898s # g_object_thaw_notify (object); 898s # } 898s # 898s # static void 898s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 898s # { 898s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 898s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 898s # #else 898s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 898s # #endif 898s # 898s # g_mutex_init (&skeleton->priv->lock); 898s # skeleton->priv->context = g_main_context_ref_thread_default (); 898s # skeleton->priv->properties = g_new0 (GValue, 1); 898s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 898s # } 898s # 898s # static GVariant * 898s # good_types_skeleton_get_good_property_type (GoodTypes *object) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 898s # GVariant *value; 898s # g_mutex_lock (&skeleton->priv->lock); 898s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 898s # g_mutex_unlock (&skeleton->priv->lock); 898s # return value; 898s # } 898s # 898s # static void 898s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 898s # { 898s # GObjectClass *gobject_class; 898s # GDBusInterfaceSkeletonClass *skeleton_class; 898s # 898s # gobject_class = G_OBJECT_CLASS (klass); 898s # gobject_class->finalize = good_types_skeleton_finalize; 898s # gobject_class->get_property = good_types_skeleton_get_property; 898s # gobject_class->set_property = good_types_skeleton_set_property; 898s # gobject_class->notify = good_types_skeleton_notify; 898s # 898s # 898s # good_types_override_properties (gobject_class, 1); 898s # 898s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 898s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 898s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 898s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 898s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 898s # 898s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 898s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 898s # #endif 898s # } 898s # 898s # static void 898s # good_types_skeleton_iface_init (GoodTypesIface *iface) 898s # { 898s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 898s # } 898s # 898s # /** 898s # * good_types_skeleton_new: 898s # * 898s # * Creates a skeleton object for the D-Bus interface GoodTypes. 898s # * 898s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 898s # */ 898s # GoodTypes * 898s # good_types_skeleton_new (void) 898s # { 898s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 898s # } 898s # /tmp/tmp08kk4xpj/tmpubkmq442.xml: 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp08kk4xpj/tmpubkmq442.xml', '--output', '-', '--body'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: /* 898s # * This file is generated by gdbus-codegen, do not modify it. 898s # * 898s # * The license of this code is the same as for the D-Bus interface description 898s # * it was derived from. Note that it links to GLib, so must comply with the 898s # * LGPL linking clauses. 898s # */ 898s # 898s # #ifdef HAVE_CONFIG_H 898s # # include "config.h" 898s # #endif 898s # 898s # #include 898s # #ifdef G_OS_UNIX 898s # # include 898s # #endif 898s # 898s # #ifdef G_ENABLE_DEBUG 898s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 898s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 898s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 898s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 898s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 898s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 898s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 898s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 898s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 898s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 898s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 898s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 898s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 898s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 898s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 898s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 898s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 898s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 898s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 898s # #else /* !G_ENABLE_DEBUG */ 898s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 898s # * Do not access GValues directly in your code. Instead, use the 898s # * g_value_get_*() functions 898s # */ 898s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 898s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 898s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 898s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 898s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 898s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 898s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 898s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 898s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 898s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 898s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 898s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 898s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 898s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 898s # #endif /* !G_ENABLE_DEBUG */ 898s # 898s # typedef struct 898s # { 898s # GDBusArgInfo parent_struct; 898s # gboolean use_gvariant; 898s # } _ExtendedGDBusArgInfo; 898s # 898s # typedef struct 898s # { 898s # GDBusMethodInfo parent_struct; 898s # const gchar *signal_name; 898s # gboolean pass_fdlist; 898s # } _ExtendedGDBusMethodInfo; 898s # 898s # typedef struct 898s # { 898s # GDBusSignalInfo parent_struct; 898s # const gchar *signal_name; 898s # } _ExtendedGDBusSignalInfo; 898s # 898s # typedef struct 898s # { 898s # GDBusPropertyInfo parent_struct; 898s # const gchar *hyphen_name; 898s # guint use_gvariant : 1; 898s # guint emits_changed_signal : 1; 898s # } _ExtendedGDBusPropertyInfo; 898s # 898s # typedef struct 898s # { 898s # GDBusInterfaceInfo parent_struct; 898s # const gchar *hyphen_name; 898s # } _ExtendedGDBusInterfaceInfo; 898s # 898s # typedef struct 898s # { 898s # const _ExtendedGDBusPropertyInfo *info; 898s # guint prop_id; 898s # GValue orig_value; /* the value before the change */ 898s # } ChangedProperty; 898s # 898s # static void 898s # _changed_property_free (ChangedProperty *data) 898s # { 898s # g_value_unset (&data->orig_value); 898s # g_free (data); 898s # } 898s # 898s # static gboolean 898s # _g_strv_equal0 (gchar **a, gchar **b) 898s # { 898s # gboolean ret = FALSE; 898s # guint n; 898s # if (a == NULL && b == NULL) 898s # { 898s # ret = TRUE; 898s # goto out; 898s # } 898s # if (a == NULL || b == NULL) 898s # goto out; 898s # if (g_strv_length (a) != g_strv_length (b)) 898s # goto out; 898s # for (n = 0; a[n] != NULL; n++) 898s # if (g_strcmp0 (a[n], b[n]) != 0) 898s # goto out; 898s # ret = TRUE; 898s # out: 898s # return ret; 898s # } 898s # 898s # static gboolean 898s # _g_variant_equal0 (GVariant *a, GVariant *b) 898s # { 898s # gboolean ret = FALSE; 898s # if (a == NULL && b == NULL) 898s # { 898s # ret = TRUE; 898s # goto out; 898s # } 898s # if (a == NULL || b == NULL) 898s # goto out; 898s # ret = g_variant_equal (a, b); 898s # out: 898s # return ret; 898s # } 898s # 898s # G_GNUC_UNUSED static gboolean 898s # _g_value_equal (const GValue *a, const GValue *b) 898s # { 898s # gboolean ret = FALSE; 898s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 898s # switch (G_VALUE_TYPE (a)) 898s # { 898s # case G_TYPE_BOOLEAN: 898s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 898s # break; 898s # case G_TYPE_UCHAR: 898s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 898s # break; 898s # case G_TYPE_INT: 898s # ret = (g_value_get_int (a) == g_value_get_int (b)); 898s # break; 898s # case G_TYPE_UINT: 898s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 898s # break; 898s # case G_TYPE_INT64: 898s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 898s # break; 898s # case G_TYPE_UINT64: 898s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 898s # break; 898s # case G_TYPE_DOUBLE: 898s # { 898s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 898s # gdouble da = g_value_get_double (a); 898s # gdouble db = g_value_get_double (b); 898s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 898s # } 898s # break; 898s # case G_TYPE_STRING: 898s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 898s # break; 898s # case G_TYPE_VARIANT: 898s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 898s # break; 898s # default: 898s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 898s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 898s # else 898s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 898s # break; 898s # } 898s # return ret; 898s # } 898s # 898s # /* ------------------------------------------------------------------------ 898s # * Code for interface GoodTypes 898s # * ------------------------------------------------------------------------ 898s # */ 898s # 898s # /** 898s # * SECTION:GoodTypes 898s # * @title: GoodTypes 898s # * @short_description: Generated C code for the GoodTypes D-Bus interface 898s # * 898s # * This section contains code for working with the GoodTypes D-Bus interface in C. 898s # */ 898s # 898s # /* ---- Introspection data for GoodTypes ---- */ 898s # 898s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 898s # { 898s # { 898s # -1, 898s # (gchar *) "GoodPropertyType", 898s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 898s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 898s # NULL 898s # }, 898s # "good-property-type", 898s # FALSE, 898s # TRUE 898s # }; 898s # 898s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 898s # { 898s # &_good_types_property_info_good_property_type.parent_struct, 898s # NULL 898s # }; 898s # 898s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 898s # { 898s # { 898s # -1, 898s # (gchar *) "GoodTypes", 898s # NULL, 898s # NULL, 898s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 898s # NULL 898s # }, 898s # "good-types", 898s # }; 898s # 898s # 898s # /** 898s # * good_types_interface_info: 898s # * 898s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 898s # * 898s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 898s # */ 898s # GDBusInterfaceInfo * 898s # good_types_interface_info (void) 898s # { 898s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 898s # } 898s # 898s # /** 898s # * good_types_override_properties: 898s # * @klass: The class structure for a #GObject derived class. 898s # * @property_id_begin: The property id to assign to the first overridden property. 898s # * 898s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 898s # * The properties are overridden in the order they are defined. 898s # * 898s # * Returns: The last property id. 898s # */ 898s # guint 898s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 898s # { 898s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 898s # return property_id_begin - 1; 898s # } 898s # 898s # 898s # 898s # /** 898s # * GoodTypes: 898s # * 898s # * Abstract interface type for the D-Bus interface GoodTypes. 898s # */ 898s # 898s # /** 898s # * GoodTypesIface: 898s # * @parent_iface: The parent interface. 898s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 898s # * 898s # * Virtual table for the D-Bus interface GoodTypes. 898s # */ 898s # 898s # typedef GoodTypesIface GoodTypesInterface; 898s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 898s # 898s # static void 898s # good_types_default_init (GoodTypesIface *iface) 898s # { 898s # /* GObject properties for D-Bus properties: */ 898s # /** 898s # * GoodTypes:good-property-type: 898s # * 898s # * Represents the D-Bus property "GoodPropertyType". 898s # * 898s # * 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. 898s # */ 898s # g_object_interface_install_property (iface, 898s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 898s # } 898s # 898s # /** 898s # * good_types_get_good_property_type: (skip) 898s # * @object: A GoodTypes. 898s # * 898s # * Gets the value of the "GoodPropertyType" D-Bus property. 898s # * 898s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 898s # * 898s # * 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. 898s # * 898s # * 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. 898s # */ 898s # GVariant * 898s # good_types_get_good_property_type (GoodTypes *object) 898s # { 898s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 898s # 898s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 898s # } 898s # 898s # /** 898s # * good_types_dup_good_property_type: (skip) 898s # * @object: A GoodTypes. 898s # * 898s # * Gets a copy of the "GoodPropertyType" D-Bus property. 898s # * 898s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 898s # * 898s # * 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(). 898s # */ 898s # GVariant * 898s # good_types_dup_good_property_type (GoodTypes *object) 898s # { 898s # GVariant *value; 898s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 898s # return value; 898s # } 898s # 898s # /** 898s # * good_types_set_good_property_type: (skip) 898s # * @object: A GoodTypes. 898s # * @value: The value to set. 898s # * 898s # * Sets the "GoodPropertyType" D-Bus property to @value. 898s # * 898s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 898s # */ 898s # void 898s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 898s # { 898s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 898s # } 898s # 898s # /* ------------------------------------------------------------------------ */ 898s # 898s # /** 898s # * GoodTypesProxy: 898s # * 898s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 898s # */ 898s # 898s # /** 898s # * GoodTypesProxyClass: 898s # * @parent_class: The parent class. 898s # * 898s # * Class structure for GoodTypesProxy. 898s # */ 898s # 898s # struct _GoodTypesProxyPrivate 898s # { 898s # GData *qdata; 898s # }; 898s # 898s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 898s # 898s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 898s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 898s # G_ADD_PRIVATE (GoodTypesProxy) 898s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 898s # 898s # #else 898s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 898s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 898s # 898s # #endif 898s # static void 898s # good_types_proxy_finalize (GObject *object) 898s # { 898s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 898s # g_datalist_clear (&proxy->priv->qdata); 898s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 898s # } 898s # 898s # static void 898s # good_types_proxy_get_property (GObject *object, 898s # guint prop_id, 898s # GValue *value, 898s # GParamSpec *pspec G_GNUC_UNUSED) 898s # { 898s # const _ExtendedGDBusPropertyInfo *info; 898s # GVariant *variant; 898s # g_assert (prop_id != 0 && prop_id - 1 < 1); 898s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 898s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 898s # if (info->use_gvariant) 898s # { 898s # g_value_set_variant (value, variant); 898s # } 898s # else 898s # { 898s # if (variant != NULL) 898s # g_dbus_gvariant_to_gvalue (variant, value); 898s # } 898s # if (variant != NULL) 898s # g_variant_unref (variant); 898s # } 898s # 898s # static void 898s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 898s # GAsyncResult *res, 898s # gpointer user_data) 898s # { 898s # const _ExtendedGDBusPropertyInfo *info = user_data; 898s # GError *error; 898s # GVariant *_ret; 898s # error = NULL; 898s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 898s # if (!_ret) 898s # { 898s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 898s # info->parent_struct.name, 898s # error->message, g_quark_to_string (error->domain), error->code); 898s # g_error_free (error); 898s # } 898s # else 898s # { 898s # g_variant_unref (_ret); 898s # } 898s # } 898s # 898s # static void 898s # good_types_proxy_set_property (GObject *object, 898s # guint prop_id, 898s # const GValue *value, 898s # GParamSpec *pspec G_GNUC_UNUSED) 898s # { 898s # const _ExtendedGDBusPropertyInfo *info; 898s # GVariant *variant; 898s # g_assert (prop_id != 0 && prop_id - 1 < 1); 898s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 898s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 898s # g_dbus_proxy_call (G_DBUS_PROXY (object), 898s # "org.freedesktop.DBus.Properties.Set", 898s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 898s # G_DBUS_CALL_FLAGS_NONE, 898s # -1, 898s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 898s # g_variant_unref (variant); 898s # } 898s # 898s # static void 898s # good_types_proxy_g_signal (GDBusProxy *proxy, 898s # const gchar *sender_name G_GNUC_UNUSED, 898s # const gchar *signal_name, 898s # GVariant *parameters) 898s # { 898s # _ExtendedGDBusSignalInfo *info; 898s # GVariantIter iter; 898s # GVariant *child; 898s # GValue *paramv; 898s # gsize num_params; 898s # gsize n; 898s # guint signal_id; 898s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 898s # if (info == NULL) 898s # return; 898s # num_params = g_variant_n_children (parameters); 898s # paramv = g_new0 (GValue, num_params + 1); 898s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 898s # g_value_set_object (¶mv[0], proxy); 898s # g_variant_iter_init (&iter, parameters); 898s # n = 1; 898s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 898s # { 898s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 898s # if (arg_info->use_gvariant) 898s # { 898s # g_value_init (¶mv[n], G_TYPE_VARIANT); 898s # g_value_set_variant (¶mv[n], child); 898s # n++; 898s # } 898s # else 898s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 898s # g_variant_unref (child); 898s # } 898s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 898s # g_signal_emitv (paramv, signal_id, 0, NULL); 898s # for (n = 0; n < num_params + 1; n++) 898s # g_value_unset (¶mv[n]); 898s # g_free (paramv); 898s # } 898s # 898s # static void 898s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 898s # GVariant *changed_properties, 898s # const gchar *const *invalidated_properties) 898s # { 898s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 898s # guint n; 898s # const gchar *key; 898s # GVariantIter *iter; 898s # _ExtendedGDBusPropertyInfo *info; 898s # g_variant_get (changed_properties, "a{sv}", &iter); 898s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 898s # { 898s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 898s # g_datalist_remove_data (&proxy->priv->qdata, key); 898s # if (info != NULL) 898s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 898s # } 898s # g_variant_iter_free (iter); 898s # for (n = 0; invalidated_properties[n] != NULL; n++) 898s # { 898s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 898s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 898s # if (info != NULL) 898s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 898s # } 898s # } 898s # 898s # static GVariant * 898s # good_types_proxy_get_good_property_type (GoodTypes *object) 898s # { 898s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 898s # GVariant *variant; 898s # GVariant *value = NULL; 898s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 898s # value = variant; 898s # if (variant != NULL) 898s # g_variant_unref (variant); 898s # return value; 898s # } 898s # 898s # static void 898s # good_types_proxy_init (GoodTypesProxy *proxy) 898s # { 898s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 898s # proxy->priv = good_types_proxy_get_instance_private (proxy); 898s # #else 898s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 898s # #endif 898s # 898s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 898s # } 898s # 898s # static void 898s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 898s # { 898s # GObjectClass *gobject_class; 898s # GDBusProxyClass *proxy_class; 898s # 898s # gobject_class = G_OBJECT_CLASS (klass); 898s # gobject_class->finalize = good_types_proxy_finalize; 898s # gobject_class->get_property = good_types_proxy_get_property; 898s # gobject_class->set_property = good_types_proxy_set_property; 898s # 898s # proxy_class = G_DBUS_PROXY_CLASS (klass); 898s # proxy_class->g_signal = good_types_proxy_g_signal; 898s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 898s # 898s # good_types_override_properties (gobject_class, 1); 898s # 898s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 898s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 898s # #endif 898s # } 898s # 898s # static void 898s # good_types_proxy_iface_init (GoodTypesIface *iface) 898s # { 898s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 898s # } 898s # 898s # /** 898s # * good_types_proxy_new: 898s # * @connection: A #GDBusConnection. 898s # * @flags: Flags from the #GDBusProxyFlags enumeration. 898s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 898s # * @object_path: An object path. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 898s # * @user_data: User data to pass to @callback. 898s # * 898s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 898s # * 898s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 898s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 898s # * 898s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 898s # */ 898s # void 898s # good_types_proxy_new ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data) 898s # { 898s # 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); 898s # } 898s # 898s # /** 898s # * good_types_proxy_new_finish: 898s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 898s # * @error: Return location for error or %NULL 898s # * 898s # * Finishes an operation started with good_types_proxy_new(). 898s # * 898s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 898s # */ 898s # GoodTypes * 898s # good_types_proxy_new_finish ( 898s # GAsyncResult *res, 898s # GError **error) 898s # { 898s # GObject *ret; 898s # GObject *source_object; 898s # source_object = g_async_result_get_source_object (res); 898s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 898s # g_object_unref (source_object); 898s # if (ret != NULL) 898s # return GOOD_TYPES (ret); 898s # else 898s # return NULL; 898s # } 898s # 898s # /** 898s # * good_types_proxy_new_sync: 898s # * @connection: A #GDBusConnection. 898s # * @flags: Flags from the #GDBusProxyFlags enumeration. 898s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 898s # * @object_path: An object path. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @error: Return location for error or %NULL 898s # * 898s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 898s # * 898s # * The calling thread is blocked until a reply is received. 898s # * 898s # * See good_types_proxy_new() for the asynchronous version of this constructor. 898s # * 898s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 898s # */ 898s # GoodTypes * 898s # good_types_proxy_new_sync ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error) 898s # { 898s # GInitable *ret; 898s # 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); 898s # if (ret != NULL) 898s # return GOOD_TYPES (ret); 898s # else 898s # return NULL; 898s # } 898s # 898s # 898s # /** 898s # * good_types_proxy_new_for_bus: 898s # * @bus_type: A #GBusType. 898s # * @flags: Flags from the #GDBusProxyFlags enumeration. 898s # * @name: A bus name (well-known or unique). 898s # * @object_path: An object path. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 898s # * @user_data: User data to pass to @callback. 898s # * 898s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 898s # * 898s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 898s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 898s # * 898s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 898s # */ 898s # void 898s # good_types_proxy_new_for_bus ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data) 898s # { 898s # 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); 898s # } 898s # 898s # /** 898s # * good_types_proxy_new_for_bus_finish: 898s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 898s # * @error: Return location for error or %NULL 898s # * 898s # * Finishes an operation started with good_types_proxy_new_for_bus(). 898s # * 898s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 898s # */ 898s # GoodTypes * 898s # good_types_proxy_new_for_bus_finish ( 898s # GAsyncResult *res, 898s # GError **error) 898s # { 898s # GObject *ret; 898s # GObject *source_object; 898s # source_object = g_async_result_get_source_object (res); 898s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 898s # g_object_unref (source_object); 898s # if (ret != NULL) 898s # return GOOD_TYPES (ret); 898s # else 898s # return NULL; 898s # } 898s # 898s # /** 898s # * good_types_proxy_new_for_bus_sync: 898s # * @bus_type: A #GBusType. 898s # * @flags: Flags from the #GDBusProxyFlags enumeration. 898s # * @name: A bus name (well-known or unique). 898s # * @object_path: An object path. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @error: Return location for error or %NULL 898s # * 898s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 898s # * 898s # * The calling thread is blocked until a reply is received. 898s # * 898s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 898s # * 898s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 898s # */ 898s # GoodTypes * 898s # good_types_proxy_new_for_bus_sync ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error) 898s # { 898s # GInitable *ret; 898s # 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); 898s # if (ret != NULL) 898s # return GOOD_TYPES (ret); 898s # else 898s # return NULL; 898s # } 898s # 898s # 898s # /* ------------------------------------------------------------------------ */ 898s # 898s # /** 898s # * GoodTypesSkeleton: 898s # * 898s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 898s # */ 898s # 898s # /** 898s # * GoodTypesSkeletonClass: 898s # * @parent_class: The parent class. 898s # * 898s # * Class structure for GoodTypesSkeleton. 898s # */ 898s # 898s # struct _GoodTypesSkeletonPrivate 898s # { 898s # GValue *properties; 898s # GList *changed_properties; 898s # GSource *changed_properties_idle_source; 898s # GMainContext *context; 898s # GMutex lock; 898s # }; 898s # 898s # static void 898s # _good_types_skeleton_handle_method_call ( 898s # GDBusConnection *connection G_GNUC_UNUSED, 898s # const gchar *sender G_GNUC_UNUSED, 898s # const gchar *object_path G_GNUC_UNUSED, 898s # const gchar *interface_name, 898s # const gchar *method_name, 898s # GVariant *parameters, 898s # GDBusMethodInvocation *invocation, 898s # gpointer user_data) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 898s # _ExtendedGDBusMethodInfo *info; 898s # GVariantIter iter; 898s # GVariant *child; 898s # GValue *paramv; 898s # gsize num_params; 898s # guint num_extra; 898s # gsize n; 898s # guint signal_id; 898s # GValue return_value = G_VALUE_INIT; 898s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 898s # g_assert (info != NULL); 898s # num_params = g_variant_n_children (parameters); 898s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 898s # n = 0; 898s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 898s # g_value_set_object (¶mv[n++], skeleton); 898s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 898s # g_value_set_object (¶mv[n++], invocation); 898s # if (info->pass_fdlist) 898s # { 898s # #ifdef G_OS_UNIX 898s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 898s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 898s # #else 898s # g_assert_not_reached (); 898s # #endif 898s # } 898s # g_variant_iter_init (&iter, parameters); 898s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 898s # { 898s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 898s # if (arg_info->use_gvariant) 898s # { 898s # g_value_init (¶mv[n], G_TYPE_VARIANT); 898s # g_value_set_variant (¶mv[n], child); 898s # n++; 898s # } 898s # else 898s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 898s # g_variant_unref (child); 898s # } 898s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 898s # g_value_init (&return_value, G_TYPE_BOOLEAN); 898s # g_signal_emitv (paramv, signal_id, 0, &return_value); 898s # if (!g_value_get_boolean (&return_value)) 898s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 898s # g_value_unset (&return_value); 898s # for (n = 0; n < num_params + num_extra; n++) 898s # g_value_unset (¶mv[n]); 898s # g_free (paramv); 898s # } 898s # 898s # static GVariant * 898s # _good_types_skeleton_handle_get_property ( 898s # GDBusConnection *connection G_GNUC_UNUSED, 898s # const gchar *sender G_GNUC_UNUSED, 898s # const gchar *object_path G_GNUC_UNUSED, 898s # const gchar *interface_name G_GNUC_UNUSED, 898s # const gchar *property_name, 898s # GError **error, 898s # gpointer user_data) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 898s # GValue value = G_VALUE_INIT; 898s # GParamSpec *pspec; 898s # _ExtendedGDBusPropertyInfo *info; 898s # GVariant *ret; 898s # ret = NULL; 898s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 898s # g_assert (info != NULL); 898s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 898s # if (pspec == NULL) 898s # { 898s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 898s # } 898s # else 898s # { 898s # g_value_init (&value, pspec->value_type); 898s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 898s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 898s # g_value_unset (&value); 898s # } 898s # return ret; 898s # } 898s # 898s # static gboolean 898s # _good_types_skeleton_handle_set_property ( 898s # GDBusConnection *connection G_GNUC_UNUSED, 898s # const gchar *sender G_GNUC_UNUSED, 898s # const gchar *object_path G_GNUC_UNUSED, 898s # const gchar *interface_name G_GNUC_UNUSED, 898s # const gchar *property_name, 898s # GVariant *variant, 898s # GError **error, 898s # gpointer user_data) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 898s # GValue value = G_VALUE_INIT; 898s # GParamSpec *pspec; 898s # _ExtendedGDBusPropertyInfo *info; 898s # gboolean ret; 898s # ret = FALSE; 898s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 898s # g_assert (info != NULL); 898s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 898s # if (pspec == NULL) 898s # { 898s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 898s # } 898s # else 898s # { 898s # if (info->use_gvariant) 898s # g_value_set_variant (&value, variant); 898s # else 898s # g_dbus_gvariant_to_gvalue (variant, &value); 898s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 898s # g_value_unset (&value); 898s # ret = TRUE; 898s # } 898s # return ret; 898s # } 898s # 898s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 898s # { 898s # _good_types_skeleton_handle_method_call, 898s # _good_types_skeleton_handle_get_property, 898s # _good_types_skeleton_handle_set_property, 898s # {NULL} 898s # }; 898s # 898s # static GDBusInterfaceInfo * 898s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 898s # { 898s # return good_types_interface_info (); 898s # } 898s # 898s # static GDBusInterfaceVTable * 898s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 898s # { 898s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 898s # } 898s # 898s # static GVariant * 898s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 898s # 898s # GVariantBuilder builder; 898s # guint n; 898s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 898s # if (_good_types_interface_info.parent_struct.properties == NULL) 898s # goto out; 898s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 898s # { 898s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 898s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 898s # { 898s # GVariant *value; 898s # 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); 898s # if (value != NULL) 898s # { 898s # g_variant_take_ref (value); 898s # g_variant_builder_add (&builder, "{sv}", info->name, value); 898s # g_variant_unref (value); 898s # } 898s # } 898s # } 898s # out: 898s # return g_variant_builder_end (&builder); 898s # } 898s # 898s # static gboolean _good_types_emit_changed (gpointer user_data); 898s # 898s # static void 898s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 898s # gboolean emit_changed = FALSE; 898s # 898s # g_mutex_lock (&skeleton->priv->lock); 898s # if (skeleton->priv->changed_properties_idle_source != NULL) 898s # { 898s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 898s # skeleton->priv->changed_properties_idle_source = NULL; 898s # emit_changed = TRUE; 898s # } 898s # g_mutex_unlock (&skeleton->priv->lock); 898s # 898s # if (emit_changed) 898s # _good_types_emit_changed (skeleton); 898s # } 898s # 898s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 898s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 898s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 898s # G_ADD_PRIVATE (GoodTypesSkeleton) 898s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 898s # 898s # #else 898s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 898s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 898s # 898s # #endif 898s # static void 898s # good_types_skeleton_finalize (GObject *object) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 898s # guint n; 898s # for (n = 0; n < 1; n++) 898s # g_value_unset (&skeleton->priv->properties[n]); 898s # g_free (skeleton->priv->properties); 898s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 898s # if (skeleton->priv->changed_properties_idle_source != NULL) 898s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 898s # g_main_context_unref (skeleton->priv->context); 898s # g_mutex_clear (&skeleton->priv->lock); 898s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 898s # } 898s # 898s # static void 898s # good_types_skeleton_get_property (GObject *object, 898s # guint prop_id, 898s # GValue *value, 898s # GParamSpec *pspec G_GNUC_UNUSED) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 898s # g_assert (prop_id != 0 && prop_id - 1 < 1); 898s # g_mutex_lock (&skeleton->priv->lock); 898s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 898s # g_mutex_unlock (&skeleton->priv->lock); 898s # } 898s # 898s # static gboolean 898s # _good_types_emit_changed (gpointer user_data) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 898s # GList *l; 898s # GVariantBuilder builder; 898s # GVariantBuilder invalidated_builder; 898s # guint num_changes; 898s # 898s # g_mutex_lock (&skeleton->priv->lock); 898s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 898s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 898s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 898s # { 898s # ChangedProperty *cp = l->data; 898s # GVariant *variant; 898s # const GValue *cur_value; 898s # 898s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 898s # if (!_g_value_equal (cur_value, &cp->orig_value)) 898s # { 898s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 898s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 898s # g_variant_unref (variant); 898s # num_changes++; 898s # } 898s # } 898s # if (num_changes > 0) 898s # { 898s # GList *connections, *ll; 898s # GVariant *signal_variant; 898s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 898s # &builder, &invalidated_builder)); 898s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 898s # for (ll = connections; ll != NULL; ll = ll->next) 898s # { 898s # GDBusConnection *connection = ll->data; 898s # 898s # g_dbus_connection_emit_signal (connection, 898s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 898s # "org.freedesktop.DBus.Properties", 898s # "PropertiesChanged", 898s # signal_variant, 898s # NULL); 898s # } 898s # g_variant_unref (signal_variant); 898s # g_list_free_full (connections, g_object_unref); 898s # } 898s # else 898s # { 898s # g_variant_builder_clear (&builder); 898s # g_variant_builder_clear (&invalidated_builder); 898s # } 898s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 898s # skeleton->priv->changed_properties = NULL; 898s # skeleton->priv->changed_properties_idle_source = NULL; 898s # g_mutex_unlock (&skeleton->priv->lock); 898s # return FALSE; 898s # } 898s # 898s # static void 898s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 898s # { 898s # ChangedProperty *cp; 898s # GList *l; 898s # cp = NULL; 898s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 898s # { 898s # ChangedProperty *i_cp = l->data; 898s # if (i_cp->info == info) 898s # { 898s # cp = i_cp; 898s # break; 898s # } 898s # } 898s # if (cp == NULL) 898s # { 898s # cp = g_new0 (ChangedProperty, 1); 898s # cp->prop_id = prop_id; 898s # cp->info = info; 898s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 898s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 898s # g_value_copy (orig_value, &cp->orig_value); 898s # } 898s # } 898s # 898s # static void 898s # good_types_skeleton_notify (GObject *object, 898s # GParamSpec *pspec G_GNUC_UNUSED) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 898s # g_mutex_lock (&skeleton->priv->lock); 898s # if (skeleton->priv->changed_properties != NULL && 898s # skeleton->priv->changed_properties_idle_source == NULL) 898s # { 898s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 898s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 898s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 898s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 898s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 898s # g_source_unref (skeleton->priv->changed_properties_idle_source); 898s # } 898s # g_mutex_unlock (&skeleton->priv->lock); 898s # } 898s # 898s # static void 898s # good_types_skeleton_set_property (GObject *object, 898s # guint prop_id, 898s # const GValue *value, 898s # GParamSpec *pspec) 898s # { 898s # const _ExtendedGDBusPropertyInfo *info; 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 898s # g_assert (prop_id != 0 && prop_id - 1 < 1); 898s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 898s # g_mutex_lock (&skeleton->priv->lock); 898s # g_object_freeze_notify (object); 898s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 898s # { 898s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 898s # info->emits_changed_signal) 898s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 898s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 898s # g_object_notify_by_pspec (object, pspec); 898s # } 898s # g_mutex_unlock (&skeleton->priv->lock); 898s # g_object_thaw_notify (object); 898s # } 898s # 898s # static void 898s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 898s # { 898s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 898s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 898s # #else 898s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 898s # #endif 898s # 898s # g_mutex_init (&skeleton->priv->lock); 898s # skeleton->priv->context = g_main_context_ref_thread_default (); 898s # skeleton->priv->properties = g_new0 (GValue, 1); 898s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 898s # } 898s # 898s # static GVariant * 898s # good_types_skeleton_get_good_property_type (GoodTypes *object) 898s # { 898s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 898s # GVariant *value; 898s # g_mutex_lock (&skeleton->priv->lock); 898s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 898s # g_mutex_unlock (&skeleton->priv->lock); 898s # return value; 898s # } 898s # 898s # static void 898s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 898s # { 898s # GObjectClass *gobject_class; 898s # GDBusInterfaceSkeletonClass *skeleton_class; 898s # 898s # gobject_class = G_OBJECT_CLASS (klass); 898s # gobject_class->finalize = good_types_skeleton_finalize; 898s # gobject_class->get_property = good_types_skeleton_get_property; 898s # gobject_class->set_property = good_types_skeleton_set_property; 898s # gobject_class->notify = good_types_skeleton_notify; 898s # 898s # 898s # good_types_override_properties (gobject_class, 1); 898s # 898s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 898s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 898s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 898s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 898s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 898s # 898s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 898s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 898s # #endif 898s # } 898s # 898s # static void 898s # good_types_skeleton_iface_init (GoodTypesIface *iface) 898s # { 898s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 898s # } 898s # 898s # /** 898s # * good_types_skeleton_new: 898s # * 898s # * Creates a skeleton object for the D-Bus interface GoodTypes. 898s # * 898s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 898s # */ 898s # GoodTypes * 898s # good_types_skeleton_new (void) 898s # { 898s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 898s # } 898s ok 3 __main__.TestCodegen.test_empty_interface_body 898s # tmpdir: /tmp/tmpbvn8k9v9 898s # codegen: /usr/bin/gdbus-codegen 898s # /tmp/tmpbvn8k9v9/tmpvpd2g5kd.xml: 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbvn8k9v9/tmpvpd2g5kd.xml', '--output', '-', '--body'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: /* 898s # * This file is generated by gdbus-codegen, do not modify it. 898s # * 898s # * The license of this code is the same as for the D-Bus interface description 898s # * it was derived from. Note that it links to GLib, so must comply with the 898s # * LGPL linking clauses. 898s # */ 898s # 898s # #ifdef HAVE_CONFIG_H 898s # # include "config.h" 898s # #endif 898s # 898s # #include 898s # #ifdef G_OS_UNIX 898s # # include 898s # #endif 898s # 898s # #ifdef G_ENABLE_DEBUG 898s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 898s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 898s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 898s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 898s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 898s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 898s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 898s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 898s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 898s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 898s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 898s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 898s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 898s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 898s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 898s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 898s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 898s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 898s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 898s # #else /* !G_ENABLE_DEBUG */ 898s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 898s # * Do not access GValues directly in your code. Instead, use the 898s # * g_value_get_*() functions 898s # */ 898s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 898s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 898s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 898s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 898s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 898s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 898s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 898s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 898s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 898s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 898s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 898s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 898s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 898s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 898s # #endif /* !G_ENABLE_DEBUG */ 898s # 898s # typedef struct 898s # { 898s # GDBusArgInfo parent_struct; 898s # gboolean use_gvariant; 898s # } _ExtendedGDBusArgInfo; 898s # 898s # typedef struct 898s # { 898s # GDBusMethodInfo parent_struct; 898s # const gchar *signal_name; 898s # gboolean pass_fdlist; 898s # } _ExtendedGDBusMethodInfo; 898s # 898s # typedef struct 898s # { 898s # GDBusSignalInfo parent_struct; 898s # const gchar *signal_name; 898s # } _ExtendedGDBusSignalInfo; 898s # 898s # typedef struct 898s # { 898s # GDBusPropertyInfo parent_struct; 898s # const gchar *hyphen_name; 898s # guint use_gvariant : 1; 898s # guint emits_changed_signal : 1; 898s # } _ExtendedGDBusPropertyInfo; 898s # 898s # typedef struct 898s # { 898s # GDBusInterfaceInfo parent_struct; 898s # const gchar *hyphen_name; 898s # } _ExtendedGDBusInterfaceInfo; 898s # 898s # typedef struct 898s # { 898s # const _ExtendedGDBusPropertyInfo *info; 898s # guint prop_id; 898s # GValue orig_value; /* the value before the change */ 898s # } ChangedProperty; 898s # 898s # static void 898s # _changed_property_free (ChangedProperty *data) 898s # { 898s # g_value_unset (&data->orig_value); 898s # g_free (data); 898s # } 898s # 898s # static gboolean 898s # _g_strv_equal0 (gchar **a, gchar **b) 898s # { 898s # gboolean ret = FALSE; 898s # guint n; 898s # if (a == NULL && b == NULL) 898s # { 898s # ret = TRUE; 898s # goto out; 898s # } 898s # if (a == NULL || b == NULL) 898s # goto out; 898s # if (g_strv_length (a) != g_strv_length (b)) 898s # goto out; 898s # for (n = 0; a[n] != NULL; n++) 898s # if (g_strcmp0 (a[n], b[n]) != 0) 898s # goto out; 898s # ret = TRUE; 898s # out: 898s # return ret; 898s # } 898s # 898s # static gboolean 898s # _g_variant_equal0 (GVariant *a, GVariant *b) 898s # { 898s # gboolean ret = FALSE; 898s # if (a == NULL && b == NULL) 898s # { 898s # ret = TRUE; 898s # goto out; 898s # } 898s # if (a == NULL || b == NULL) 898s # goto out; 898s # ret = g_variant_equal (a, b); 898s # out: 898s # return ret; 898s # } 898s # 898s # G_GNUC_UNUSED static gboolean 898s # _g_value_equal (const GValue *a, const GValue *b) 898s # { 898s # gboolean ret = FALSE; 898s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 898s # switch (G_VALUE_TYPE (a)) 898s # { 898s # case G_TYPE_BOOLEAN: 898s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 898s # break; 898s # case G_TYPE_UCHAR: 898s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 898s # break; 898s # case G_TYPE_INT: 898s # ret = (g_value_get_int (a) == g_value_get_int (b)); 898s # break; 898s # case G_TYPE_UINT: 898s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 898s # break; 898s # case G_TYPE_INT64: 898s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 898s # break; 898s # case G_TYPE_UINT64: 898s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 898s # break; 898s # case G_TYPE_DOUBLE: 898s # { 898s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 898s # gdouble da = g_value_get_double (a); 898s # gdouble db = g_value_get_double (b); 898s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 898s # } 898s # break; 898s # case G_TYPE_STRING: 898s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 898s # break; 898s # case G_TYPE_VARIANT: 898s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 898s # break; 898s # default: 898s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 898s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 898s # else 898s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 898s # break; 898s # } 898s # return ret; 898s # } 898s ok 4 __main__.TestCodegen.test_empty_interface_header 898s # tmpdir: /tmp/tmpjycvg6pj 898s # codegen: /usr/bin/gdbus-codegen 898s # /tmp/tmpjycvg6pj/tmpebm9et5z.xml: 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjycvg6pj/tmpebm9et5z.xml', '--output', '-', '--header'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: /* 898s # * This file is generated by gdbus-codegen, do not modify it. 898s # * 898s # * The license of this code is the same as for the D-Bus interface description 898s # * it was derived from. Note that it links to GLib, so must comply with the 898s # * LGPL linking clauses. 898s # */ 898s # 898s # #ifndef __STDOUT__ 898s # #define __STDOUT__ 898s # 898s # #include 898s # 898s # G_BEGIN_DECLS 898s # 898s # 898s # G_END_DECLS 898s # 898s # #endif /* __STDOUT__ */ 898s ok 5 __main__.TestCodegen.test_empty_interface_info_body 898s # tmpdir: /tmp/tmpvl3t93ru 898s # codegen: /usr/bin/gdbus-codegen 898s # /tmp/tmpvl3t93ru/tmpft62ghg2.xml: 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvl3t93ru/tmpft62ghg2.xml', '--output', '-', '--interface-info-body'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: /* 898s # * This file is generated by gdbus-codegen, do not modify it. 898s # * 898s # * The license of this code is the same as for the D-Bus interface description 898s # * it was derived from. Note that it links to GLib, so must comply with the 898s # * LGPL linking clauses. 898s # */ 898s # 898s # #ifdef HAVE_CONFIG_H 898s # # include "config.h" 898s # #endif 898s # 898s # #include 898s ok 6 __main__.TestCodegen.test_empty_interface_info_header 898s # tmpdir: /tmp/tmp51dx5so0 898s # codegen: /usr/bin/gdbus-codegen 898s # /tmp/tmp51dx5so0/tmp1awcl_bx.xml: 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp51dx5so0/tmp1awcl_bx.xml', '--output', '-', '--interface-info-header'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: /* 898s # * This file is generated by gdbus-codegen, do not modify it. 898s # * 898s # * The license of this code is the same as for the D-Bus interface description 898s # * it was derived from. Note that it links to GLib, so must comply with the 898s # * LGPL linking clauses. 898s # */ 898s # 898s # #ifndef __STDOUT__ 898s # #define __STDOUT__ 898s # 898s # #include 898s # 898s # G_BEGIN_DECLS 898s # 898s # 898s # G_END_DECLS 898s # 898s # #endif /* __STDOUT__ */ 898s ok 7 __main__.TestCodegen.test_generate_docbook 898s # tmpdir: /tmp/tmpjlxec57k 898s # codegen: /usr/bin/gdbus-codegen 898s # /tmp/tmpjlxec57k/tmpy0dq5wnz.xml: 898s # 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjlxec57k/tmpy0dq5wnz.xml', '--generate-docbook', 'test'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: 898s ok 8 __main__.TestCodegen.test_generate_md 898s # tmpdir: /tmp/tmpsntrf8cn 898s # codegen: /usr/bin/gdbus-codegen 898s # /tmp/tmpsntrf8cn/tmp6w5wt44s.xml: 898s # 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsntrf8cn/tmp6w5wt44s.xml', '--generate-md', 'test'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: 898s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 898s # tmpdir: /tmp/tmpwh4vm4bv 898s # codegen: /usr/bin/gdbus-codegen 898s # /tmp/tmpwh4vm4bv/tmp264w_l3a.xml: 898s # 898s # 898s # 898s # 898s # 898s # 898s # 898s # 898s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwh4vm4bv/tmp264w_l3a.xml', '--output', '-', '--body'] 898s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 898s # Output: /* 898s # * This file is generated by gdbus-codegen, do not modify it. 898s # * 898s # * The license of this code is the same as for the D-Bus interface description 898s # * it was derived from. Note that it links to GLib, so must comply with the 898s # * LGPL linking clauses. 898s # */ 898s # 898s # #ifdef HAVE_CONFIG_H 898s # # include "config.h" 898s # #endif 898s # 898s # #include 898s # #ifdef G_OS_UNIX 898s # # include 898s # #endif 898s # 898s # #ifdef G_ENABLE_DEBUG 898s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 898s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 898s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 898s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 898s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 898s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 898s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 898s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 898s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 898s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 898s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 898s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 898s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 898s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 898s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 898s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 898s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 898s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 898s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 898s # #else /* !G_ENABLE_DEBUG */ 898s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 898s # * Do not access GValues directly in your code. Instead, use the 898s # * g_value_get_*() functions 898s # */ 898s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 898s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 898s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 898s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 898s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 898s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 898s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 898s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 898s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 898s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 898s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 898s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 898s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 898s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 898s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 898s # #endif /* !G_ENABLE_DEBUG */ 898s # 898s # typedef struct 898s # { 898s # GDBusArgInfo parent_struct; 898s # gboolean use_gvariant; 898s # } _ExtendedGDBusArgInfo; 898s # 898s # typedef struct 898s # { 898s # GDBusMethodInfo parent_struct; 898s # const gchar *signal_name; 898s # gboolean pass_fdlist; 898s # } _ExtendedGDBusMethodInfo; 898s # 898s # typedef struct 898s # { 898s # GDBusSignalInfo parent_struct; 898s # const gchar *signal_name; 898s # } _ExtendedGDBusSignalInfo; 898s # 898s # typedef struct 898s # { 898s # GDBusPropertyInfo parent_struct; 898s # const gchar *hyphen_name; 898s # guint use_gvariant : 1; 898s # guint emits_changed_signal : 1; 898s # } _ExtendedGDBusPropertyInfo; 898s # 898s # typedef struct 898s # { 898s # GDBusInterfaceInfo parent_struct; 898s # const gchar *hyphen_name; 898s # } _ExtendedGDBusInterfaceInfo; 898s # 898s # typedef struct 898s # { 898s # const _ExtendedGDBusPropertyInfo *info; 898s # guint prop_id; 898s # GValue orig_value; /* the value before the change */ 898s # } ChangedProperty; 898s # 898s # static void 898s # _changed_property_free (ChangedProperty *data) 898s # { 898s # g_value_unset (&data->orig_value); 898s # g_free (data); 898s # } 898s # 898s # static gboolean 898s # _g_strv_equal0 (gchar **a, gchar **b) 898s # { 898s # gboolean ret = FALSE; 898s # guint n; 898s # if (a == NULL && b == NULL) 898s # { 898s # ret = TRUE; 898s # goto out; 898s # } 898s # if (a == NULL || b == NULL) 898s # goto out; 898s # if (g_strv_length (a) != g_strv_length (b)) 898s # goto out; 898s # for (n = 0; a[n] != NULL; n++) 898s # if (g_strcmp0 (a[n], b[n]) != 0) 898s # goto out; 898s # ret = TRUE; 898s # out: 898s # return ret; 898s # } 898s # 898s # static gboolean 898s # _g_variant_equal0 (GVariant *a, GVariant *b) 898s # { 898s # gboolean ret = FALSE; 898s # if (a == NULL && b == NULL) 898s # { 898s # ret = TRUE; 898s # goto out; 898s # } 898s # if (a == NULL || b == NULL) 898s # goto out; 898s # ret = g_variant_equal (a, b); 898s # out: 898s # return ret; 898s # } 898s # 898s # G_GNUC_UNUSED static gboolean 898s # _g_value_equal (const GValue *a, const GValue *b) 898s # { 898s # gboolean ret = FALSE; 898s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 898s # switch (G_VALUE_TYPE (a)) 898s # { 898s # case G_TYPE_BOOLEAN: 898s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 898s # break; 898s # case G_TYPE_UCHAR: 898s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 898s # break; 898s # case G_TYPE_INT: 898s # ret = (g_value_get_int (a) == g_value_get_int (b)); 898s # break; 898s # case G_TYPE_UINT: 898s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 898s # break; 898s # case G_TYPE_INT64: 898s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 898s # break; 898s # case G_TYPE_UINT64: 898s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 898s # break; 898s # case G_TYPE_DOUBLE: 898s # { 898s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 898s # gdouble da = g_value_get_double (a); 898s # gdouble db = g_value_get_double (b); 898s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 898s # } 898s # break; 898s # case G_TYPE_STRING: 898s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 898s # break; 898s # case G_TYPE_VARIANT: 898s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 898s # break; 898s # default: 898s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 898s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 898s # else 898s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 898s # break; 898s # } 898s # return ret; 898s # } 898s # 898s # static void 898s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 898s # GClosure *closure, 898s # GValue *return_value, 898s # unsigned int n_param_values, 898s # const GValue *param_values, 898s # void *invocation_hint G_GNUC_UNUSED, 898s # void *marshal_data) 898s # { 898s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 898s # (void *data1, 898s # GDBusMethodInvocation *arg_method_invocation, 898s # void *data2); 898s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 898s # GCClosure *cc = (GCClosure*) closure; 898s # void *data1, *data2; 898s # gboolean v_return; 898s # 898s # g_return_if_fail (return_value != NULL); 898s # g_return_if_fail (n_param_values == 2); 898s # 898s # if (G_CCLOSURE_SWAP_DATA (closure)) 898s # { 898s # data1 = closure->data; 898s # data2 = g_value_peek_pointer (param_values + 0); 898s # } 898s # else 898s # { 898s # data1 = g_value_peek_pointer (param_values + 0); 898s # data2 = closure->data; 898s # } 898s # 898s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 898s # (marshal_data ? marshal_data : cc->callback); 898s # 898s # v_return = 898s # callback (data1, 898s # g_marshal_value_peek_object (param_values + 1), 898s # data2); 898s # 898s # g_value_set_boolean (return_value, v_return); 898s # } 898s # 898s # /* ------------------------------------------------------------------------ 898s # * Code for interface org.project.CallableIface 898s # * ------------------------------------------------------------------------ 898s # */ 898s # 898s # /** 898s # * SECTION:OrgProjectCallableIface 898s # * @title: OrgProjectCallableIface 898s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 898s # * 898s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 898s # */ 898s # 898s # /* ---- Introspection data for org.project.CallableIface ---- */ 898s # 898s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 898s # { 898s # { 898s # -1, 898s # (gchar *) "SimpleMethod", 898s # NULL, 898s # NULL, 898s # NULL 898s # }, 898s # "handle-simple-method", 898s # FALSE 898s # }; 898s # 898s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 898s # { 898s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 898s # NULL 898s # }; 898s # 898s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 898s # { 898s # { 898s # -1, 898s # (gchar *) "org.project.CallableIface", 898s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 898s # NULL, 898s # NULL, 898s # NULL 898s # }, 898s # "org-project-callable-iface", 898s # }; 898s # 898s # 898s # /** 898s # * org_project_callable_iface_interface_info: 898s # * 898s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 898s # * 898s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 898s # */ 898s # GDBusInterfaceInfo * 898s # org_project_callable_iface_interface_info (void) 898s # { 898s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 898s # } 898s # 898s # /** 898s # * org_project_callable_iface_override_properties: 898s # * @klass: The class structure for a #GObject derived class. 898s # * @property_id_begin: The property id to assign to the first overridden property. 898s # * 898s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 898s # * The properties are overridden in the order they are defined. 898s # * 898s # * Returns: The last property id. 898s # */ 898s # guint 898s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 898s # { 898s # return property_id_begin - 1; 898s # } 898s # 898s # 898s # inline static void 898s # org_project_callable_iface_method_marshal_simple_method ( 898s # GClosure *closure, 898s # GValue *return_value, 898s # unsigned int n_param_values, 898s # const GValue *param_values, 898s # void *invocation_hint, 898s # void *marshal_data) 898s # { 898s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 898s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 898s # } 898s # 898s # 898s # /** 898s # * OrgProjectCallableIface: 898s # * 898s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 898s # */ 898s # 898s # /** 898s # * OrgProjectCallableIfaceIface: 898s # * @parent_iface: The parent interface. 898s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 898s # * 898s # * Virtual table for the D-Bus interface org.project.CallableIface. 898s # */ 898s # 898s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 898s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 898s # 898s # static void 898s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 898s # { 898s # /* GObject signals for incoming D-Bus method calls: */ 898s # /** 898s # * OrgProjectCallableIface::handle-simple-method: 898s # * @object: A #OrgProjectCallableIface. 898s # * @invocation: A #GDBusMethodInvocation. 898s # * 898s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 898s # * 898s # * 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. 898s # * 898s # * 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. 898s # */ 898s # g_signal_new ("handle-simple-method", 898s # G_TYPE_FROM_INTERFACE (iface), 898s # G_SIGNAL_RUN_LAST, 898s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 898s # g_signal_accumulator_true_handled, 898s # NULL, 898s # org_project_callable_iface_method_marshal_simple_method, 898s # G_TYPE_BOOLEAN, 898s # 1, 898s # G_TYPE_DBUS_METHOD_INVOCATION); 898s # 898s # } 898s # 898s # /** 898s # * org_project_callable_iface_call_simple_method: 898s # * @proxy: A #OrgProjectCallableIfaceProxy. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 898s # * @user_data: User data to pass to @callback. 898s # * 898s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 898s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 898s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 898s # * 898s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 898s # */ 898s # void 898s # org_project_callable_iface_call_simple_method ( 898s # OrgProjectCallableIface *proxy, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data) 898s # { 898s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 898s # "SimpleMethod", 898s # g_variant_new ("()"), 898s # G_DBUS_CALL_FLAGS_NONE, 898s # -1, 898s # cancellable, 898s # callback, 898s # user_data); 898s # } 898s # 898s # /** 898s # * org_project_callable_iface_call_simple_method_finish: 898s # * @proxy: A #OrgProjectCallableIfaceProxy. 898s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 898s # * @error: Return location for error or %NULL. 898s # * 898s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 898s # * 898s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 898s # */ 898s # gboolean 898s # org_project_callable_iface_call_simple_method_finish ( 898s # OrgProjectCallableIface *proxy, 898s # GAsyncResult *res, 898s # GError **error) 898s # { 898s # GVariant *_ret; 898s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 898s # if (_ret == NULL) 898s # goto _out; 898s # g_variant_get (_ret, 898s # "()"); 898s # g_variant_unref (_ret); 898s # _out: 898s # return _ret != NULL; 898s # } 898s # 898s # /** 898s # * org_project_callable_iface_call_simple_method_sync: 898s # * @proxy: A #OrgProjectCallableIfaceProxy. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @error: Return location for error or %NULL. 898s # * 898s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 898s # * 898s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 898s # * 898s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 898s # */ 898s # gboolean 898s # org_project_callable_iface_call_simple_method_sync ( 898s # OrgProjectCallableIface *proxy, 898s # GCancellable *cancellable, 898s # GError **error) 898s # { 898s # GVariant *_ret; 898s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 898s # "SimpleMethod", 898s # g_variant_new ("()"), 898s # G_DBUS_CALL_FLAGS_NONE, 898s # -1, 898s # cancellable, 898s # error); 898s # if (_ret == NULL) 898s # goto _out; 898s # g_variant_get (_ret, 898s # "()"); 898s # g_variant_unref (_ret); 898s # _out: 898s # return _ret != NULL; 898s # } 898s # 898s # /** 898s # * org_project_callable_iface_complete_simple_method: 898s # * @object: A #OrgProjectCallableIface. 898s # * @invocation: (transfer full): A #GDBusMethodInvocation. 898s # * 898s # * 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. 898s # * 898s # * This method will free @invocation, you cannot use it afterwards. 898s # */ 898s # void 898s # org_project_callable_iface_complete_simple_method ( 898s # OrgProjectCallableIface *object G_GNUC_UNUSED, 898s # GDBusMethodInvocation *invocation) 898s # { 898s # g_dbus_method_invocation_return_value (invocation, 898s # g_variant_new ("()")); 898s # } 898s # 898s # /* ------------------------------------------------------------------------ */ 898s # 898s # /** 898s # * OrgProjectCallableIfaceProxy: 898s # * 898s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 898s # */ 898s # 898s # /** 898s # * OrgProjectCallableIfaceProxyClass: 898s # * @parent_class: The parent class. 898s # * 898s # * Class structure for #OrgProjectCallableIfaceProxy. 898s # */ 898s # 898s # struct _OrgProjectCallableIfaceProxyPrivate 898s # { 898s # GData *qdata; 898s # }; 898s # 898s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 898s # 898s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 898s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 898s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 898s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 898s # 898s # #else 898s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 898s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 898s # 898s # #endif 898s # static void 898s # org_project_callable_iface_proxy_finalize (GObject *object) 898s # { 898s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 898s # g_datalist_clear (&proxy->priv->qdata); 898s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 898s # } 898s # 898s # static void 898s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 898s # guint prop_id G_GNUC_UNUSED, 898s # GValue *value G_GNUC_UNUSED, 898s # GParamSpec *pspec G_GNUC_UNUSED) 898s # { 898s # } 898s # 898s # static void 898s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 898s # guint prop_id G_GNUC_UNUSED, 898s # const GValue *value G_GNUC_UNUSED, 898s # GParamSpec *pspec G_GNUC_UNUSED) 898s # { 898s # } 898s # 898s # static void 898s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 898s # const gchar *sender_name G_GNUC_UNUSED, 898s # const gchar *signal_name, 898s # GVariant *parameters) 898s # { 898s # _ExtendedGDBusSignalInfo *info; 898s # GVariantIter iter; 898s # GVariant *child; 898s # GValue *paramv; 898s # gsize num_params; 898s # gsize n; 898s # guint signal_id; 898s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 898s # if (info == NULL) 898s # return; 898s # num_params = g_variant_n_children (parameters); 898s # paramv = g_new0 (GValue, num_params + 1); 898s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 898s # g_value_set_object (¶mv[0], proxy); 898s # g_variant_iter_init (&iter, parameters); 898s # n = 1; 898s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 898s # { 898s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 898s # if (arg_info->use_gvariant) 898s # { 898s # g_value_init (¶mv[n], G_TYPE_VARIANT); 898s # g_value_set_variant (¶mv[n], child); 898s # n++; 898s # } 898s # else 898s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 898s # g_variant_unref (child); 898s # } 898s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 898s # g_signal_emitv (paramv, signal_id, 0, NULL); 898s # for (n = 0; n < num_params + 1; n++) 898s # g_value_unset (¶mv[n]); 898s # g_free (paramv); 898s # } 898s # 898s # static void 898s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 898s # GVariant *changed_properties, 898s # const gchar *const *invalidated_properties) 898s # { 898s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 898s # guint n; 898s # const gchar *key; 898s # GVariantIter *iter; 898s # _ExtendedGDBusPropertyInfo *info; 898s # g_variant_get (changed_properties, "a{sv}", &iter); 898s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 898s # { 898s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 898s # g_datalist_remove_data (&proxy->priv->qdata, key); 898s # if (info != NULL) 898s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 898s # } 898s # g_variant_iter_free (iter); 898s # for (n = 0; invalidated_properties[n] != NULL; n++) 898s # { 898s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 898s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 898s # if (info != NULL) 898s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 898s # } 898s # } 898s # 898s # static void 898s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 898s # { 898s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 898s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 898s # #else 898s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 898s # #endif 898s # 898s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 898s # } 898s # 898s # static void 898s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 898s # { 898s # GObjectClass *gobject_class; 898s # GDBusProxyClass *proxy_class; 898s # 898s # gobject_class = G_OBJECT_CLASS (klass); 898s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 898s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 898s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 898s # 898s # proxy_class = G_DBUS_PROXY_CLASS (klass); 898s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 898s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 898s # 898s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 898s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 898s # #endif 898s # } 898s # 898s # static void 898s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 898s # { 898s # } 898s # 898s # /** 898s # * org_project_callable_iface_proxy_new: 898s # * @connection: A #GDBusConnection. 898s # * @flags: Flags from the #GDBusProxyFlags enumeration. 898s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 898s # * @object_path: An object path. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 898s # * @user_data: User data to pass to @callback. 898s # * 898s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 898s # * 898s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 898s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 898s # * 898s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 898s # */ 898s # void 898s # org_project_callable_iface_proxy_new ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data) 898s # { 898s # 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); 898s # } 898s # 898s # /** 898s # * org_project_callable_iface_proxy_new_finish: 898s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 898s # * @error: Return location for error or %NULL 898s # * 898s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 898s # * 898s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 898s # */ 898s # OrgProjectCallableIface * 898s # org_project_callable_iface_proxy_new_finish ( 898s # GAsyncResult *res, 898s # GError **error) 898s # { 898s # GObject *ret; 898s # GObject *source_object; 898s # source_object = g_async_result_get_source_object (res); 898s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 898s # g_object_unref (source_object); 898s # if (ret != NULL) 898s # return ORG_PROJECT_CALLABLE_IFACE (ret); 898s # else 898s # return NULL; 898s # } 898s # 898s # /** 898s # * org_project_callable_iface_proxy_new_sync: 898s # * @connection: A #GDBusConnection. 898s # * @flags: Flags from the #GDBusProxyFlags enumeration. 898s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 898s # * @object_path: An object path. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @error: Return location for error or %NULL 898s # * 898s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 898s # * 898s # * The calling thread is blocked until a reply is received. 898s # * 898s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 898s # * 898s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 898s # */ 898s # OrgProjectCallableIface * 898s # org_project_callable_iface_proxy_new_sync ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error) 898s # { 898s # GInitable *ret; 898s # 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); 898s # if (ret != NULL) 898s # return ORG_PROJECT_CALLABLE_IFACE (ret); 898s # else 898s # return NULL; 898s # } 898s # 898s # 898s # /** 898s # * org_project_callable_iface_proxy_new_for_bus: 898s # * @bus_type: A #GBusType. 898s # * @flags: Flags from the #GDBusProxyFlags enumeration. 898s # * @name: A bus name (well-known or unique). 898s # * @object_path: An object path. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 898s # * @user_data: User data to pass to @callback. 898s # * 898s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 898s # * 898s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 898s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 898s # * 898s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 898s # */ 898s # void 898s # org_project_callable_iface_proxy_new_for_bus ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data) 898s # { 898s # 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); 898s # } 898s # 898s # /** 898s # * org_project_callable_iface_proxy_new_for_bus_finish: 898s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 898s # * @error: Return location for error or %NULL 898s # * 898s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 898s # * 898s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 898s # */ 898s # OrgProjectCallableIface * 898s # org_project_callable_iface_proxy_new_for_bus_finish ( 898s # GAsyncResult *res, 898s # GError **error) 898s # { 898s # GObject *ret; 898s # GObject *source_object; 898s # source_object = g_async_result_get_source_object (res); 898s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 898s # g_object_unref (source_object); 898s # if (ret != NULL) 898s # return ORG_PROJECT_CALLABLE_IFACE (ret); 898s # else 898s # return NULL; 898s # } 898s # 898s # /** 898s # * org_project_callable_iface_proxy_new_for_bus_sync: 898s # * @bus_type: A #GBusType. 898s # * @flags: Flags from the #GDBusProxyFlags enumeration. 898s # * @name: A bus name (well-known or unique). 898s # * @object_path: An object path. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @error: Return location for error or %NULL 898s # * 898s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 898s # * 898s # * The calling thread is blocked until a reply is received. 898s # * 898s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 898s # * 898s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 898s # */ 898s # OrgProjectCallableIface * 898s # org_project_callable_iface_proxy_new_for_bus_sync ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error) 898s # { 898s # GInitable *ret; 898s # 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); 898s # if (ret != NULL) 898s # return ORG_PROJECT_CALLABLE_IFACE (ret); 898s # else 898s # return NULL; 898s # } 898s # 898s # 898s # /* ------------------------------------------------------------------------ */ 898s # 898s # /** 898s # * OrgProjectCallableIfaceSkeleton: 898s # * 898s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 898s # */ 898s # 898s # /** 898s # * OrgProjectCallableIfaceSkeletonClass: 898s # * @parent_class: The parent class. 898s # * 898s # * Class structure for #OrgProjectCallableIfaceSkeleton. 898s # */ 898s # 898s # struct _OrgProjectCallableIfaceSkeletonPrivate 898s # { 898s # GValue *properties; 898s # GList *changed_properties; 898s # GSource *changed_properties_idle_source; 898s # GMainContext *context; 898s # GMutex lock; 898s # }; 898s # 898s # static void 898s # _org_project_callable_iface_skeleton_handle_method_call ( 898s # GDBusConnection *connection G_GNUC_UNUSED, 898s # const gchar *sender G_GNUC_UNUSED, 898s # const gchar *object_path G_GNUC_UNUSED, 898s # const gchar *interface_name, 898s # const gchar *method_name, 898s # GVariant *parameters, 898s # GDBusMethodInvocation *invocation, 898s # gpointer user_data) 898s # { 898s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 898s # _ExtendedGDBusMethodInfo *info; 898s # GVariantIter iter; 898s # GVariant *child; 898s # GValue *paramv; 898s # gsize num_params; 898s # guint num_extra; 898s # gsize n; 898s # guint signal_id; 898s # GValue return_value = G_VALUE_INIT; 898s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 898s # g_assert (info != NULL); 898s # num_params = g_variant_n_children (parameters); 898s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 898s # n = 0; 898s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 898s # g_value_set_object (¶mv[n++], skeleton); 898s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 898s # g_value_set_object (¶mv[n++], invocation); 898s # if (info->pass_fdlist) 898s # { 898s # #ifdef G_OS_UNIX 898s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 898s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 898s # #else 898s # g_assert_not_reached (); 898s # #endif 898s # } 898s # g_variant_iter_init (&iter, parameters); 898s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 898s # { 898s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 898s # if (arg_info->use_gvariant) 898s # { 898s # g_value_init (¶mv[n], G_TYPE_VARIANT); 898s # g_value_set_variant (¶mv[n], child); 898s # n++; 898s # } 898s # else 898s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 898s # g_variant_unref (child); 898s # } 898s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 898s # g_value_init (&return_value, G_TYPE_BOOLEAN); 898s # g_signal_emitv (paramv, signal_id, 0, &return_value); 898s # if (!g_value_get_boolean (&return_value)) 898s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 898s # g_value_unset (&return_value); 898s # for (n = 0; n < num_params + num_extra; n++) 898s # g_value_unset (¶mv[n]); 898s # g_free (paramv); 898s # } 898s # 898s # static GVariant * 898s # _org_project_callable_iface_skeleton_handle_get_property ( 898s # GDBusConnection *connection G_GNUC_UNUSED, 898s # const gchar *sender G_GNUC_UNUSED, 898s # const gchar *object_path G_GNUC_UNUSED, 898s # const gchar *interface_name G_GNUC_UNUSED, 898s # const gchar *property_name, 898s # GError **error, 898s # gpointer user_data) 898s # { 898s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 898s # GValue value = G_VALUE_INIT; 898s # GParamSpec *pspec; 898s # _ExtendedGDBusPropertyInfo *info; 898s # GVariant *ret; 898s # ret = NULL; 898s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 898s # g_assert (info != NULL); 898s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 898s # if (pspec == NULL) 898s # { 898s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 898s # } 898s # else 898s # { 898s # g_value_init (&value, pspec->value_type); 898s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 898s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 898s # g_value_unset (&value); 898s # } 898s # return ret; 898s # } 898s # 898s # static gboolean 898s # _org_project_callable_iface_skeleton_handle_set_property ( 898s # GDBusConnection *connection G_GNUC_UNUSED, 898s # const gchar *sender G_GNUC_UNUSED, 898s # const gchar *object_path G_GNUC_UNUSED, 898s # const gchar *interface_name G_GNUC_UNUSED, 898s # const gchar *property_name, 898s # GVariant *variant, 898s # GError **error, 898s # gpointer user_data) 898s # { 898s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 898s # GValue value = G_VALUE_INIT; 898s # GParamSpec *pspec; 898s # _ExtendedGDBusPropertyInfo *info; 898s # gboolean ret; 898s # ret = FALSE; 898s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 898s # g_assert (info != NULL); 898s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 898s # if (pspec == NULL) 898s # { 898s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 898s # } 898s # else 898s # { 898s # if (info->use_gvariant) 898s # g_value_set_variant (&value, variant); 898s # else 898s # g_dbus_gvariant_to_gvalue (variant, &value); 898s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 898s # g_value_unset (&value); 898s # ret = TRUE; 898s # } 898s # return ret; 898s # } 898s # 898s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 898s # { 898s # _org_project_callable_iface_skeleton_handle_method_call, 898s # _org_project_callable_iface_skeleton_handle_get_property, 898s # _org_project_callable_iface_skeleton_handle_set_property, 898s # {NULL} 898s # }; 898s # 898s # static GDBusInterfaceInfo * 898s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 898s # { 898s # return org_project_callable_iface_interface_info (); 898s # } 898s # 898s # static GDBusInterfaceVTable * 898s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 898s # { 898s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 898s # } 898s # 898s # static GVariant * 898s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 898s # { 898s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 898s # 898s # GVariantBuilder builder; 898s # guint n; 898s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 898s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 898s # goto out; 898s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 898s # { 898s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 898s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 898s # { 898s # GVariant *value; 898s # 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); 898s # if (value != NULL) 898s # { 898s # g_variant_take_ref (value); 898s # g_variant_builder_add (&builder, "{sv}", info->name, value); 898s # g_variant_unref (value); 898s # } 898s # } 898s # } 898s # out: 898s # return g_variant_builder_end (&builder); 898s # } 898s # 898s # static void 898s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 898s # { 898s # } 898s # 898s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 898s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 898s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 898s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 898s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 898s # 898s # #else 898s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 898s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 898s # 898s # #endif 898s # static void 898s # org_project_callable_iface_skeleton_finalize (GObject *object) 898s # { 898s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 898s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 898s # if (skeleton->priv->changed_properties_idle_source != NULL) 898s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 898s # g_main_context_unref (skeleton->priv->context); 898s # g_mutex_clear (&skeleton->priv->lock); 898s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 898s # } 898s # 898s # static void 898s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 898s # { 898s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 898s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 898s # #else 898s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 898s # #endif 898s # 898s # g_mutex_init (&skeleton->priv->lock); 898s # skeleton->priv->context = g_main_context_ref_thread_default (); 898s # } 898s # 898s # static void 898s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 898s # { 898s # GObjectClass *gobject_class; 898s # GDBusInterfaceSkeletonClass *skeleton_class; 898s # 898s # gobject_class = G_OBJECT_CLASS (klass); 898s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 898s # 898s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 898s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 898s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 898s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 898s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 898s # 898s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 898s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 898s # #endif 898s # } 898s # 898s # static void 898s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 898s # { 898s # } 898s # 898s # /** 898s # * org_project_callable_iface_skeleton_new: 898s # * 898s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 898s # * 898s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 898s # */ 898s # OrgProjectCallableIface * 898s # org_project_callable_iface_skeleton_new (void) 898s # { 898s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 898s # } 898s # 898s # /* ------------------------------------------------------------------------ 898s # * Code for interface org.project.OtherCallableIface 898s # * ------------------------------------------------------------------------ 898s # */ 898s # 898s # /** 898s # * SECTION:OrgProjectOtherCallableIface 898s # * @title: OrgProjectOtherCallableIface 898s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 898s # * 898s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 898s # */ 898s # 898s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 898s # 898s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 898s # { 898s # { 898s # -1, 898s # (gchar *) "SimpleMethod", 898s # NULL, 898s # NULL, 898s # NULL 898s # }, 898s # "handle-simple-method", 898s # FALSE 898s # }; 898s # 898s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 898s # { 898s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 898s # NULL 898s # }; 898s # 898s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 898s # { 898s # { 898s # -1, 898s # (gchar *) "org.project.OtherCallableIface", 898s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 898s # NULL, 898s # NULL, 898s # NULL 898s # }, 898s # "org-project-other-callable-iface", 898s # }; 898s # 898s # 898s # /** 898s # * org_project_other_callable_iface_interface_info: 898s # * 898s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 898s # * 898s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 898s # */ 898s # GDBusInterfaceInfo * 898s # org_project_other_callable_iface_interface_info (void) 898s # { 898s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 898s # } 898s # 898s # /** 898s # * org_project_other_callable_iface_override_properties: 898s # * @klass: The class structure for a #GObject derived class. 898s # * @property_id_begin: The property id to assign to the first overridden property. 898s # * 898s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 898s # * The properties are overridden in the order they are defined. 898s # * 898s # * Returns: The last property id. 898s # */ 898s # guint 898s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 898s # { 898s # return property_id_begin - 1; 898s # } 898s # 898s # 898s # inline static void 898s # org_project_other_callable_iface_method_marshal_simple_method ( 898s # GClosure *closure, 898s # GValue *return_value, 898s # unsigned int n_param_values, 898s # const GValue *param_values, 898s # void *invocation_hint, 898s # void *marshal_data) 898s # { 898s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 898s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 898s # } 898s # 898s # 898s # /** 898s # * OrgProjectOtherCallableIface: 898s # * 898s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 898s # */ 898s # 898s # /** 898s # * OrgProjectOtherCallableIfaceIface: 898s # * @parent_iface: The parent interface. 898s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 898s # * 898s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 898s # */ 898s # 898s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 898s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 898s # 898s # static void 898s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 898s # { 898s # /* GObject signals for incoming D-Bus method calls: */ 898s # /** 898s # * OrgProjectOtherCallableIface::handle-simple-method: 898s # * @object: A #OrgProjectOtherCallableIface. 898s # * @invocation: A #GDBusMethodInvocation. 898s # * 898s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 898s # * 898s # * 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. 898s # * 898s # * 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. 898s # */ 898s # g_signal_new ("handle-simple-method", 898s # G_TYPE_FROM_INTERFACE (iface), 898s # G_SIGNAL_RUN_LAST, 898s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 898s # g_signal_accumulator_true_handled, 898s # NULL, 898s # org_project_other_callable_iface_method_marshal_simple_method, 898s # G_TYPE_BOOLEAN, 898s # 1, 898s # G_TYPE_DBUS_METHOD_INVOCATION); 898s # 898s # } 898s # 898s # /** 898s # * org_project_other_callable_iface_call_simple_method: 898s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 898s # * @user_data: User data to pass to @callback. 898s # * 898s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 898s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 898s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 898s # * 898s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 898s # */ 898s # void 898s # org_project_other_callable_iface_call_simple_method ( 898s # OrgProjectOtherCallableIface *proxy, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data) 898s # { 898s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 898s # "SimpleMethod", 898s # g_variant_new ("()"), 898s # G_DBUS_CALL_FLAGS_NONE, 898s # -1, 898s # cancellable, 898s # callback, 898s # user_data); 898s # } 898s # 898s # /** 898s # * org_project_other_callable_iface_call_simple_method_finish: 898s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 898s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 898s # * @error: Return location for error or %NULL. 898s # * 898s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 898s # * 898s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 898s # */ 898s # gboolean 898s # org_project_other_callable_iface_call_simple_method_finish ( 898s # OrgProjectOtherCallableIface *proxy, 898s # GAsyncResult *res, 898s # GError **error) 898s # { 898s # GVariant *_ret; 898s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 898s # if (_ret == NULL) 898s # goto _out; 898s # g_variant_get (_ret, 898s # "()"); 898s # g_variant_unref (_ret); 898s # _out: 898s # return _ret != NULL; 898s # } 898s # 898s # /** 898s # * org_project_other_callable_iface_call_simple_method_sync: 898s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @error: Return location for error or %NULL. 898s # * 898s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 898s # * 898s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 898s # * 898s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 898s # */ 898s # gboolean 898s # org_project_other_callable_iface_call_simple_method_sync ( 898s # OrgProjectOtherCallableIface *proxy, 898s # GCancellable *cancellable, 898s # GError **error) 898s # { 898s # GVariant *_ret; 898s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 898s # "SimpleMethod", 898s # g_variant_new ("()"), 898s # G_DBUS_CALL_FLAGS_NONE, 898s # -1, 898s # cancellable, 898s # error); 898s # if (_ret == NULL) 898s # goto _out; 898s # g_variant_get (_ret, 898s # "()"); 898s # g_variant_unref (_ret); 898s # _out: 898s # return _ret != NULL; 898s # } 898s # 898s # /** 898s # * org_project_other_callable_iface_complete_simple_method: 898s # * @object: A #OrgProjectOtherCallableIface. 898s # * @invocation: (transfer full): A #GDBusMethodInvocation. 898s # * 898s # * 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. 898s # * 898s # * This method will free @invocation, you cannot use it afterwards. 898s # */ 898s # void 898s # org_project_other_callable_iface_complete_simple_method ( 898s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 898s # GDBusMethodInvocation *invocation) 898s # { 898s # g_dbus_method_invocation_return_value (invocation, 898s # g_variant_new ("()")); 898s # } 898s # 898s # /* ------------------------------------------------------------------------ */ 898s # 898s # /** 898s # * OrgProjectOtherCallableIfaceProxy: 898s # * 898s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 898s # */ 898s # 898s # /** 898s # * OrgProjectOtherCallableIfaceProxyClass: 898s # * @parent_class: The parent class. 898s # * 898s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 898s # */ 898s # 898s # struct _OrgProjectOtherCallableIfaceProxyPrivate 898s # { 898s # GData *qdata; 898s # }; 898s # 898s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 898s # 898s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 898s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 898s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 898s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 898s # 898s # #else 898s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 898s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 898s # 898s # #endif 898s # static void 898s # org_project_other_callable_iface_proxy_finalize (GObject *object) 898s # { 898s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 898s # g_datalist_clear (&proxy->priv->qdata); 898s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 898s # } 898s # 898s # static void 898s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 898s # guint prop_id G_GNUC_UNUSED, 898s # GValue *value G_GNUC_UNUSED, 898s # GParamSpec *pspec G_GNUC_UNUSED) 898s # { 898s # } 898s # 898s # static void 898s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 898s # guint prop_id G_GNUC_UNUSED, 898s # const GValue *value G_GNUC_UNUSED, 898s # GParamSpec *pspec G_GNUC_UNUSED) 898s # { 898s # } 898s # 898s # static void 898s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 898s # const gchar *sender_name G_GNUC_UNUSED, 898s # const gchar *signal_name, 898s # GVariant *parameters) 898s # { 898s # _ExtendedGDBusSignalInfo *info; 898s # GVariantIter iter; 898s # GVariant *child; 898s # GValue *paramv; 898s # gsize num_params; 898s # gsize n; 898s # guint signal_id; 898s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 898s # if (info == NULL) 898s # return; 898s # num_params = g_variant_n_children (parameters); 898s # paramv = g_new0 (GValue, num_params + 1); 898s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 898s # g_value_set_object (¶mv[0], proxy); 898s # g_variant_iter_init (&iter, parameters); 898s # n = 1; 898s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 898s # { 898s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 898s # if (arg_info->use_gvariant) 898s # { 898s # g_value_init (¶mv[n], G_TYPE_VARIANT); 898s # g_value_set_variant (¶mv[n], child); 898s # n++; 898s # } 898s # else 898s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 898s # g_variant_unref (child); 898s # } 898s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 898s # g_signal_emitv (paramv, signal_id, 0, NULL); 898s # for (n = 0; n < num_params + 1; n++) 898s # g_value_unset (¶mv[n]); 898s # g_free (paramv); 898s # } 898s # 898s # static void 898s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 898s # GVariant *changed_properties, 898s # const gchar *const *invalidated_properties) 898s # { 898s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 898s # guint n; 898s # const gchar *key; 898s # GVariantIter *iter; 898s # _ExtendedGDBusPropertyInfo *info; 898s # g_variant_get (changed_properties, "a{sv}", &iter); 898s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 898s # { 898s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 898s # g_datalist_remove_data (&proxy->priv->qdata, key); 898s # if (info != NULL) 898s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 898s # } 898s # g_variant_iter_free (iter); 898s # for (n = 0; invalidated_properties[n] != NULL; n++) 898s # { 898s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 898s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 898s # if (info != NULL) 898s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 898s # } 898s # } 898s # 898s # static void 898s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 898s # { 898s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 898s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 898s # #else 898s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 898s # #endif 898s # 898s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 898s # } 898s # 898s # static void 898s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 898s # { 898s # GObjectClass *gobject_class; 898s # GDBusProxyClass *proxy_class; 898s # 898s # gobject_class = G_OBJECT_CLASS (klass); 898s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 898s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 898s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 898s # 898s # proxy_class = G_DBUS_PROXY_CLASS (klass); 898s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 898s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 898s # 898s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 898s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 898s # #endif 898s # } 898s # 898s # static void 898s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 898s # { 898s # } 898s # 898s # /** 898s # * org_project_other_callable_iface_proxy_new: 898s # * @connection: A #GDBusConnection. 898s # * @flags: Flags from the #GDBusProxyFlags enumeration. 898s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 898s # * @object_path: An object path. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 898s # * @user_data: User data to pass to @callback. 898s # * 898s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 898s # * 898s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 898s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 898s # * 898s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 898s # */ 898s # void 898s # org_project_other_callable_iface_proxy_new ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data) 898s # { 898s # 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); 898s # } 898s # 898s # /** 898s # * org_project_other_callable_iface_proxy_new_finish: 898s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 898s # * @error: Return location for error or %NULL 898s # * 898s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 898s # * 898s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 898s # */ 898s # OrgProjectOtherCallableIface * 898s # org_project_other_callable_iface_proxy_new_finish ( 898s # GAsyncResult *res, 898s # GError **error) 898s # { 898s # GObject *ret; 898s # GObject *source_object; 898s # source_object = g_async_result_get_source_object (res); 898s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 898s # g_object_unref (source_object); 898s # if (ret != NULL) 898s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 898s # else 898s # return NULL; 898s # } 898s # 898s # /** 898s # * org_project_other_callable_iface_proxy_new_sync: 898s # * @connection: A #GDBusConnection. 898s # * @flags: Flags from the #GDBusProxyFlags enumeration. 898s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 898s # * @object_path: An object path. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @error: Return location for error or %NULL 898s # * 898s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 898s # * 898s # * The calling thread is blocked until a reply is received. 898s # * 898s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 898s # * 898s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 898s # */ 898s # OrgProjectOtherCallableIface * 898s # org_project_other_callable_iface_proxy_new_sync ( 898s # GDBusConnection *connection, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error) 898s # { 898s # GInitable *ret; 898s # 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); 898s # if (ret != NULL) 898s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 898s # else 898s # return NULL; 898s # } 898s # 898s # 898s # /** 898s # * org_project_other_callable_iface_proxy_new_for_bus: 898s # * @bus_type: A #GBusType. 898s # * @flags: Flags from the #GDBusProxyFlags enumeration. 898s # * @name: A bus name (well-known or unique). 898s # * @object_path: An object path. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 898s # * @user_data: User data to pass to @callback. 898s # * 898s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 898s # * 898s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 898s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 898s # * 898s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 898s # */ 898s # void 898s # org_project_other_callable_iface_proxy_new_for_bus ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GAsyncReadyCallback callback, 898s # gpointer user_data) 898s # { 898s # 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); 898s # } 898s # 898s # /** 898s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 898s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 898s # * @error: Return location for error or %NULL 898s # * 898s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 898s # * 898s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 898s # */ 898s # OrgProjectOtherCallableIface * 898s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 898s # GAsyncResult *res, 898s # GError **error) 898s # { 898s # GObject *ret; 898s # GObject *source_object; 898s # source_object = g_async_result_get_source_object (res); 898s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 898s # g_object_unref (source_object); 898s # if (ret != NULL) 898s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 898s # else 898s # return NULL; 898s # } 898s # 898s # /** 898s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 898s # * @bus_type: A #GBusType. 898s # * @flags: Flags from the #GDBusProxyFlags enumeration. 898s # * @name: A bus name (well-known or unique). 898s # * @object_path: An object path. 898s # * @cancellable: (nullable): A #GCancellable or %NULL. 898s # * @error: Return location for error or %NULL 898s # * 898s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 898s # * 898s # * The calling thread is blocked until a reply is received. 898s # * 898s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 898s # * 898s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 898s # */ 898s # OrgProjectOtherCallableIface * 898s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 898s # GBusType bus_type, 898s # GDBusProxyFlags flags, 898s # const gchar *name, 898s # const gchar *object_path, 898s # GCancellable *cancellable, 898s # GError **error) 898s # { 898s # GInitable *ret; 898s # 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); 898s # if (ret != NULL) 898s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 898s # else 898s # return NULL; 898s # } 898s # 898s # 898s # /* ------------------------------------------------------------------------ */ 898s # 898s # /** 898s # * OrgProjectOtherCallableIfaceSkeleton: 898s # * 898s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 898s # */ 898s # 898s # /** 898s # * OrgProjectOtherCallableIfaceSkeletonClass: 898s # * @parent_class: The parent class. 898s # * 898s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 898s # */ 898s # 898s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 898s # { 898s # GValue *properties; 898s # GList *changed_properties; 898s # GSource *changed_properties_idle_source; 898s # GMainContext *context; 898s # GMutex lock; 898s # }; 898s # 898s # static void 898s # _org_project_other_callable_iface_skeleton_handle_method_call ( 898s # GDBusConnection *connection G_GNUC_UNUSED, 898s # const gchar *sender G_GNUC_UNUSED, 898s # const gchar *object_path G_GNUC_UNUSED, 898s # const gchar *interface_name, 898s # const gchar *method_name, 898s # GVariant *parameters, 898s # GDBusMethodInvocation *invocation, 898s # gpointer user_data) 898s # { 898s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 898s # _ExtendedGDBusMethodInfo *info; 898s # GVariantIter iter; 898s # GVariant *child; 898s # GValue *paramv; 898s # gsize num_params; 898s # guint num_extra; 898s # gsize n; 898s # guint signal_id; 898s # GValue return_value = G_VALUE_INIT; 898s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 898s # g_assert (info != NULL); 898s # num_params = g_variant_n_children (parameters); 898s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 898s # n = 0; 898s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 898s # g_value_set_object (¶mv[n++], skeleton); 898s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 898s # g_value_set_object (¶mv[n++], invocation); 898s # if (info->pass_fdlist) 898s # { 898s # #ifdef G_OS_UNIX 898s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 898s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 898s # #else 898s # g_assert_not_reached (); 898s # #endif 898s # } 898s # g_variant_iter_init (&iter, parameters); 898s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 898s # { 898s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 898s # if (arg_info->use_gvariant) 898s # { 898s # g_value_init (¶mv[n], G_TYPE_VARIANT); 898s # g_value_set_variant (¶mv[n], child); 898s # n++; 898s # } 898s # else 898s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 898s # g_variant_unref (child); 898s # } 898s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 898s # g_value_init (&return_value, G_TYPE_BOOLEAN); 898s # g_signal_emitv (paramv, signal_id, 0, &return_value); 898s # if (!g_value_get_boolean (&return_value)) 898s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 898s # g_value_unset (&return_value); 898s # for (n = 0; n < num_params + num_extra; n++) 898s # g_value_unset (¶mv[n]); 898s # g_free (paramv); 898s # } 898s # 898s # static GVariant * 898s # _org_project_other_callable_iface_skeleton_handle_get_property ( 898s # GDBusConnection *connection G_GNUC_UNUSED, 898s # const gchar *sender G_GNUC_UNUSED, 898s # const gchar *object_path G_GNUC_UNUSED, 898s # const gchar *interface_name G_GNUC_UNUSED, 898s # const gchar *property_name, 898s # GError **error, 898s # gpointer user_data) 898s # { 898s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 898s # GValue value = G_VALUE_INIT; 898s # GParamSpec *pspec; 898s # _ExtendedGDBusPropertyInfo *info; 898s # GVariant *ret; 898s # ret = NULL; 898s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 898s # g_assert (info != NULL); 898s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 898s # if (pspec == NULL) 898s # { 898s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 898s # } 898s # else 898s # { 898s # g_value_init (&value, pspec->value_type); 898s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 898s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 898s # g_value_unset (&value); 898s # } 898s # return ret; 898s # } 898s # 898s # static gboolean 898s # _org_project_other_callable_iface_skeleton_handle_set_property ( 898s # GDBusConnection *connection G_GNUC_UNUSED, 898s # const gchar *sender G_GNUC_UNUSED, 898s # const gchar *object_path G_GNUC_UNUSED, 898s # const gchar *interface_name G_GNUC_UNUSED, 898s # const gchar *property_name, 898s # GVariant *variant, 898s # GError **error, 898s # gpointer user_data) 898s # { 898s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 898s # GValue value = G_VALUE_INIT; 898s # GParamSpec *pspec; 898s # _ExtendedGDBusPropertyInfo *info; 898s # gboolean ret; 898s # ret = FALSE; 898s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 898s # g_assert (info != NULL); 898s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 898s # if (pspec == NULL) 898s # { 898s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 898s # } 898s # else 898s # { 898s # if (info->use_gvariant) 898s # g_value_set_variant (&value, variant); 898s # else 898s # g_dbus_gvariant_to_gvalue (variant, &value); 898s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 898s # g_value_unset (&value); 898s # ret = TRUE; 898s # } 898s # return ret; 898s # } 898s # 898s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 898s # { 898s # _org_project_other_callable_iface_skeleton_handle_method_call, 898s # _org_project_other_callable_iface_skeleton_handle_get_property, 898s # _org_project_other_callable_iface_skeleton_handle_set_property, 898s # {NULL} 898s # }; 898s # 898s # static GDBusInterfaceInfo * 898s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 898s # { 898s # return org_project_other_callable_iface_interface_info (); 898s # } 898s # 898s # static GDBusInterfaceVTable * 898s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 898s # { 898s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 898s # } 898s # 898s # static GVariant * 898s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 898s # { 898s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 898s # 898s # GVariantBuilder builder; 898s # guint n; 898s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 898s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 898s # goto out; 898s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 898s # { 898s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 898s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 898s # { 898s # GVariant *value; 898s # 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); 898s # if (value != NULL) 898s # { 898s # g_variant_take_ref (value); 898s # g_variant_builder_add (&builder, "{sv}", info->name, value); 898s # g_variant_unref (value); 898s # } 898s # } 898s # } 898s # out: 898s # return g_variant_builder_end (&builder); 898s # } 898s # 898s # static void 898s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 898s # { 898s # } 898s # 898s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 898s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 898s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 898s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 898s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 898s # 898s # #else 898s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 898s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 898s # 898s # #endif 898s # static void 898s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 898s # { 898s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 898s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 898s # if (skeleton->priv->changed_properties_idle_source != NULL) 898s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 898s # g_main_context_unref (skeleton->priv->context); 898s # g_mutex_clear (&skeleton->priv->lock); 898s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 898s # } 898s # 898s # static void 898s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 898s # { 898s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 898s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 898s # #else 898s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 898s # #endif 898s # 898s # g_mutex_init (&skeleton->priv->lock); 898s # skeleton->priv->context = g_main_context_ref_thread_default (); 898s # } 898s # 898s # static void 898s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 898s # { 898s # GObjectClass *gobject_class; 898s # GDBusInterfaceSkeletonClass *skeleton_class; 898s # 898s # gobject_class = G_OBJECT_CLASS (klass); 898s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 898s # 898s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 898s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 898s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 898s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 898s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 898s # 898s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 898s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 898s # #endif 898s # } 898s # 898s # static void 898s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 898s # { 898s # } 898s # 898s # /** 898s # * org_project_other_callable_iface_skeleton_new: 898s # * 898s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 898s # * 898s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 898s # */ 898s # OrgProjectOtherCallableIface * 898s # org_project_other_callable_iface_skeleton_new (void) 898s # { 898s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 898s # } 899s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 899s # tmpdir: /tmp/tmpprbwje52 899s # codegen: /usr/bin/gdbus-codegen 899s # /tmp/tmpprbwje52/tmplh9hrxe8.xml: 899s # 899s # 899s # 899s # 899s # 899s # 899s # 899s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprbwje52/tmplh9hrxe8.xml', '--output', '-', '--body'] 899s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 899s # Output: /* 899s # * This file is generated by gdbus-codegen, do not modify it. 899s # * 899s # * The license of this code is the same as for the D-Bus interface description 899s # * it was derived from. Note that it links to GLib, so must comply with the 899s # * LGPL linking clauses. 899s # */ 899s # 899s # #ifdef HAVE_CONFIG_H 899s # # include "config.h" 899s # #endif 899s # 899s # #include 899s # #ifdef G_OS_UNIX 899s # # include 899s # #endif 899s # 899s # #ifdef G_ENABLE_DEBUG 899s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 899s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 899s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 899s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 899s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 899s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 899s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 899s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 899s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 899s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 899s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 899s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 899s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 899s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 899s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 899s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 899s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 899s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 899s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 899s # #else /* !G_ENABLE_DEBUG */ 899s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 899s # * Do not access GValues directly in your code. Instead, use the 899s # * g_value_get_*() functions 899s # */ 899s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 899s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 899s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 899s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 899s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 899s # #endif /* !G_ENABLE_DEBUG */ 899s # 899s # typedef struct 899s # { 899s # GDBusArgInfo parent_struct; 899s # gboolean use_gvariant; 899s # } _ExtendedGDBusArgInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusMethodInfo parent_struct; 899s # const gchar *signal_name; 899s # gboolean pass_fdlist; 899s # } _ExtendedGDBusMethodInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusSignalInfo parent_struct; 899s # const gchar *signal_name; 899s # } _ExtendedGDBusSignalInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusPropertyInfo parent_struct; 899s # const gchar *hyphen_name; 899s # guint use_gvariant : 1; 899s # guint emits_changed_signal : 1; 899s # } _ExtendedGDBusPropertyInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusInterfaceInfo parent_struct; 899s # const gchar *hyphen_name; 899s # } _ExtendedGDBusInterfaceInfo; 899s # 899s # typedef struct 899s # { 899s # const _ExtendedGDBusPropertyInfo *info; 899s # guint prop_id; 899s # GValue orig_value; /* the value before the change */ 899s # } ChangedProperty; 899s # 899s # static void 899s # _changed_property_free (ChangedProperty *data) 899s # { 899s # g_value_unset (&data->orig_value); 899s # g_free (data); 899s # } 899s # 899s # static gboolean 899s # _g_strv_equal0 (gchar **a, gchar **b) 899s # { 899s # gboolean ret = FALSE; 899s # guint n; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # if (g_strv_length (a) != g_strv_length (b)) 899s # goto out; 899s # for (n = 0; a[n] != NULL; n++) 899s # if (g_strcmp0 (a[n], b[n]) != 0) 899s # goto out; 899s # ret = TRUE; 899s # out: 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _g_variant_equal0 (GVariant *a, GVariant *b) 899s # { 899s # gboolean ret = FALSE; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # ret = g_variant_equal (a, b); 899s # out: 899s # return ret; 899s # } 899s # 899s # G_GNUC_UNUSED static gboolean 899s # _g_value_equal (const GValue *a, const GValue *b) 899s # { 899s # gboolean ret = FALSE; 899s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 899s # switch (G_VALUE_TYPE (a)) 899s # { 899s # case G_TYPE_BOOLEAN: 899s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 899s # break; 899s # case G_TYPE_UCHAR: 899s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 899s # break; 899s # case G_TYPE_INT: 899s # ret = (g_value_get_int (a) == g_value_get_int (b)); 899s # break; 899s # case G_TYPE_UINT: 899s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 899s # break; 899s # case G_TYPE_INT64: 899s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 899s # break; 899s # case G_TYPE_UINT64: 899s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 899s # break; 899s # case G_TYPE_DOUBLE: 899s # { 899s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 899s # gdouble da = g_value_get_double (a); 899s # gdouble db = g_value_get_double (b); 899s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 899s # } 899s # break; 899s # case G_TYPE_STRING: 899s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 899s # break; 899s # case G_TYPE_VARIANT: 899s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 899s # break; 899s # default: 899s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 899s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 899s # else 899s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 899s # break; 899s # } 899s # return ret; 899s # } 899s # 899s # static void 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint G_GNUC_UNUSED, 899s # void *marshal_data) 899s # { 899s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 899s # (void *data1, 899s # GDBusMethodInvocation *arg_method_invocation, 899s # gboolean arg_arg_b, 899s # void *data2); 899s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 899s # GCClosure *cc = (GCClosure*) closure; 899s # void *data1, *data2; 899s # gboolean v_return; 899s # 899s # g_return_if_fail (return_value != NULL); 899s # g_return_if_fail (n_param_values == 3); 899s # 899s # if (G_CCLOSURE_SWAP_DATA (closure)) 899s # { 899s # data1 = closure->data; 899s # data2 = g_value_peek_pointer (param_values + 0); 899s # } 899s # else 899s # { 899s # data1 = g_value_peek_pointer (param_values + 0); 899s # data2 = closure->data; 899s # } 899s # 899s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 899s # (marshal_data ? marshal_data : cc->callback); 899s # 899s # v_return = 899s # callback (data1, 899s # g_marshal_value_peek_object (param_values + 1), 899s # g_marshal_value_peek_boolean (param_values + 2), 899s # data2); 899s # 899s # g_value_set_boolean (return_value, v_return); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ 899s # * Code for interface org.project.UsefulInterface 899s # * ------------------------------------------------------------------------ 899s # */ 899s # 899s # /** 899s # * SECTION:OrgProjectUsefulInterface 899s # * @title: OrgProjectUsefulInterface 899s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 899s # * 899s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 899s # */ 899s # 899s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 899s # 899s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 899s # { 899s # { 899s # -1, 899s # (gchar *) "arg_b", 899s # (gchar *) "b", 899s # NULL 899s # }, 899s # FALSE 899s # }; 899s # 899s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 899s # { 899s # { 899s # -1, 899s # (gchar *) "SingleArgMethodB", 899s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 899s # NULL, 899s # NULL 899s # }, 899s # "handle-single-arg-method-b", 899s # FALSE 899s # }; 899s # 899s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 899s # { 899s # { 899s # -1, 899s # (gchar *) "org.project.UsefulInterface", 899s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 899s # NULL, 899s # NULL, 899s # NULL 899s # }, 899s # "org-project-useful-interface", 899s # }; 899s # 899s # 899s # /** 899s # * org_project_useful_interface_interface_info: 899s # * 899s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 899s # * 899s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 899s # */ 899s # GDBusInterfaceInfo * 899s # org_project_useful_interface_interface_info (void) 899s # { 899s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_override_properties: 899s # * @klass: The class structure for a #GObject derived class. 899s # * @property_id_begin: The property id to assign to the first overridden property. 899s # * 899s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 899s # * The properties are overridden in the order they are defined. 899s # * 899s # * Returns: The last property id. 899s # */ 899s # guint 899s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 899s # { 899s # return property_id_begin - 1; 899s # } 899s # 899s # 899s # inline static void 899s # org_project_useful_interface_method_marshal_single_arg_method_b ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint, 899s # void *marshal_data) 899s # { 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 899s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 899s # } 899s # 899s # 899s # /** 899s # * OrgProjectUsefulInterface: 899s # * 899s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceIface: 899s # * @parent_iface: The parent interface. 899s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 899s # * 899s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 899s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 899s # 899s # static void 899s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 899s # { 899s # /* GObject signals for incoming D-Bus method calls: */ 899s # /** 899s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: A #GDBusMethodInvocation. 899s # * @arg_arg_b: Argument passed by remote caller. 899s # * 899s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 899s # * 899s # * 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. 899s # * 899s # * 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. 899s # */ 899s # g_signal_new ("handle-single-arg-method-b", 899s # G_TYPE_FROM_INTERFACE (iface), 899s # G_SIGNAL_RUN_LAST, 899s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 899s # g_signal_accumulator_true_handled, 899s # NULL, 899s # org_project_useful_interface_method_marshal_single_arg_method_b, 899s # G_TYPE_BOOLEAN, 899s # 2, 899s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 899s # 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_b: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_b: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 899s # */ 899s # void 899s # org_project_useful_interface_call_single_arg_method_b ( 899s # OrgProjectUsefulInterface *proxy, 899s # gboolean arg_arg_b, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodB", 899s # g_variant_new ("(b)", 899s # arg_arg_b), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # callback, 899s # user_data); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_b_finish: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_b_finish ( 899s # OrgProjectUsefulInterface *proxy, 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_b_sync: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_b: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_b_sync ( 899s # OrgProjectUsefulInterface *proxy, 899s # gboolean arg_arg_b, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodB", 899s # g_variant_new ("(b)", 899s # arg_arg_b), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_complete_single_arg_method_b: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: (transfer full): A #GDBusMethodInvocation. 899s # * 899s # * 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. 899s # * 899s # * This method will free @invocation, you cannot use it afterwards. 899s # */ 899s # void 899s # org_project_useful_interface_complete_single_arg_method_b ( 899s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 899s # GDBusMethodInvocation *invocation) 899s # { 899s # g_dbus_method_invocation_return_value (invocation, 899s # g_variant_new ("()")); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxy: 899s # * 899s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxyClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceProxy. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceProxyPrivate 899s # { 899s # GData *qdata; 899s # }; 899s # 899s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_proxy_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 899s # g_datalist_clear (&proxy->priv->qdata); 899s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # const GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 899s # const gchar *sender_name G_GNUC_UNUSED, 899s # const gchar *signal_name, 899s # GVariant *parameters) 899s # { 899s # _ExtendedGDBusSignalInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # gsize n; 899s # guint signal_id; 899s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 899s # if (info == NULL) 899s # return; 899s # num_params = g_variant_n_children (parameters); 899s # paramv = g_new0 (GValue, num_params + 1); 899s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[0], proxy); 899s # g_variant_iter_init (&iter, parameters); 899s # n = 1; 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_signal_emitv (paramv, signal_id, 0, NULL); 899s # for (n = 0; n < num_params + 1; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 899s # GVariant *changed_properties, 899s # const gchar *const *invalidated_properties) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 899s # guint n; 899s # const gchar *key; 899s # GVariantIter *iter; 899s # _ExtendedGDBusPropertyInfo *info; 899s # g_variant_get (changed_properties, "a{sv}", &iter); 899s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 899s # g_datalist_remove_data (&proxy->priv->qdata, key); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # g_variant_iter_free (iter); 899s # for (n = 0; invalidated_properties[n] != NULL; n++) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 899s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 899s # #else 899s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 899s # #endif 899s # 899s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusProxyClass *proxy_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 899s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 899s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 899s # 899s # proxy_class = G_DBUS_PROXY_CLASS (klass); 899s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 899s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_sync: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_sync ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new_for_bus ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_sync: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_sync ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeleton: 899s # * 899s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeletonClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 899s # { 899s # GValue *properties; 899s # GList *changed_properties; 899s # GSource *changed_properties_idle_source; 899s # GMainContext *context; 899s # GMutex lock; 899s # }; 899s # 899s # static void 899s # _org_project_useful_interface_skeleton_handle_method_call ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name, 899s # const gchar *method_name, 899s # GVariant *parameters, 899s # GDBusMethodInvocation *invocation, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # _ExtendedGDBusMethodInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # guint num_extra; 899s # gsize n; 899s # guint signal_id; 899s # GValue return_value = G_VALUE_INIT; 899s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 899s # g_assert (info != NULL); 899s # num_params = g_variant_n_children (parameters); 899s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 899s # n = 0; 899s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[n++], skeleton); 899s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 899s # g_value_set_object (¶mv[n++], invocation); 899s # if (info->pass_fdlist) 899s # { 899s # #ifdef G_OS_UNIX 899s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 899s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 899s # #else 899s # g_assert_not_reached (); 899s # #endif 899s # } 899s # g_variant_iter_init (&iter, parameters); 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_init (&return_value, G_TYPE_BOOLEAN); 899s # g_signal_emitv (paramv, signal_id, 0, &return_value); 899s # if (!g_value_get_boolean (&return_value)) 899s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 899s # g_value_unset (&return_value); 899s # for (n = 0; n < num_params + num_extra; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static GVariant * 899s # _org_project_useful_interface_skeleton_handle_get_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # GVariant *ret; 899s # ret = NULL; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # g_value_init (&value, pspec->value_type); 899s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 899s # g_value_unset (&value); 899s # } 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _org_project_useful_interface_skeleton_handle_set_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GVariant *variant, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # gboolean ret; 899s # ret = FALSE; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # if (info->use_gvariant) 899s # g_value_set_variant (&value, variant); 899s # else 899s # g_dbus_gvariant_to_gvalue (variant, &value); 899s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # g_value_unset (&value); 899s # ret = TRUE; 899s # } 899s # return ret; 899s # } 899s # 899s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 899s # { 899s # _org_project_useful_interface_skeleton_handle_method_call, 899s # _org_project_useful_interface_skeleton_handle_get_property, 899s # _org_project_useful_interface_skeleton_handle_set_property, 899s # {NULL} 899s # }; 899s # 899s # static GDBusInterfaceInfo * 899s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return org_project_useful_interface_interface_info (); 899s # } 899s # 899s # static GDBusInterfaceVTable * 899s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 899s # } 899s # 899s # static GVariant * 899s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 899s # 899s # GVariantBuilder builder; 899s # guint n; 899s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 899s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 899s # goto out; 899s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 899s # { 899s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 899s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 899s # { 899s # GVariant *value; 899s # 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); 899s # if (value != NULL) 899s # { 899s # g_variant_take_ref (value); 899s # g_variant_builder_add (&builder, "{sv}", info->name, value); 899s # g_variant_unref (value); 899s # } 899s # } 899s # } 899s # out: 899s # return g_variant_builder_end (&builder); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_skeleton_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 899s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 899s # if (skeleton->priv->changed_properties_idle_source != NULL) 899s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 899s # g_main_context_unref (skeleton->priv->context); 899s # g_mutex_clear (&skeleton->priv->lock); 899s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 899s # #else 899s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 899s # #endif 899s # 899s # g_mutex_init (&skeleton->priv->lock); 899s # skeleton->priv->context = g_main_context_ref_thread_default (); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusInterfaceSkeletonClass *skeleton_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 899s # 899s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 899s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 899s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 899s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 899s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_skeleton_new: 899s # * 899s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_skeleton_new (void) 899s # { 899s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 899s # } 899s # /tmp/tmpprbwje52/tmp68d8n73l.xml: 899s # 899s # 899s # 899s # 899s # 899s # 899s # 899s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprbwje52/tmp68d8n73l.xml', '--output', '-', '--body'] 899s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 899s # Output: /* 899s # * This file is generated by gdbus-codegen, do not modify it. 899s # * 899s # * The license of this code is the same as for the D-Bus interface description 899s # * it was derived from. Note that it links to GLib, so must comply with the 899s # * LGPL linking clauses. 899s # */ 899s # 899s # #ifdef HAVE_CONFIG_H 899s # # include "config.h" 899s # #endif 899s # 899s # #include 899s # #ifdef G_OS_UNIX 899s # # include 899s # #endif 899s # 899s # #ifdef G_ENABLE_DEBUG 899s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 899s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 899s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 899s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 899s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 899s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 899s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 899s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 899s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 899s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 899s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 899s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 899s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 899s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 899s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 899s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 899s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 899s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 899s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 899s # #else /* !G_ENABLE_DEBUG */ 899s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 899s # * Do not access GValues directly in your code. Instead, use the 899s # * g_value_get_*() functions 899s # */ 899s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 899s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 899s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 899s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 899s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 899s # #endif /* !G_ENABLE_DEBUG */ 899s # 899s # typedef struct 899s # { 899s # GDBusArgInfo parent_struct; 899s # gboolean use_gvariant; 899s # } _ExtendedGDBusArgInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusMethodInfo parent_struct; 899s # const gchar *signal_name; 899s # gboolean pass_fdlist; 899s # } _ExtendedGDBusMethodInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusSignalInfo parent_struct; 899s # const gchar *signal_name; 899s # } _ExtendedGDBusSignalInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusPropertyInfo parent_struct; 899s # const gchar *hyphen_name; 899s # guint use_gvariant : 1; 899s # guint emits_changed_signal : 1; 899s # } _ExtendedGDBusPropertyInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusInterfaceInfo parent_struct; 899s # const gchar *hyphen_name; 899s # } _ExtendedGDBusInterfaceInfo; 899s # 899s # typedef struct 899s # { 899s # const _ExtendedGDBusPropertyInfo *info; 899s # guint prop_id; 899s # GValue orig_value; /* the value before the change */ 899s # } ChangedProperty; 899s # 899s # static void 899s # _changed_property_free (ChangedProperty *data) 899s # { 899s # g_value_unset (&data->orig_value); 899s # g_free (data); 899s # } 899s # 899s # static gboolean 899s # _g_strv_equal0 (gchar **a, gchar **b) 899s # { 899s # gboolean ret = FALSE; 899s # guint n; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # if (g_strv_length (a) != g_strv_length (b)) 899s # goto out; 899s # for (n = 0; a[n] != NULL; n++) 899s # if (g_strcmp0 (a[n], b[n]) != 0) 899s # goto out; 899s # ret = TRUE; 899s # out: 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _g_variant_equal0 (GVariant *a, GVariant *b) 899s # { 899s # gboolean ret = FALSE; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # ret = g_variant_equal (a, b); 899s # out: 899s # return ret; 899s # } 899s # 899s # G_GNUC_UNUSED static gboolean 899s # _g_value_equal (const GValue *a, const GValue *b) 899s # { 899s # gboolean ret = FALSE; 899s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 899s # switch (G_VALUE_TYPE (a)) 899s # { 899s # case G_TYPE_BOOLEAN: 899s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 899s # break; 899s # case G_TYPE_UCHAR: 899s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 899s # break; 899s # case G_TYPE_INT: 899s # ret = (g_value_get_int (a) == g_value_get_int (b)); 899s # break; 899s # case G_TYPE_UINT: 899s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 899s # break; 899s # case G_TYPE_INT64: 899s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 899s # break; 899s # case G_TYPE_UINT64: 899s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 899s # break; 899s # case G_TYPE_DOUBLE: 899s # { 899s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 899s # gdouble da = g_value_get_double (a); 899s # gdouble db = g_value_get_double (b); 899s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 899s # } 899s # break; 899s # case G_TYPE_STRING: 899s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 899s # break; 899s # case G_TYPE_VARIANT: 899s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 899s # break; 899s # default: 899s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 899s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 899s # else 899s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 899s # break; 899s # } 899s # return ret; 899s # } 899s # 899s # static void 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint G_GNUC_UNUSED, 899s # void *marshal_data) 899s # { 899s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 899s # (void *data1, 899s # GDBusMethodInvocation *arg_method_invocation, 899s # guchar arg_arg_y, 899s # void *data2); 899s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 899s # GCClosure *cc = (GCClosure*) closure; 899s # void *data1, *data2; 899s # gboolean v_return; 899s # 899s # g_return_if_fail (return_value != NULL); 899s # g_return_if_fail (n_param_values == 3); 899s # 899s # if (G_CCLOSURE_SWAP_DATA (closure)) 899s # { 899s # data1 = closure->data; 899s # data2 = g_value_peek_pointer (param_values + 0); 899s # } 899s # else 899s # { 899s # data1 = g_value_peek_pointer (param_values + 0); 899s # data2 = closure->data; 899s # } 899s # 899s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 899s # (marshal_data ? marshal_data : cc->callback); 899s # 899s # v_return = 899s # callback (data1, 899s # g_marshal_value_peek_object (param_values + 1), 899s # g_marshal_value_peek_uchar (param_values + 2), 899s # data2); 899s # 899s # g_value_set_boolean (return_value, v_return); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ 899s # * Code for interface org.project.UsefulInterface 899s # * ------------------------------------------------------------------------ 899s # */ 899s # 899s # /** 899s # * SECTION:OrgProjectUsefulInterface 899s # * @title: OrgProjectUsefulInterface 899s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 899s # * 899s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 899s # */ 899s # 899s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 899s # 899s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 899s # { 899s # { 899s # -1, 899s # (gchar *) "arg_y", 899s # (gchar *) "y", 899s # NULL 899s # }, 899s # FALSE 899s # }; 899s # 899s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 899s # { 899s # { 899s # -1, 899s # (gchar *) "SingleArgMethodY", 899s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 899s # NULL, 899s # NULL 899s # }, 899s # "handle-single-arg-method-y", 899s # FALSE 899s # }; 899s # 899s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 899s # { 899s # { 899s # -1, 899s # (gchar *) "org.project.UsefulInterface", 899s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 899s # NULL, 899s # NULL, 899s # NULL 899s # }, 899s # "org-project-useful-interface", 899s # }; 899s # 899s # 899s # /** 899s # * org_project_useful_interface_interface_info: 899s # * 899s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 899s # * 899s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 899s # */ 899s # GDBusInterfaceInfo * 899s # org_project_useful_interface_interface_info (void) 899s # { 899s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_override_properties: 899s # * @klass: The class structure for a #GObject derived class. 899s # * @property_id_begin: The property id to assign to the first overridden property. 899s # * 899s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 899s # * The properties are overridden in the order they are defined. 899s # * 899s # * Returns: The last property id. 899s # */ 899s # guint 899s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 899s # { 899s # return property_id_begin - 1; 899s # } 899s # 899s # 899s # inline static void 899s # org_project_useful_interface_method_marshal_single_arg_method_y ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint, 899s # void *marshal_data) 899s # { 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 899s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 899s # } 899s # 899s # 899s # /** 899s # * OrgProjectUsefulInterface: 899s # * 899s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceIface: 899s # * @parent_iface: The parent interface. 899s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 899s # * 899s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 899s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 899s # 899s # static void 899s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 899s # { 899s # /* GObject signals for incoming D-Bus method calls: */ 899s # /** 899s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: A #GDBusMethodInvocation. 899s # * @arg_arg_y: Argument passed by remote caller. 899s # * 899s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 899s # * 899s # * 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. 899s # * 899s # * 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. 899s # */ 899s # g_signal_new ("handle-single-arg-method-y", 899s # G_TYPE_FROM_INTERFACE (iface), 899s # G_SIGNAL_RUN_LAST, 899s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 899s # g_signal_accumulator_true_handled, 899s # NULL, 899s # org_project_useful_interface_method_marshal_single_arg_method_y, 899s # G_TYPE_BOOLEAN, 899s # 2, 899s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 899s # 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_y: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_y: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 899s # */ 899s # void 899s # org_project_useful_interface_call_single_arg_method_y ( 899s # OrgProjectUsefulInterface *proxy, 899s # guchar arg_arg_y, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodY", 899s # g_variant_new ("(y)", 899s # arg_arg_y), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # callback, 899s # user_data); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_y_finish: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_y_finish ( 899s # OrgProjectUsefulInterface *proxy, 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_y_sync: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_y: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_y_sync ( 899s # OrgProjectUsefulInterface *proxy, 899s # guchar arg_arg_y, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodY", 899s # g_variant_new ("(y)", 899s # arg_arg_y), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_complete_single_arg_method_y: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: (transfer full): A #GDBusMethodInvocation. 899s # * 899s # * 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. 899s # * 899s # * This method will free @invocation, you cannot use it afterwards. 899s # */ 899s # void 899s # org_project_useful_interface_complete_single_arg_method_y ( 899s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 899s # GDBusMethodInvocation *invocation) 899s # { 899s # g_dbus_method_invocation_return_value (invocation, 899s # g_variant_new ("()")); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxy: 899s # * 899s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxyClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceProxy. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceProxyPrivate 899s # { 899s # GData *qdata; 899s # }; 899s # 899s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_proxy_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 899s # g_datalist_clear (&proxy->priv->qdata); 899s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # const GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 899s # const gchar *sender_name G_GNUC_UNUSED, 899s # const gchar *signal_name, 899s # GVariant *parameters) 899s # { 899s # _ExtendedGDBusSignalInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # gsize n; 899s # guint signal_id; 899s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 899s # if (info == NULL) 899s # return; 899s # num_params = g_variant_n_children (parameters); 899s # paramv = g_new0 (GValue, num_params + 1); 899s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[0], proxy); 899s # g_variant_iter_init (&iter, parameters); 899s # n = 1; 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_signal_emitv (paramv, signal_id, 0, NULL); 899s # for (n = 0; n < num_params + 1; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 899s # GVariant *changed_properties, 899s # const gchar *const *invalidated_properties) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 899s # guint n; 899s # const gchar *key; 899s # GVariantIter *iter; 899s # _ExtendedGDBusPropertyInfo *info; 899s # g_variant_get (changed_properties, "a{sv}", &iter); 899s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 899s # g_datalist_remove_data (&proxy->priv->qdata, key); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # g_variant_iter_free (iter); 899s # for (n = 0; invalidated_properties[n] != NULL; n++) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 899s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 899s # #else 899s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 899s # #endif 899s # 899s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusProxyClass *proxy_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 899s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 899s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 899s # 899s # proxy_class = G_DBUS_PROXY_CLASS (klass); 899s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 899s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_sync: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_sync ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new_for_bus ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_sync: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_sync ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeleton: 899s # * 899s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeletonClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 899s # { 899s # GValue *properties; 899s # GList *changed_properties; 899s # GSource *changed_properties_idle_source; 899s # GMainContext *context; 899s # GMutex lock; 899s # }; 899s # 899s # static void 899s # _org_project_useful_interface_skeleton_handle_method_call ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name, 899s # const gchar *method_name, 899s # GVariant *parameters, 899s # GDBusMethodInvocation *invocation, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # _ExtendedGDBusMethodInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # guint num_extra; 899s # gsize n; 899s # guint signal_id; 899s # GValue return_value = G_VALUE_INIT; 899s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 899s # g_assert (info != NULL); 899s # num_params = g_variant_n_children (parameters); 899s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 899s # n = 0; 899s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[n++], skeleton); 899s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 899s # g_value_set_object (¶mv[n++], invocation); 899s # if (info->pass_fdlist) 899s # { 899s # #ifdef G_OS_UNIX 899s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 899s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 899s # #else 899s # g_assert_not_reached (); 899s # #endif 899s # } 899s # g_variant_iter_init (&iter, parameters); 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_init (&return_value, G_TYPE_BOOLEAN); 899s # g_signal_emitv (paramv, signal_id, 0, &return_value); 899s # if (!g_value_get_boolean (&return_value)) 899s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 899s # g_value_unset (&return_value); 899s # for (n = 0; n < num_params + num_extra; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static GVariant * 899s # _org_project_useful_interface_skeleton_handle_get_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # GVariant *ret; 899s # ret = NULL; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # g_value_init (&value, pspec->value_type); 899s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 899s # g_value_unset (&value); 899s # } 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _org_project_useful_interface_skeleton_handle_set_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GVariant *variant, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # gboolean ret; 899s # ret = FALSE; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # if (info->use_gvariant) 899s # g_value_set_variant (&value, variant); 899s # else 899s # g_dbus_gvariant_to_gvalue (variant, &value); 899s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # g_value_unset (&value); 899s # ret = TRUE; 899s # } 899s # return ret; 899s # } 899s # 899s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 899s # { 899s # _org_project_useful_interface_skeleton_handle_method_call, 899s # _org_project_useful_interface_skeleton_handle_get_property, 899s # _org_project_useful_interface_skeleton_handle_set_property, 899s # {NULL} 899s # }; 899s # 899s # static GDBusInterfaceInfo * 899s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return org_project_useful_interface_interface_info (); 899s # } 899s # 899s # static GDBusInterfaceVTable * 899s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 899s # } 899s # 899s # static GVariant * 899s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 899s # 899s # GVariantBuilder builder; 899s # guint n; 899s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 899s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 899s # goto out; 899s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 899s # { 899s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 899s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 899s # { 899s # GVariant *value; 899s # 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); 899s # if (value != NULL) 899s # { 899s # g_variant_take_ref (value); 899s # g_variant_builder_add (&builder, "{sv}", info->name, value); 899s # g_variant_unref (value); 899s # } 899s # } 899s # } 899s # out: 899s # return g_variant_builder_end (&builder); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_skeleton_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 899s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 899s # if (skeleton->priv->changed_properties_idle_source != NULL) 899s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 899s # g_main_context_unref (skeleton->priv->context); 899s # g_mutex_clear (&skeleton->priv->lock); 899s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 899s # #else 899s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 899s # #endif 899s # 899s # g_mutex_init (&skeleton->priv->lock); 899s # skeleton->priv->context = g_main_context_ref_thread_default (); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusInterfaceSkeletonClass *skeleton_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 899s # 899s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 899s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 899s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 899s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 899s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_skeleton_new: 899s # * 899s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_skeleton_new (void) 899s # { 899s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 899s # } 899s # /tmp/tmpprbwje52/tmpui_czlbx.xml: 899s # 899s # 899s # 899s # 899s # 899s # 899s # 899s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprbwje52/tmpui_czlbx.xml', '--output', '-', '--body'] 899s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 899s # Output: /* 899s # * This file is generated by gdbus-codegen, do not modify it. 899s # * 899s # * The license of this code is the same as for the D-Bus interface description 899s # * it was derived from. Note that it links to GLib, so must comply with the 899s # * LGPL linking clauses. 899s # */ 899s # 899s # #ifdef HAVE_CONFIG_H 899s # # include "config.h" 899s # #endif 899s # 899s # #include 899s # #ifdef G_OS_UNIX 899s # # include 899s # #endif 899s # 899s # #ifdef G_ENABLE_DEBUG 899s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 899s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 899s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 899s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 899s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 899s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 899s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 899s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 899s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 899s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 899s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 899s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 899s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 899s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 899s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 899s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 899s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 899s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 899s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 899s # #else /* !G_ENABLE_DEBUG */ 899s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 899s # * Do not access GValues directly in your code. Instead, use the 899s # * g_value_get_*() functions 899s # */ 899s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 899s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 899s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 899s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 899s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 899s # #endif /* !G_ENABLE_DEBUG */ 899s # 899s # typedef struct 899s # { 899s # GDBusArgInfo parent_struct; 899s # gboolean use_gvariant; 899s # } _ExtendedGDBusArgInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusMethodInfo parent_struct; 899s # const gchar *signal_name; 899s # gboolean pass_fdlist; 899s # } _ExtendedGDBusMethodInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusSignalInfo parent_struct; 899s # const gchar *signal_name; 899s # } _ExtendedGDBusSignalInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusPropertyInfo parent_struct; 899s # const gchar *hyphen_name; 899s # guint use_gvariant : 1; 899s # guint emits_changed_signal : 1; 899s # } _ExtendedGDBusPropertyInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusInterfaceInfo parent_struct; 899s # const gchar *hyphen_name; 899s # } _ExtendedGDBusInterfaceInfo; 899s # 899s # typedef struct 899s # { 899s # const _ExtendedGDBusPropertyInfo *info; 899s # guint prop_id; 899s # GValue orig_value; /* the value before the change */ 899s # } ChangedProperty; 899s # 899s # static void 899s # _changed_property_free (ChangedProperty *data) 899s # { 899s # g_value_unset (&data->orig_value); 899s # g_free (data); 899s # } 899s # 899s # static gboolean 899s # _g_strv_equal0 (gchar **a, gchar **b) 899s # { 899s # gboolean ret = FALSE; 899s # guint n; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # if (g_strv_length (a) != g_strv_length (b)) 899s # goto out; 899s # for (n = 0; a[n] != NULL; n++) 899s # if (g_strcmp0 (a[n], b[n]) != 0) 899s # goto out; 899s # ret = TRUE; 899s # out: 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _g_variant_equal0 (GVariant *a, GVariant *b) 899s # { 899s # gboolean ret = FALSE; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # ret = g_variant_equal (a, b); 899s # out: 899s # return ret; 899s # } 899s # 899s # G_GNUC_UNUSED static gboolean 899s # _g_value_equal (const GValue *a, const GValue *b) 899s # { 899s # gboolean ret = FALSE; 899s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 899s # switch (G_VALUE_TYPE (a)) 899s # { 899s # case G_TYPE_BOOLEAN: 899s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 899s # break; 899s # case G_TYPE_UCHAR: 899s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 899s # break; 899s # case G_TYPE_INT: 899s # ret = (g_value_get_int (a) == g_value_get_int (b)); 899s # break; 899s # case G_TYPE_UINT: 899s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 899s # break; 899s # case G_TYPE_INT64: 899s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 899s # break; 899s # case G_TYPE_UINT64: 899s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 899s # break; 899s # case G_TYPE_DOUBLE: 899s # { 899s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 899s # gdouble da = g_value_get_double (a); 899s # gdouble db = g_value_get_double (b); 899s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 899s # } 899s # break; 899s # case G_TYPE_STRING: 899s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 899s # break; 899s # case G_TYPE_VARIANT: 899s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 899s # break; 899s # default: 899s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 899s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 899s # else 899s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 899s # break; 899s # } 899s # return ret; 899s # } 899s # 899s # static void 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint G_GNUC_UNUSED, 899s # void *marshal_data) 899s # { 899s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 899s # (void *data1, 899s # GDBusMethodInvocation *arg_method_invocation, 899s # gint16 arg_arg_n, 899s # void *data2); 899s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 899s # GCClosure *cc = (GCClosure*) closure; 899s # void *data1, *data2; 899s # gboolean v_return; 899s # 899s # g_return_if_fail (return_value != NULL); 899s # g_return_if_fail (n_param_values == 3); 899s # 899s # if (G_CCLOSURE_SWAP_DATA (closure)) 899s # { 899s # data1 = closure->data; 899s # data2 = g_value_peek_pointer (param_values + 0); 899s # } 899s # else 899s # { 899s # data1 = g_value_peek_pointer (param_values + 0); 899s # data2 = closure->data; 899s # } 899s # 899s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 899s # (marshal_data ? marshal_data : cc->callback); 899s # 899s # v_return = 899s # callback (data1, 899s # g_marshal_value_peek_object (param_values + 1), 899s # g_marshal_value_peek_int (param_values + 2), 899s # data2); 899s # 899s # g_value_set_boolean (return_value, v_return); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ 899s # * Code for interface org.project.UsefulInterface 899s # * ------------------------------------------------------------------------ 899s # */ 899s # 899s # /** 899s # * SECTION:OrgProjectUsefulInterface 899s # * @title: OrgProjectUsefulInterface 899s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 899s # * 899s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 899s # */ 899s # 899s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 899s # 899s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 899s # { 899s # { 899s # -1, 899s # (gchar *) "arg_n", 899s # (gchar *) "n", 899s # NULL 899s # }, 899s # FALSE 899s # }; 899s # 899s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 899s # { 899s # { 899s # -1, 899s # (gchar *) "SingleArgMethodN", 899s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 899s # NULL, 899s # NULL 899s # }, 899s # "handle-single-arg-method-n", 899s # FALSE 899s # }; 899s # 899s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 899s # { 899s # { 899s # -1, 899s # (gchar *) "org.project.UsefulInterface", 899s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 899s # NULL, 899s # NULL, 899s # NULL 899s # }, 899s # "org-project-useful-interface", 899s # }; 899s # 899s # 899s # /** 899s # * org_project_useful_interface_interface_info: 899s # * 899s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 899s # * 899s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 899s # */ 899s # GDBusInterfaceInfo * 899s # org_project_useful_interface_interface_info (void) 899s # { 899s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_override_properties: 899s # * @klass: The class structure for a #GObject derived class. 899s # * @property_id_begin: The property id to assign to the first overridden property. 899s # * 899s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 899s # * The properties are overridden in the order they are defined. 899s # * 899s # * Returns: The last property id. 899s # */ 899s # guint 899s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 899s # { 899s # return property_id_begin - 1; 899s # } 899s # 899s # 899s # inline static void 899s # org_project_useful_interface_method_marshal_single_arg_method_n ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint, 899s # void *marshal_data) 899s # { 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 899s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 899s # } 899s # 899s # 899s # /** 899s # * OrgProjectUsefulInterface: 899s # * 899s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceIface: 899s # * @parent_iface: The parent interface. 899s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 899s # * 899s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 899s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 899s # 899s # static void 899s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 899s # { 899s # /* GObject signals for incoming D-Bus method calls: */ 899s # /** 899s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: A #GDBusMethodInvocation. 899s # * @arg_arg_n: Argument passed by remote caller. 899s # * 899s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 899s # * 899s # * 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. 899s # * 899s # * 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. 899s # */ 899s # g_signal_new ("handle-single-arg-method-n", 899s # G_TYPE_FROM_INTERFACE (iface), 899s # G_SIGNAL_RUN_LAST, 899s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 899s # g_signal_accumulator_true_handled, 899s # NULL, 899s # org_project_useful_interface_method_marshal_single_arg_method_n, 899s # G_TYPE_BOOLEAN, 899s # 2, 899s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 899s # 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_n: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_n: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 899s # */ 899s # void 899s # org_project_useful_interface_call_single_arg_method_n ( 899s # OrgProjectUsefulInterface *proxy, 899s # gint16 arg_arg_n, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodN", 899s # g_variant_new ("(n)", 899s # arg_arg_n), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # callback, 899s # user_data); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_n_finish: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_n_finish ( 899s # OrgProjectUsefulInterface *proxy, 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_n_sync: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_n: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_n_sync ( 899s # OrgProjectUsefulInterface *proxy, 899s # gint16 arg_arg_n, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodN", 899s # g_variant_new ("(n)", 899s # arg_arg_n), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_complete_single_arg_method_n: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: (transfer full): A #GDBusMethodInvocation. 899s # * 899s # * 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. 899s # * 899s # * This method will free @invocation, you cannot use it afterwards. 899s # */ 899s # void 899s # org_project_useful_interface_complete_single_arg_method_n ( 899s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 899s # GDBusMethodInvocation *invocation) 899s # { 899s # g_dbus_method_invocation_return_value (invocation, 899s # g_variant_new ("()")); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxy: 899s # * 899s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxyClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceProxy. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceProxyPrivate 899s # { 899s # GData *qdata; 899s # }; 899s # 899s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_proxy_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 899s # g_datalist_clear (&proxy->priv->qdata); 899s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # const GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 899s # const gchar *sender_name G_GNUC_UNUSED, 899s # const gchar *signal_name, 899s # GVariant *parameters) 899s # { 899s # _ExtendedGDBusSignalInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # gsize n; 899s # guint signal_id; 899s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 899s # if (info == NULL) 899s # return; 899s # num_params = g_variant_n_children (parameters); 899s # paramv = g_new0 (GValue, num_params + 1); 899s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[0], proxy); 899s # g_variant_iter_init (&iter, parameters); 899s # n = 1; 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_signal_emitv (paramv, signal_id, 0, NULL); 899s # for (n = 0; n < num_params + 1; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 899s # GVariant *changed_properties, 899s # const gchar *const *invalidated_properties) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 899s # guint n; 899s # const gchar *key; 899s # GVariantIter *iter; 899s # _ExtendedGDBusPropertyInfo *info; 899s # g_variant_get (changed_properties, "a{sv}", &iter); 899s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 899s # g_datalist_remove_data (&proxy->priv->qdata, key); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # g_variant_iter_free (iter); 899s # for (n = 0; invalidated_properties[n] != NULL; n++) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 899s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 899s # #else 899s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 899s # #endif 899s # 899s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusProxyClass *proxy_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 899s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 899s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 899s # 899s # proxy_class = G_DBUS_PROXY_CLASS (klass); 899s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 899s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_sync: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_sync ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new_for_bus ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_sync: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_sync ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeleton: 899s # * 899s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeletonClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 899s # { 899s # GValue *properties; 899s # GList *changed_properties; 899s # GSource *changed_properties_idle_source; 899s # GMainContext *context; 899s # GMutex lock; 899s # }; 899s # 899s # static void 899s # _org_project_useful_interface_skeleton_handle_method_call ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name, 899s # const gchar *method_name, 899s # GVariant *parameters, 899s # GDBusMethodInvocation *invocation, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # _ExtendedGDBusMethodInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # guint num_extra; 899s # gsize n; 899s # guint signal_id; 899s # GValue return_value = G_VALUE_INIT; 899s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 899s # g_assert (info != NULL); 899s # num_params = g_variant_n_children (parameters); 899s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 899s # n = 0; 899s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[n++], skeleton); 899s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 899s # g_value_set_object (¶mv[n++], invocation); 899s # if (info->pass_fdlist) 899s # { 899s # #ifdef G_OS_UNIX 899s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 899s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 899s # #else 899s # g_assert_not_reached (); 899s # #endif 899s # } 899s # g_variant_iter_init (&iter, parameters); 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_init (&return_value, G_TYPE_BOOLEAN); 899s # g_signal_emitv (paramv, signal_id, 0, &return_value); 899s # if (!g_value_get_boolean (&return_value)) 899s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 899s # g_value_unset (&return_value); 899s # for (n = 0; n < num_params + num_extra; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static GVariant * 899s # _org_project_useful_interface_skeleton_handle_get_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # GVariant *ret; 899s # ret = NULL; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # g_value_init (&value, pspec->value_type); 899s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 899s # g_value_unset (&value); 899s # } 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _org_project_useful_interface_skeleton_handle_set_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GVariant *variant, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # gboolean ret; 899s # ret = FALSE; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # if (info->use_gvariant) 899s # g_value_set_variant (&value, variant); 899s # else 899s # g_dbus_gvariant_to_gvalue (variant, &value); 899s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # g_value_unset (&value); 899s # ret = TRUE; 899s # } 899s # return ret; 899s # } 899s # 899s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 899s # { 899s # _org_project_useful_interface_skeleton_handle_method_call, 899s # _org_project_useful_interface_skeleton_handle_get_property, 899s # _org_project_useful_interface_skeleton_handle_set_property, 899s # {NULL} 899s # }; 899s # 899s # static GDBusInterfaceInfo * 899s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return org_project_useful_interface_interface_info (); 899s # } 899s # 899s # static GDBusInterfaceVTable * 899s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 899s # } 899s # 899s # static GVariant * 899s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 899s # 899s # GVariantBuilder builder; 899s # guint n; 899s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 899s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 899s # goto out; 899s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 899s # { 899s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 899s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 899s # { 899s # GVariant *value; 899s # 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); 899s # if (value != NULL) 899s # { 899s # g_variant_take_ref (value); 899s # g_variant_builder_add (&builder, "{sv}", info->name, value); 899s # g_variant_unref (value); 899s # } 899s # } 899s # } 899s # out: 899s # return g_variant_builder_end (&builder); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_skeleton_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 899s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 899s # if (skeleton->priv->changed_properties_idle_source != NULL) 899s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 899s # g_main_context_unref (skeleton->priv->context); 899s # g_mutex_clear (&skeleton->priv->lock); 899s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 899s # #else 899s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 899s # #endif 899s # 899s # g_mutex_init (&skeleton->priv->lock); 899s # skeleton->priv->context = g_main_context_ref_thread_default (); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusInterfaceSkeletonClass *skeleton_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 899s # 899s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 899s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 899s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 899s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 899s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_skeleton_new: 899s # * 899s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_skeleton_new (void) 899s # { 899s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 899s # } 899s # /tmp/tmpprbwje52/tmphd600a0v.xml: 899s # 899s # 899s # 899s # 899s # 899s # 899s # 899s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprbwje52/tmphd600a0v.xml', '--output', '-', '--body'] 899s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 899s # Output: /* 899s # * This file is generated by gdbus-codegen, do not modify it. 899s # * 899s # * The license of this code is the same as for the D-Bus interface description 899s # * it was derived from. Note that it links to GLib, so must comply with the 899s # * LGPL linking clauses. 899s # */ 899s # 899s # #ifdef HAVE_CONFIG_H 899s # # include "config.h" 899s # #endif 899s # 899s # #include 899s # #ifdef G_OS_UNIX 899s # # include 899s # #endif 899s # 899s # #ifdef G_ENABLE_DEBUG 899s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 899s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 899s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 899s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 899s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 899s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 899s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 899s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 899s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 899s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 899s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 899s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 899s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 899s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 899s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 899s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 899s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 899s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 899s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 899s # #else /* !G_ENABLE_DEBUG */ 899s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 899s # * Do not access GValues directly in your code. Instead, use the 899s # * g_value_get_*() functions 899s # */ 899s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 899s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 899s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 899s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 899s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 899s # #endif /* !G_ENABLE_DEBUG */ 899s # 899s # typedef struct 899s # { 899s # GDBusArgInfo parent_struct; 899s # gboolean use_gvariant; 899s # } _ExtendedGDBusArgInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusMethodInfo parent_struct; 899s # const gchar *signal_name; 899s # gboolean pass_fdlist; 899s # } _ExtendedGDBusMethodInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusSignalInfo parent_struct; 899s # const gchar *signal_name; 899s # } _ExtendedGDBusSignalInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusPropertyInfo parent_struct; 899s # const gchar *hyphen_name; 899s # guint use_gvariant : 1; 899s # guint emits_changed_signal : 1; 899s # } _ExtendedGDBusPropertyInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusInterfaceInfo parent_struct; 899s # const gchar *hyphen_name; 899s # } _ExtendedGDBusInterfaceInfo; 899s # 899s # typedef struct 899s # { 899s # const _ExtendedGDBusPropertyInfo *info; 899s # guint prop_id; 899s # GValue orig_value; /* the value before the change */ 899s # } ChangedProperty; 899s # 899s # static void 899s # _changed_property_free (ChangedProperty *data) 899s # { 899s # g_value_unset (&data->orig_value); 899s # g_free (data); 899s # } 899s # 899s # static gboolean 899s # _g_strv_equal0 (gchar **a, gchar **b) 899s # { 899s # gboolean ret = FALSE; 899s # guint n; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # if (g_strv_length (a) != g_strv_length (b)) 899s # goto out; 899s # for (n = 0; a[n] != NULL; n++) 899s # if (g_strcmp0 (a[n], b[n]) != 0) 899s # goto out; 899s # ret = TRUE; 899s # out: 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _g_variant_equal0 (GVariant *a, GVariant *b) 899s # { 899s # gboolean ret = FALSE; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # ret = g_variant_equal (a, b); 899s # out: 899s # return ret; 899s # } 899s # 899s # G_GNUC_UNUSED static gboolean 899s # _g_value_equal (const GValue *a, const GValue *b) 899s # { 899s # gboolean ret = FALSE; 899s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 899s # switch (G_VALUE_TYPE (a)) 899s # { 899s # case G_TYPE_BOOLEAN: 899s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 899s # break; 899s # case G_TYPE_UCHAR: 899s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 899s # break; 899s # case G_TYPE_INT: 899s # ret = (g_value_get_int (a) == g_value_get_int (b)); 899s # break; 899s # case G_TYPE_UINT: 899s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 899s # break; 899s # case G_TYPE_INT64: 899s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 899s # break; 899s # case G_TYPE_UINT64: 899s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 899s # break; 899s # case G_TYPE_DOUBLE: 899s # { 899s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 899s # gdouble da = g_value_get_double (a); 899s # gdouble db = g_value_get_double (b); 899s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 899s # } 899s # break; 899s # case G_TYPE_STRING: 899s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 899s # break; 899s # case G_TYPE_VARIANT: 899s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 899s # break; 899s # default: 899s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 899s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 899s # else 899s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 899s # break; 899s # } 899s # return ret; 899s # } 899s # 899s # static void 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint G_GNUC_UNUSED, 899s # void *marshal_data) 899s # { 899s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 899s # (void *data1, 899s # GDBusMethodInvocation *arg_method_invocation, 899s # guint16 arg_arg_q, 899s # void *data2); 899s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 899s # GCClosure *cc = (GCClosure*) closure; 899s # void *data1, *data2; 899s # gboolean v_return; 899s # 899s # g_return_if_fail (return_value != NULL); 899s # g_return_if_fail (n_param_values == 3); 899s # 899s # if (G_CCLOSURE_SWAP_DATA (closure)) 899s # { 899s # data1 = closure->data; 899s # data2 = g_value_peek_pointer (param_values + 0); 899s # } 899s # else 899s # { 899s # data1 = g_value_peek_pointer (param_values + 0); 899s # data2 = closure->data; 899s # } 899s # 899s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 899s # (marshal_data ? marshal_data : cc->callback); 899s # 899s # v_return = 899s # callback (data1, 899s # g_marshal_value_peek_object (param_values + 1), 899s # g_marshal_value_peek_uint (param_values + 2), 899s # data2); 899s # 899s # g_value_set_boolean (return_value, v_return); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ 899s # * Code for interface org.project.UsefulInterface 899s # * ------------------------------------------------------------------------ 899s # */ 899s # 899s # /** 899s # * SECTION:OrgProjectUsefulInterface 899s # * @title: OrgProjectUsefulInterface 899s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 899s # * 899s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 899s # */ 899s # 899s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 899s # 899s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 899s # { 899s # { 899s # -1, 899s # (gchar *) "arg_q", 899s # (gchar *) "q", 899s # NULL 899s # }, 899s # FALSE 899s # }; 899s # 899s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 899s # { 899s # { 899s # -1, 899s # (gchar *) "SingleArgMethodQ", 899s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 899s # NULL, 899s # NULL 899s # }, 899s # "handle-single-arg-method-q", 899s # FALSE 899s # }; 899s # 899s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 899s # { 899s # { 899s # -1, 899s # (gchar *) "org.project.UsefulInterface", 899s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 899s # NULL, 899s # NULL, 899s # NULL 899s # }, 899s # "org-project-useful-interface", 899s # }; 899s # 899s # 899s # /** 899s # * org_project_useful_interface_interface_info: 899s # * 899s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 899s # * 899s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 899s # */ 899s # GDBusInterfaceInfo * 899s # org_project_useful_interface_interface_info (void) 899s # { 899s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_override_properties: 899s # * @klass: The class structure for a #GObject derived class. 899s # * @property_id_begin: The property id to assign to the first overridden property. 899s # * 899s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 899s # * The properties are overridden in the order they are defined. 899s # * 899s # * Returns: The last property id. 899s # */ 899s # guint 899s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 899s # { 899s # return property_id_begin - 1; 899s # } 899s # 899s # 899s # inline static void 899s # org_project_useful_interface_method_marshal_single_arg_method_q ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint, 899s # void *marshal_data) 899s # { 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 899s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 899s # } 899s # 899s # 899s # /** 899s # * OrgProjectUsefulInterface: 899s # * 899s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceIface: 899s # * @parent_iface: The parent interface. 899s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 899s # * 899s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 899s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 899s # 899s # static void 899s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 899s # { 899s # /* GObject signals for incoming D-Bus method calls: */ 899s # /** 899s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: A #GDBusMethodInvocation. 899s # * @arg_arg_q: Argument passed by remote caller. 899s # * 899s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 899s # * 899s # * 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. 899s # * 899s # * 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. 899s # */ 899s # g_signal_new ("handle-single-arg-method-q", 899s # G_TYPE_FROM_INTERFACE (iface), 899s # G_SIGNAL_RUN_LAST, 899s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 899s # g_signal_accumulator_true_handled, 899s # NULL, 899s # org_project_useful_interface_method_marshal_single_arg_method_q, 899s # G_TYPE_BOOLEAN, 899s # 2, 899s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 899s # 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_q: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_q: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 899s # */ 899s # void 899s # org_project_useful_interface_call_single_arg_method_q ( 899s # OrgProjectUsefulInterface *proxy, 899s # guint16 arg_arg_q, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodQ", 899s # g_variant_new ("(q)", 899s # arg_arg_q), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # callback, 899s # user_data); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_q_finish: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_q_finish ( 899s # OrgProjectUsefulInterface *proxy, 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_q_sync: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_q: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_q_sync ( 899s # OrgProjectUsefulInterface *proxy, 899s # guint16 arg_arg_q, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodQ", 899s # g_variant_new ("(q)", 899s # arg_arg_q), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_complete_single_arg_method_q: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: (transfer full): A #GDBusMethodInvocation. 899s # * 899s # * 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. 899s # * 899s # * This method will free @invocation, you cannot use it afterwards. 899s # */ 899s # void 899s # org_project_useful_interface_complete_single_arg_method_q ( 899s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 899s # GDBusMethodInvocation *invocation) 899s # { 899s # g_dbus_method_invocation_return_value (invocation, 899s # g_variant_new ("()")); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxy: 899s # * 899s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxyClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceProxy. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceProxyPrivate 899s # { 899s # GData *qdata; 899s # }; 899s # 899s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_proxy_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 899s # g_datalist_clear (&proxy->priv->qdata); 899s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # const GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 899s # const gchar *sender_name G_GNUC_UNUSED, 899s # const gchar *signal_name, 899s # GVariant *parameters) 899s # { 899s # _ExtendedGDBusSignalInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # gsize n; 899s # guint signal_id; 899s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 899s # if (info == NULL) 899s # return; 899s # num_params = g_variant_n_children (parameters); 899s # paramv = g_new0 (GValue, num_params + 1); 899s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[0], proxy); 899s # g_variant_iter_init (&iter, parameters); 899s # n = 1; 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_signal_emitv (paramv, signal_id, 0, NULL); 899s # for (n = 0; n < num_params + 1; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 899s # GVariant *changed_properties, 899s # const gchar *const *invalidated_properties) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 899s # guint n; 899s # const gchar *key; 899s # GVariantIter *iter; 899s # _ExtendedGDBusPropertyInfo *info; 899s # g_variant_get (changed_properties, "a{sv}", &iter); 899s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 899s # g_datalist_remove_data (&proxy->priv->qdata, key); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # g_variant_iter_free (iter); 899s # for (n = 0; invalidated_properties[n] != NULL; n++) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 899s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 899s # #else 899s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 899s # #endif 899s # 899s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusProxyClass *proxy_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 899s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 899s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 899s # 899s # proxy_class = G_DBUS_PROXY_CLASS (klass); 899s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 899s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_sync: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_sync ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new_for_bus ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_sync: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_sync ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeleton: 899s # * 899s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeletonClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 899s # { 899s # GValue *properties; 899s # GList *changed_properties; 899s # GSource *changed_properties_idle_source; 899s # GMainContext *context; 899s # GMutex lock; 899s # }; 899s # 899s # static void 899s # _org_project_useful_interface_skeleton_handle_method_call ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name, 899s # const gchar *method_name, 899s # GVariant *parameters, 899s # GDBusMethodInvocation *invocation, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # _ExtendedGDBusMethodInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # guint num_extra; 899s # gsize n; 899s # guint signal_id; 899s # GValue return_value = G_VALUE_INIT; 899s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 899s # g_assert (info != NULL); 899s # num_params = g_variant_n_children (parameters); 899s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 899s # n = 0; 899s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[n++], skeleton); 899s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 899s # g_value_set_object (¶mv[n++], invocation); 899s # if (info->pass_fdlist) 899s # { 899s # #ifdef G_OS_UNIX 899s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 899s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 899s # #else 899s # g_assert_not_reached (); 899s # #endif 899s # } 899s # g_variant_iter_init (&iter, parameters); 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_init (&return_value, G_TYPE_BOOLEAN); 899s # g_signal_emitv (paramv, signal_id, 0, &return_value); 899s # if (!g_value_get_boolean (&return_value)) 899s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 899s # g_value_unset (&return_value); 899s # for (n = 0; n < num_params + num_extra; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static GVariant * 899s # _org_project_useful_interface_skeleton_handle_get_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # GVariant *ret; 899s # ret = NULL; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # g_value_init (&value, pspec->value_type); 899s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 899s # g_value_unset (&value); 899s # } 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _org_project_useful_interface_skeleton_handle_set_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GVariant *variant, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # gboolean ret; 899s # ret = FALSE; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # if (info->use_gvariant) 899s # g_value_set_variant (&value, variant); 899s # else 899s # g_dbus_gvariant_to_gvalue (variant, &value); 899s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # g_value_unset (&value); 899s # ret = TRUE; 899s # } 899s # return ret; 899s # } 899s # 899s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 899s # { 899s # _org_project_useful_interface_skeleton_handle_method_call, 899s # _org_project_useful_interface_skeleton_handle_get_property, 899s # _org_project_useful_interface_skeleton_handle_set_property, 899s # {NULL} 899s # }; 899s # 899s # static GDBusInterfaceInfo * 899s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return org_project_useful_interface_interface_info (); 899s # } 899s # 899s # static GDBusInterfaceVTable * 899s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 899s # } 899s # 899s # static GVariant * 899s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 899s # 899s # GVariantBuilder builder; 899s # guint n; 899s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 899s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 899s # goto out; 899s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 899s # { 899s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 899s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 899s # { 899s # GVariant *value; 899s # 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); 899s # if (value != NULL) 899s # { 899s # g_variant_take_ref (value); 899s # g_variant_builder_add (&builder, "{sv}", info->name, value); 899s # g_variant_unref (value); 899s # } 899s # } 899s # } 899s # out: 899s # return g_variant_builder_end (&builder); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_skeleton_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 899s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 899s # if (skeleton->priv->changed_properties_idle_source != NULL) 899s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 899s # g_main_context_unref (skeleton->priv->context); 899s # g_mutex_clear (&skeleton->priv->lock); 899s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 899s # #else 899s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 899s # #endif 899s # 899s # g_mutex_init (&skeleton->priv->lock); 899s # skeleton->priv->context = g_main_context_ref_thread_default (); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusInterfaceSkeletonClass *skeleton_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 899s # 899s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 899s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 899s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 899s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 899s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_skeleton_new: 899s # * 899s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_skeleton_new (void) 899s # { 899s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 899s # } 899s # /tmp/tmpprbwje52/tmpnlbnbeee.xml: 899s # 899s # 899s # 899s # 899s # 899s # 899s # 899s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprbwje52/tmpnlbnbeee.xml', '--output', '-', '--body'] 899s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 899s # Output: /* 899s # * This file is generated by gdbus-codegen, do not modify it. 899s # * 899s # * The license of this code is the same as for the D-Bus interface description 899s # * it was derived from. Note that it links to GLib, so must comply with the 899s # * LGPL linking clauses. 899s # */ 899s # 899s # #ifdef HAVE_CONFIG_H 899s # # include "config.h" 899s # #endif 899s # 899s # #include 899s # #ifdef G_OS_UNIX 899s # # include 899s # #endif 899s # 899s # #ifdef G_ENABLE_DEBUG 899s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 899s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 899s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 899s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 899s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 899s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 899s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 899s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 899s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 899s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 899s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 899s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 899s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 899s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 899s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 899s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 899s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 899s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 899s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 899s # #else /* !G_ENABLE_DEBUG */ 899s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 899s # * Do not access GValues directly in your code. Instead, use the 899s # * g_value_get_*() functions 899s # */ 899s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 899s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 899s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 899s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 899s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 899s # #endif /* !G_ENABLE_DEBUG */ 899s # 899s # typedef struct 899s # { 899s # GDBusArgInfo parent_struct; 899s # gboolean use_gvariant; 899s # } _ExtendedGDBusArgInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusMethodInfo parent_struct; 899s # const gchar *signal_name; 899s # gboolean pass_fdlist; 899s # } _ExtendedGDBusMethodInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusSignalInfo parent_struct; 899s # const gchar *signal_name; 899s # } _ExtendedGDBusSignalInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusPropertyInfo parent_struct; 899s # const gchar *hyphen_name; 899s # guint use_gvariant : 1; 899s # guint emits_changed_signal : 1; 899s # } _ExtendedGDBusPropertyInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusInterfaceInfo parent_struct; 899s # const gchar *hyphen_name; 899s # } _ExtendedGDBusInterfaceInfo; 899s # 899s # typedef struct 899s # { 899s # const _ExtendedGDBusPropertyInfo *info; 899s # guint prop_id; 899s # GValue orig_value; /* the value before the change */ 899s # } ChangedProperty; 899s # 899s # static void 899s # _changed_property_free (ChangedProperty *data) 899s # { 899s # g_value_unset (&data->orig_value); 899s # g_free (data); 899s # } 899s # 899s # static gboolean 899s # _g_strv_equal0 (gchar **a, gchar **b) 899s # { 899s # gboolean ret = FALSE; 899s # guint n; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # if (g_strv_length (a) != g_strv_length (b)) 899s # goto out; 899s # for (n = 0; a[n] != NULL; n++) 899s # if (g_strcmp0 (a[n], b[n]) != 0) 899s # goto out; 899s # ret = TRUE; 899s # out: 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _g_variant_equal0 (GVariant *a, GVariant *b) 899s # { 899s # gboolean ret = FALSE; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # ret = g_variant_equal (a, b); 899s # out: 899s # return ret; 899s # } 899s # 899s # G_GNUC_UNUSED static gboolean 899s # _g_value_equal (const GValue *a, const GValue *b) 899s # { 899s # gboolean ret = FALSE; 899s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 899s # switch (G_VALUE_TYPE (a)) 899s # { 899s # case G_TYPE_BOOLEAN: 899s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 899s # break; 899s # case G_TYPE_UCHAR: 899s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 899s # break; 899s # case G_TYPE_INT: 899s # ret = (g_value_get_int (a) == g_value_get_int (b)); 899s # break; 899s # case G_TYPE_UINT: 899s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 899s # break; 899s # case G_TYPE_INT64: 899s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 899s # break; 899s # case G_TYPE_UINT64: 899s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 899s # break; 899s # case G_TYPE_DOUBLE: 899s # { 899s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 899s # gdouble da = g_value_get_double (a); 899s # gdouble db = g_value_get_double (b); 899s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 899s # } 899s # break; 899s # case G_TYPE_STRING: 899s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 899s # break; 899s # case G_TYPE_VARIANT: 899s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 899s # break; 899s # default: 899s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 899s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 899s # else 899s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 899s # break; 899s # } 899s # return ret; 899s # } 899s # 899s # static void 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint G_GNUC_UNUSED, 899s # void *marshal_data) 899s # { 899s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 899s # (void *data1, 899s # GDBusMethodInvocation *arg_method_invocation, 899s # gint arg_arg_i, 899s # void *data2); 899s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 899s # GCClosure *cc = (GCClosure*) closure; 899s # void *data1, *data2; 899s # gboolean v_return; 899s # 899s # g_return_if_fail (return_value != NULL); 899s # g_return_if_fail (n_param_values == 3); 899s # 899s # if (G_CCLOSURE_SWAP_DATA (closure)) 899s # { 899s # data1 = closure->data; 899s # data2 = g_value_peek_pointer (param_values + 0); 899s # } 899s # else 899s # { 899s # data1 = g_value_peek_pointer (param_values + 0); 899s # data2 = closure->data; 899s # } 899s # 899s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 899s # (marshal_data ? marshal_data : cc->callback); 899s # 899s # v_return = 899s # callback (data1, 899s # g_marshal_value_peek_object (param_values + 1), 899s # g_marshal_value_peek_int (param_values + 2), 899s # data2); 899s # 899s # g_value_set_boolean (return_value, v_return); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ 899s # * Code for interface org.project.UsefulInterface 899s # * ------------------------------------------------------------------------ 899s # */ 899s # 899s # /** 899s # * SECTION:OrgProjectUsefulInterface 899s # * @title: OrgProjectUsefulInterface 899s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 899s # * 899s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 899s # */ 899s # 899s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 899s # 899s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 899s # { 899s # { 899s # -1, 899s # (gchar *) "arg_i", 899s # (gchar *) "i", 899s # NULL 899s # }, 899s # FALSE 899s # }; 899s # 899s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 899s # { 899s # { 899s # -1, 899s # (gchar *) "SingleArgMethodI", 899s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 899s # NULL, 899s # NULL 899s # }, 899s # "handle-single-arg-method-i", 899s # FALSE 899s # }; 899s # 899s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 899s # { 899s # { 899s # -1, 899s # (gchar *) "org.project.UsefulInterface", 899s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 899s # NULL, 899s # NULL, 899s # NULL 899s # }, 899s # "org-project-useful-interface", 899s # }; 899s # 899s # 899s # /** 899s # * org_project_useful_interface_interface_info: 899s # * 899s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 899s # * 899s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 899s # */ 899s # GDBusInterfaceInfo * 899s # org_project_useful_interface_interface_info (void) 899s # { 899s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_override_properties: 899s # * @klass: The class structure for a #GObject derived class. 899s # * @property_id_begin: The property id to assign to the first overridden property. 899s # * 899s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 899s # * The properties are overridden in the order they are defined. 899s # * 899s # * Returns: The last property id. 899s # */ 899s # guint 899s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 899s # { 899s # return property_id_begin - 1; 899s # } 899s # 899s # 899s # inline static void 899s # org_project_useful_interface_method_marshal_single_arg_method_i ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint, 899s # void *marshal_data) 899s # { 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 899s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 899s # } 899s # 899s # 899s # /** 899s # * OrgProjectUsefulInterface: 899s # * 899s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceIface: 899s # * @parent_iface: The parent interface. 899s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 899s # * 899s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 899s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 899s # 899s # static void 899s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 899s # { 899s # /* GObject signals for incoming D-Bus method calls: */ 899s # /** 899s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: A #GDBusMethodInvocation. 899s # * @arg_arg_i: Argument passed by remote caller. 899s # * 899s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 899s # * 899s # * 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. 899s # * 899s # * 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. 899s # */ 899s # g_signal_new ("handle-single-arg-method-i", 899s # G_TYPE_FROM_INTERFACE (iface), 899s # G_SIGNAL_RUN_LAST, 899s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 899s # g_signal_accumulator_true_handled, 899s # NULL, 899s # org_project_useful_interface_method_marshal_single_arg_method_i, 899s # G_TYPE_BOOLEAN, 899s # 2, 899s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 899s # 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_i: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_i: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 899s # */ 899s # void 899s # org_project_useful_interface_call_single_arg_method_i ( 899s # OrgProjectUsefulInterface *proxy, 899s # gint arg_arg_i, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodI", 899s # g_variant_new ("(i)", 899s # arg_arg_i), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # callback, 899s # user_data); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_i_finish: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_i_finish ( 899s # OrgProjectUsefulInterface *proxy, 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_i_sync: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_i: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_i_sync ( 899s # OrgProjectUsefulInterface *proxy, 899s # gint arg_arg_i, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodI", 899s # g_variant_new ("(i)", 899s # arg_arg_i), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_complete_single_arg_method_i: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: (transfer full): A #GDBusMethodInvocation. 899s # * 899s # * 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. 899s # * 899s # * This method will free @invocation, you cannot use it afterwards. 899s # */ 899s # void 899s # org_project_useful_interface_complete_single_arg_method_i ( 899s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 899s # GDBusMethodInvocation *invocation) 899s # { 899s # g_dbus_method_invocation_return_value (invocation, 899s # g_variant_new ("()")); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxy: 899s # * 899s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxyClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceProxy. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceProxyPrivate 899s # { 899s # GData *qdata; 899s # }; 899s # 899s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_proxy_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 899s # g_datalist_clear (&proxy->priv->qdata); 899s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # const GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 899s # const gchar *sender_name G_GNUC_UNUSED, 899s # const gchar *signal_name, 899s # GVariant *parameters) 899s # { 899s # _ExtendedGDBusSignalInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # gsize n; 899s # guint signal_id; 899s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 899s # if (info == NULL) 899s # return; 899s # num_params = g_variant_n_children (parameters); 899s # paramv = g_new0 (GValue, num_params + 1); 899s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[0], proxy); 899s # g_variant_iter_init (&iter, parameters); 899s # n = 1; 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_signal_emitv (paramv, signal_id, 0, NULL); 899s # for (n = 0; n < num_params + 1; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 899s # GVariant *changed_properties, 899s # const gchar *const *invalidated_properties) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 899s # guint n; 899s # const gchar *key; 899s # GVariantIter *iter; 899s # _ExtendedGDBusPropertyInfo *info; 899s # g_variant_get (changed_properties, "a{sv}", &iter); 899s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 899s # g_datalist_remove_data (&proxy->priv->qdata, key); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # g_variant_iter_free (iter); 899s # for (n = 0; invalidated_properties[n] != NULL; n++) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 899s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 899s # #else 899s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 899s # #endif 899s # 899s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusProxyClass *proxy_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 899s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 899s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 899s # 899s # proxy_class = G_DBUS_PROXY_CLASS (klass); 899s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 899s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_sync: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_sync ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new_for_bus ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_sync: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_sync ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeleton: 899s # * 899s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeletonClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 899s # { 899s # GValue *properties; 899s # GList *changed_properties; 899s # GSource *changed_properties_idle_source; 899s # GMainContext *context; 899s # GMutex lock; 899s # }; 899s # 899s # static void 899s # _org_project_useful_interface_skeleton_handle_method_call ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name, 899s # const gchar *method_name, 899s # GVariant *parameters, 899s # GDBusMethodInvocation *invocation, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # _ExtendedGDBusMethodInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # guint num_extra; 899s # gsize n; 899s # guint signal_id; 899s # GValue return_value = G_VALUE_INIT; 899s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 899s # g_assert (info != NULL); 899s # num_params = g_variant_n_children (parameters); 899s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 899s # n = 0; 899s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[n++], skeleton); 899s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 899s # g_value_set_object (¶mv[n++], invocation); 899s # if (info->pass_fdlist) 899s # { 899s # #ifdef G_OS_UNIX 899s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 899s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 899s # #else 899s # g_assert_not_reached (); 899s # #endif 899s # } 899s # g_variant_iter_init (&iter, parameters); 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_init (&return_value, G_TYPE_BOOLEAN); 899s # g_signal_emitv (paramv, signal_id, 0, &return_value); 899s # if (!g_value_get_boolean (&return_value)) 899s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 899s # g_value_unset (&return_value); 899s # for (n = 0; n < num_params + num_extra; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static GVariant * 899s # _org_project_useful_interface_skeleton_handle_get_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # GVariant *ret; 899s # ret = NULL; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # g_value_init (&value, pspec->value_type); 899s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 899s # g_value_unset (&value); 899s # } 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _org_project_useful_interface_skeleton_handle_set_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GVariant *variant, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # gboolean ret; 899s # ret = FALSE; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # if (info->use_gvariant) 899s # g_value_set_variant (&value, variant); 899s # else 899s # g_dbus_gvariant_to_gvalue (variant, &value); 899s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # g_value_unset (&value); 899s # ret = TRUE; 899s # } 899s # return ret; 899s # } 899s # 899s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 899s # { 899s # _org_project_useful_interface_skeleton_handle_method_call, 899s # _org_project_useful_interface_skeleton_handle_get_property, 899s # _org_project_useful_interface_skeleton_handle_set_property, 899s # {NULL} 899s # }; 899s # 899s # static GDBusInterfaceInfo * 899s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return org_project_useful_interface_interface_info (); 899s # } 899s # 899s # static GDBusInterfaceVTable * 899s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 899s # } 899s # 899s # static GVariant * 899s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 899s # 899s # GVariantBuilder builder; 899s # guint n; 899s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 899s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 899s # goto out; 899s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 899s # { 899s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 899s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 899s # { 899s # GVariant *value; 899s # 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); 899s # if (value != NULL) 899s # { 899s # g_variant_take_ref (value); 899s # g_variant_builder_add (&builder, "{sv}", info->name, value); 899s # g_variant_unref (value); 899s # } 899s # } 899s # } 899s # out: 899s # return g_variant_builder_end (&builder); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_skeleton_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 899s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 899s # if (skeleton->priv->changed_properties_idle_source != NULL) 899s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 899s # g_main_context_unref (skeleton->priv->context); 899s # g_mutex_clear (&skeleton->priv->lock); 899s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 899s # #else 899s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 899s # #endif 899s # 899s # g_mutex_init (&skeleton->priv->lock); 899s # skeleton->priv->context = g_main_context_ref_thread_default (); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusInterfaceSkeletonClass *skeleton_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 899s # 899s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 899s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 899s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 899s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 899s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_skeleton_new: 899s # * 899s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_skeleton_new (void) 899s # { 899s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 899s # } 899s # /tmp/tmpprbwje52/tmpn1pxhdk6.xml: 899s # 899s # 899s # 899s # 899s # 899s # 899s # 899s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprbwje52/tmpn1pxhdk6.xml', '--output', '-', '--body'] 899s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 899s # Output: /* 899s # * This file is generated by gdbus-codegen, do not modify it. 899s # * 899s # * The license of this code is the same as for the D-Bus interface description 899s # * it was derived from. Note that it links to GLib, so must comply with the 899s # * LGPL linking clauses. 899s # */ 899s # 899s # #ifdef HAVE_CONFIG_H 899s # # include "config.h" 899s # #endif 899s # 899s # #include 899s # #ifdef G_OS_UNIX 899s # # include 899s # #endif 899s # 899s # #ifdef G_ENABLE_DEBUG 899s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 899s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 899s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 899s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 899s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 899s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 899s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 899s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 899s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 899s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 899s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 899s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 899s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 899s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 899s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 899s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 899s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 899s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 899s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 899s # #else /* !G_ENABLE_DEBUG */ 899s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 899s # * Do not access GValues directly in your code. Instead, use the 899s # * g_value_get_*() functions 899s # */ 899s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 899s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 899s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 899s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 899s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 899s # #endif /* !G_ENABLE_DEBUG */ 899s # 899s # typedef struct 899s # { 899s # GDBusArgInfo parent_struct; 899s # gboolean use_gvariant; 899s # } _ExtendedGDBusArgInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusMethodInfo parent_struct; 899s # const gchar *signal_name; 899s # gboolean pass_fdlist; 899s # } _ExtendedGDBusMethodInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusSignalInfo parent_struct; 899s # const gchar *signal_name; 899s # } _ExtendedGDBusSignalInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusPropertyInfo parent_struct; 899s # const gchar *hyphen_name; 899s # guint use_gvariant : 1; 899s # guint emits_changed_signal : 1; 899s # } _ExtendedGDBusPropertyInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusInterfaceInfo parent_struct; 899s # const gchar *hyphen_name; 899s # } _ExtendedGDBusInterfaceInfo; 899s # 899s # typedef struct 899s # { 899s # const _ExtendedGDBusPropertyInfo *info; 899s # guint prop_id; 899s # GValue orig_value; /* the value before the change */ 899s # } ChangedProperty; 899s # 899s # static void 899s # _changed_property_free (ChangedProperty *data) 899s # { 899s # g_value_unset (&data->orig_value); 899s # g_free (data); 899s # } 899s # 899s # static gboolean 899s # _g_strv_equal0 (gchar **a, gchar **b) 899s # { 899s # gboolean ret = FALSE; 899s # guint n; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # if (g_strv_length (a) != g_strv_length (b)) 899s # goto out; 899s # for (n = 0; a[n] != NULL; n++) 899s # if (g_strcmp0 (a[n], b[n]) != 0) 899s # goto out; 899s # ret = TRUE; 899s # out: 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _g_variant_equal0 (GVariant *a, GVariant *b) 899s # { 899s # gboolean ret = FALSE; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # ret = g_variant_equal (a, b); 899s # out: 899s # return ret; 899s # } 899s # 899s # G_GNUC_UNUSED static gboolean 899s # _g_value_equal (const GValue *a, const GValue *b) 899s # { 899s # gboolean ret = FALSE; 899s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 899s # switch (G_VALUE_TYPE (a)) 899s # { 899s # case G_TYPE_BOOLEAN: 899s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 899s # break; 899s # case G_TYPE_UCHAR: 899s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 899s # break; 899s # case G_TYPE_INT: 899s # ret = (g_value_get_int (a) == g_value_get_int (b)); 899s # break; 899s # case G_TYPE_UINT: 899s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 899s # break; 899s # case G_TYPE_INT64: 899s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 899s # break; 899s # case G_TYPE_UINT64: 899s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 899s # break; 899s # case G_TYPE_DOUBLE: 899s # { 899s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 899s # gdouble da = g_value_get_double (a); 899s # gdouble db = g_value_get_double (b); 899s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 899s # } 899s # break; 899s # case G_TYPE_STRING: 899s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 899s # break; 899s # case G_TYPE_VARIANT: 899s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 899s # break; 899s # default: 899s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 899s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 899s # else 899s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 899s # break; 899s # } 899s # return ret; 899s # } 899s # 899s # static void 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint G_GNUC_UNUSED, 899s # void *marshal_data) 899s # { 899s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 899s # (void *data1, 899s # GDBusMethodInvocation *arg_method_invocation, 899s # guint arg_arg_u, 899s # void *data2); 899s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 899s # GCClosure *cc = (GCClosure*) closure; 899s # void *data1, *data2; 899s # gboolean v_return; 899s # 899s # g_return_if_fail (return_value != NULL); 899s # g_return_if_fail (n_param_values == 3); 899s # 899s # if (G_CCLOSURE_SWAP_DATA (closure)) 899s # { 899s # data1 = closure->data; 899s # data2 = g_value_peek_pointer (param_values + 0); 899s # } 899s # else 899s # { 899s # data1 = g_value_peek_pointer (param_values + 0); 899s # data2 = closure->data; 899s # } 899s # 899s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 899s # (marshal_data ? marshal_data : cc->callback); 899s # 899s # v_return = 899s # callback (data1, 899s # g_marshal_value_peek_object (param_values + 1), 899s # g_marshal_value_peek_uint (param_values + 2), 899s # data2); 899s # 899s # g_value_set_boolean (return_value, v_return); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ 899s # * Code for interface org.project.UsefulInterface 899s # * ------------------------------------------------------------------------ 899s # */ 899s # 899s # /** 899s # * SECTION:OrgProjectUsefulInterface 899s # * @title: OrgProjectUsefulInterface 899s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 899s # * 899s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 899s # */ 899s # 899s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 899s # 899s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 899s # { 899s # { 899s # -1, 899s # (gchar *) "arg_u", 899s # (gchar *) "u", 899s # NULL 899s # }, 899s # FALSE 899s # }; 899s # 899s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 899s # { 899s # { 899s # -1, 899s # (gchar *) "SingleArgMethodU", 899s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 899s # NULL, 899s # NULL 899s # }, 899s # "handle-single-arg-method-u", 899s # FALSE 899s # }; 899s # 899s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 899s # { 899s # { 899s # -1, 899s # (gchar *) "org.project.UsefulInterface", 899s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 899s # NULL, 899s # NULL, 899s # NULL 899s # }, 899s # "org-project-useful-interface", 899s # }; 899s # 899s # 899s # /** 899s # * org_project_useful_interface_interface_info: 899s # * 899s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 899s # * 899s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 899s # */ 899s # GDBusInterfaceInfo * 899s # org_project_useful_interface_interface_info (void) 899s # { 899s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_override_properties: 899s # * @klass: The class structure for a #GObject derived class. 899s # * @property_id_begin: The property id to assign to the first overridden property. 899s # * 899s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 899s # * The properties are overridden in the order they are defined. 899s # * 899s # * Returns: The last property id. 899s # */ 899s # guint 899s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 899s # { 899s # return property_id_begin - 1; 899s # } 899s # 899s # 899s # inline static void 899s # org_project_useful_interface_method_marshal_single_arg_method_u ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint, 899s # void *marshal_data) 899s # { 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 899s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 899s # } 899s # 899s # 899s # /** 899s # * OrgProjectUsefulInterface: 899s # * 899s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceIface: 899s # * @parent_iface: The parent interface. 899s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 899s # * 899s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 899s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 899s # 899s # static void 899s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 899s # { 899s # /* GObject signals for incoming D-Bus method calls: */ 899s # /** 899s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: A #GDBusMethodInvocation. 899s # * @arg_arg_u: Argument passed by remote caller. 899s # * 899s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 899s # * 899s # * 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. 899s # * 899s # * 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. 899s # */ 899s # g_signal_new ("handle-single-arg-method-u", 899s # G_TYPE_FROM_INTERFACE (iface), 899s # G_SIGNAL_RUN_LAST, 899s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 899s # g_signal_accumulator_true_handled, 899s # NULL, 899s # org_project_useful_interface_method_marshal_single_arg_method_u, 899s # G_TYPE_BOOLEAN, 899s # 2, 899s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 899s # 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_u: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_u: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 899s # */ 899s # void 899s # org_project_useful_interface_call_single_arg_method_u ( 899s # OrgProjectUsefulInterface *proxy, 899s # guint arg_arg_u, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodU", 899s # g_variant_new ("(u)", 899s # arg_arg_u), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # callback, 899s # user_data); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_u_finish: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_u_finish ( 899s # OrgProjectUsefulInterface *proxy, 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_u_sync: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_u: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_u_sync ( 899s # OrgProjectUsefulInterface *proxy, 899s # guint arg_arg_u, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodU", 899s # g_variant_new ("(u)", 899s # arg_arg_u), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_complete_single_arg_method_u: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: (transfer full): A #GDBusMethodInvocation. 899s # * 899s # * 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. 899s # * 899s # * This method will free @invocation, you cannot use it afterwards. 899s # */ 899s # void 899s # org_project_useful_interface_complete_single_arg_method_u ( 899s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 899s # GDBusMethodInvocation *invocation) 899s # { 899s # g_dbus_method_invocation_return_value (invocation, 899s # g_variant_new ("()")); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxy: 899s # * 899s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxyClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceProxy. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceProxyPrivate 899s # { 899s # GData *qdata; 899s # }; 899s # 899s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_proxy_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 899s # g_datalist_clear (&proxy->priv->qdata); 899s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # const GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 899s # const gchar *sender_name G_GNUC_UNUSED, 899s # const gchar *signal_name, 899s # GVariant *parameters) 899s # { 899s # _ExtendedGDBusSignalInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # gsize n; 899s # guint signal_id; 899s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 899s # if (info == NULL) 899s # return; 899s # num_params = g_variant_n_children (parameters); 899s # paramv = g_new0 (GValue, num_params + 1); 899s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[0], proxy); 899s # g_variant_iter_init (&iter, parameters); 899s # n = 1; 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_signal_emitv (paramv, signal_id, 0, NULL); 899s # for (n = 0; n < num_params + 1; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 899s # GVariant *changed_properties, 899s # const gchar *const *invalidated_properties) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 899s # guint n; 899s # const gchar *key; 899s # GVariantIter *iter; 899s # _ExtendedGDBusPropertyInfo *info; 899s # g_variant_get (changed_properties, "a{sv}", &iter); 899s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 899s # g_datalist_remove_data (&proxy->priv->qdata, key); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # g_variant_iter_free (iter); 899s # for (n = 0; invalidated_properties[n] != NULL; n++) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 899s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 899s # #else 899s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 899s # #endif 899s # 899s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusProxyClass *proxy_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 899s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 899s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 899s # 899s # proxy_class = G_DBUS_PROXY_CLASS (klass); 899s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 899s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_sync: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_sync ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new_for_bus ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_sync: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_sync ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeleton: 899s # * 899s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeletonClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 899s # { 899s # GValue *properties; 899s # GList *changed_properties; 899s # GSource *changed_properties_idle_source; 899s # GMainContext *context; 899s # GMutex lock; 899s # }; 899s # 899s # static void 899s # _org_project_useful_interface_skeleton_handle_method_call ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name, 899s # const gchar *method_name, 899s # GVariant *parameters, 899s # GDBusMethodInvocation *invocation, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # _ExtendedGDBusMethodInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # guint num_extra; 899s # gsize n; 899s # guint signal_id; 899s # GValue return_value = G_VALUE_INIT; 899s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 899s # g_assert (info != NULL); 899s # num_params = g_variant_n_children (parameters); 899s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 899s # n = 0; 899s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[n++], skeleton); 899s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 899s # g_value_set_object (¶mv[n++], invocation); 899s # if (info->pass_fdlist) 899s # { 899s # #ifdef G_OS_UNIX 899s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 899s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 899s # #else 899s # g_assert_not_reached (); 899s # #endif 899s # } 899s # g_variant_iter_init (&iter, parameters); 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_init (&return_value, G_TYPE_BOOLEAN); 899s # g_signal_emitv (paramv, signal_id, 0, &return_value); 899s # if (!g_value_get_boolean (&return_value)) 899s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 899s # g_value_unset (&return_value); 899s # for (n = 0; n < num_params + num_extra; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static GVariant * 899s # _org_project_useful_interface_skeleton_handle_get_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # GVariant *ret; 899s # ret = NULL; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # g_value_init (&value, pspec->value_type); 899s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 899s # g_value_unset (&value); 899s # } 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _org_project_useful_interface_skeleton_handle_set_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GVariant *variant, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # gboolean ret; 899s # ret = FALSE; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # if (info->use_gvariant) 899s # g_value_set_variant (&value, variant); 899s # else 899s # g_dbus_gvariant_to_gvalue (variant, &value); 899s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # g_value_unset (&value); 899s # ret = TRUE; 899s # } 899s # return ret; 899s # } 899s # 899s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 899s # { 899s # _org_project_useful_interface_skeleton_handle_method_call, 899s # _org_project_useful_interface_skeleton_handle_get_property, 899s # _org_project_useful_interface_skeleton_handle_set_property, 899s # {NULL} 899s # }; 899s # 899s # static GDBusInterfaceInfo * 899s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return org_project_useful_interface_interface_info (); 899s # } 899s # 899s # static GDBusInterfaceVTable * 899s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 899s # } 899s # 899s # static GVariant * 899s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 899s # 899s # GVariantBuilder builder; 899s # guint n; 899s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 899s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 899s # goto out; 899s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 899s # { 899s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 899s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 899s # { 899s # GVariant *value; 899s # 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); 899s # if (value != NULL) 899s # { 899s # g_variant_take_ref (value); 899s # g_variant_builder_add (&builder, "{sv}", info->name, value); 899s # g_variant_unref (value); 899s # } 899s # } 899s # } 899s # out: 899s # return g_variant_builder_end (&builder); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_skeleton_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 899s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 899s # if (skeleton->priv->changed_properties_idle_source != NULL) 899s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 899s # g_main_context_unref (skeleton->priv->context); 899s # g_mutex_clear (&skeleton->priv->lock); 899s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 899s # #else 899s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 899s # #endif 899s # 899s # g_mutex_init (&skeleton->priv->lock); 899s # skeleton->priv->context = g_main_context_ref_thread_default (); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusInterfaceSkeletonClass *skeleton_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 899s # 899s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 899s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 899s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 899s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 899s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_skeleton_new: 899s # * 899s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_skeleton_new (void) 899s # { 899s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 899s # } 899s # /tmp/tmpprbwje52/tmpnt7lku2e.xml: 899s # 899s # 899s # 899s # 899s # 899s # 899s # 899s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprbwje52/tmpnt7lku2e.xml', '--output', '-', '--body'] 899s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 899s # Output: /* 899s # * This file is generated by gdbus-codegen, do not modify it. 899s # * 899s # * The license of this code is the same as for the D-Bus interface description 899s # * it was derived from. Note that it links to GLib, so must comply with the 899s # * LGPL linking clauses. 899s # */ 899s # 899s # #ifdef HAVE_CONFIG_H 899s # # include "config.h" 899s # #endif 899s # 899s # #include 899s # #ifdef G_OS_UNIX 899s # # include 899s # #endif 899s # 899s # #ifdef G_ENABLE_DEBUG 899s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 899s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 899s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 899s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 899s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 899s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 899s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 899s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 899s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 899s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 899s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 899s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 899s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 899s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 899s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 899s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 899s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 899s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 899s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 899s # #else /* !G_ENABLE_DEBUG */ 899s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 899s # * Do not access GValues directly in your code. Instead, use the 899s # * g_value_get_*() functions 899s # */ 899s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 899s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 899s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 899s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 899s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 899s # #endif /* !G_ENABLE_DEBUG */ 899s # 899s # typedef struct 899s # { 899s # GDBusArgInfo parent_struct; 899s # gboolean use_gvariant; 899s # } _ExtendedGDBusArgInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusMethodInfo parent_struct; 899s # const gchar *signal_name; 899s # gboolean pass_fdlist; 899s # } _ExtendedGDBusMethodInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusSignalInfo parent_struct; 899s # const gchar *signal_name; 899s # } _ExtendedGDBusSignalInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusPropertyInfo parent_struct; 899s # const gchar *hyphen_name; 899s # guint use_gvariant : 1; 899s # guint emits_changed_signal : 1; 899s # } _ExtendedGDBusPropertyInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusInterfaceInfo parent_struct; 899s # const gchar *hyphen_name; 899s # } _ExtendedGDBusInterfaceInfo; 899s # 899s # typedef struct 899s # { 899s # const _ExtendedGDBusPropertyInfo *info; 899s # guint prop_id; 899s # GValue orig_value; /* the value before the change */ 899s # } ChangedProperty; 899s # 899s # static void 899s # _changed_property_free (ChangedProperty *data) 899s # { 899s # g_value_unset (&data->orig_value); 899s # g_free (data); 899s # } 899s # 899s # static gboolean 899s # _g_strv_equal0 (gchar **a, gchar **b) 899s # { 899s # gboolean ret = FALSE; 899s # guint n; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # if (g_strv_length (a) != g_strv_length (b)) 899s # goto out; 899s # for (n = 0; a[n] != NULL; n++) 899s # if (g_strcmp0 (a[n], b[n]) != 0) 899s # goto out; 899s # ret = TRUE; 899s # out: 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _g_variant_equal0 (GVariant *a, GVariant *b) 899s # { 899s # gboolean ret = FALSE; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # ret = g_variant_equal (a, b); 899s # out: 899s # return ret; 899s # } 899s # 899s # G_GNUC_UNUSED static gboolean 899s # _g_value_equal (const GValue *a, const GValue *b) 899s # { 899s # gboolean ret = FALSE; 899s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 899s # switch (G_VALUE_TYPE (a)) 899s # { 899s # case G_TYPE_BOOLEAN: 899s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 899s # break; 899s # case G_TYPE_UCHAR: 899s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 899s # break; 899s # case G_TYPE_INT: 899s # ret = (g_value_get_int (a) == g_value_get_int (b)); 899s # break; 899s # case G_TYPE_UINT: 899s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 899s # break; 899s # case G_TYPE_INT64: 899s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 899s # break; 899s # case G_TYPE_UINT64: 899s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 899s # break; 899s # case G_TYPE_DOUBLE: 899s # { 899s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 899s # gdouble da = g_value_get_double (a); 899s # gdouble db = g_value_get_double (b); 899s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 899s # } 899s # break; 899s # case G_TYPE_STRING: 899s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 899s # break; 899s # case G_TYPE_VARIANT: 899s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 899s # break; 899s # default: 899s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 899s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 899s # else 899s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 899s # break; 899s # } 899s # return ret; 899s # } 899s # 899s # static void 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint G_GNUC_UNUSED, 899s # void *marshal_data) 899s # { 899s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 899s # (void *data1, 899s # GDBusMethodInvocation *arg_method_invocation, 899s # gint64 arg_arg_x, 899s # void *data2); 899s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 899s # GCClosure *cc = (GCClosure*) closure; 899s # void *data1, *data2; 899s # gboolean v_return; 899s # 899s # g_return_if_fail (return_value != NULL); 899s # g_return_if_fail (n_param_values == 3); 899s # 899s # if (G_CCLOSURE_SWAP_DATA (closure)) 899s # { 899s # data1 = closure->data; 899s # data2 = g_value_peek_pointer (param_values + 0); 899s # } 899s # else 899s # { 899s # data1 = g_value_peek_pointer (param_values + 0); 899s # data2 = closure->data; 899s # } 899s # 899s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 899s # (marshal_data ? marshal_data : cc->callback); 899s # 899s # v_return = 899s # callback (data1, 899s # g_marshal_value_peek_object (param_values + 1), 899s # g_marshal_value_peek_int64 (param_values + 2), 899s # data2); 899s # 899s # g_value_set_boolean (return_value, v_return); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ 899s # * Code for interface org.project.UsefulInterface 899s # * ------------------------------------------------------------------------ 899s # */ 899s # 899s # /** 899s # * SECTION:OrgProjectUsefulInterface 899s # * @title: OrgProjectUsefulInterface 899s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 899s # * 899s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 899s # */ 899s # 899s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 899s # 899s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 899s # { 899s # { 899s # -1, 899s # (gchar *) "arg_x", 899s # (gchar *) "x", 899s # NULL 899s # }, 899s # FALSE 899s # }; 899s # 899s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 899s # { 899s # { 899s # -1, 899s # (gchar *) "SingleArgMethodX", 899s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 899s # NULL, 899s # NULL 899s # }, 899s # "handle-single-arg-method-x", 899s # FALSE 899s # }; 899s # 899s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 899s # { 899s # { 899s # -1, 899s # (gchar *) "org.project.UsefulInterface", 899s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 899s # NULL, 899s # NULL, 899s # NULL 899s # }, 899s # "org-project-useful-interface", 899s # }; 899s # 899s # 899s # /** 899s # * org_project_useful_interface_interface_info: 899s # * 899s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 899s # * 899s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 899s # */ 899s # GDBusInterfaceInfo * 899s # org_project_useful_interface_interface_info (void) 899s # { 899s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_override_properties: 899s # * @klass: The class structure for a #GObject derived class. 899s # * @property_id_begin: The property id to assign to the first overridden property. 899s # * 899s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 899s # * The properties are overridden in the order they are defined. 899s # * 899s # * Returns: The last property id. 899s # */ 899s # guint 899s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 899s # { 899s # return property_id_begin - 1; 899s # } 899s # 899s # 899s # inline static void 899s # org_project_useful_interface_method_marshal_single_arg_method_x ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint, 899s # void *marshal_data) 899s # { 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 899s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 899s # } 899s # 899s # 899s # /** 899s # * OrgProjectUsefulInterface: 899s # * 899s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceIface: 899s # * @parent_iface: The parent interface. 899s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 899s # * 899s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 899s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 899s # 899s # static void 899s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 899s # { 899s # /* GObject signals for incoming D-Bus method calls: */ 899s # /** 899s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: A #GDBusMethodInvocation. 899s # * @arg_arg_x: Argument passed by remote caller. 899s # * 899s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 899s # * 899s # * 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. 899s # * 899s # * 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. 899s # */ 899s # g_signal_new ("handle-single-arg-method-x", 899s # G_TYPE_FROM_INTERFACE (iface), 899s # G_SIGNAL_RUN_LAST, 899s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 899s # g_signal_accumulator_true_handled, 899s # NULL, 899s # org_project_useful_interface_method_marshal_single_arg_method_x, 899s # G_TYPE_BOOLEAN, 899s # 2, 899s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 899s # 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_x: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_x: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 899s # */ 899s # void 899s # org_project_useful_interface_call_single_arg_method_x ( 899s # OrgProjectUsefulInterface *proxy, 899s # gint64 arg_arg_x, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodX", 899s # g_variant_new ("(x)", 899s # arg_arg_x), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # callback, 899s # user_data); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_x_finish: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_x_finish ( 899s # OrgProjectUsefulInterface *proxy, 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_x_sync: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_x: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_x_sync ( 899s # OrgProjectUsefulInterface *proxy, 899s # gint64 arg_arg_x, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodX", 899s # g_variant_new ("(x)", 899s # arg_arg_x), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_complete_single_arg_method_x: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: (transfer full): A #GDBusMethodInvocation. 899s # * 899s # * 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. 899s # * 899s # * This method will free @invocation, you cannot use it afterwards. 899s # */ 899s # void 899s # org_project_useful_interface_complete_single_arg_method_x ( 899s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 899s # GDBusMethodInvocation *invocation) 899s # { 899s # g_dbus_method_invocation_return_value (invocation, 899s # g_variant_new ("()")); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxy: 899s # * 899s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxyClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceProxy. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceProxyPrivate 899s # { 899s # GData *qdata; 899s # }; 899s # 899s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_proxy_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 899s # g_datalist_clear (&proxy->priv->qdata); 899s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # const GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 899s # const gchar *sender_name G_GNUC_UNUSED, 899s # const gchar *signal_name, 899s # GVariant *parameters) 899s # { 899s # _ExtendedGDBusSignalInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # gsize n; 899s # guint signal_id; 899s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 899s # if (info == NULL) 899s # return; 899s # num_params = g_variant_n_children (parameters); 899s # paramv = g_new0 (GValue, num_params + 1); 899s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[0], proxy); 899s # g_variant_iter_init (&iter, parameters); 899s # n = 1; 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_signal_emitv (paramv, signal_id, 0, NULL); 899s # for (n = 0; n < num_params + 1; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 899s # GVariant *changed_properties, 899s # const gchar *const *invalidated_properties) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 899s # guint n; 899s # const gchar *key; 899s # GVariantIter *iter; 899s # _ExtendedGDBusPropertyInfo *info; 899s # g_variant_get (changed_properties, "a{sv}", &iter); 899s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 899s # g_datalist_remove_data (&proxy->priv->qdata, key); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # g_variant_iter_free (iter); 899s # for (n = 0; invalidated_properties[n] != NULL; n++) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 899s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 899s # #else 899s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 899s # #endif 899s # 899s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusProxyClass *proxy_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 899s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 899s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 899s # 899s # proxy_class = G_DBUS_PROXY_CLASS (klass); 899s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 899s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_sync: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_sync ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new_for_bus ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_sync: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_sync ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeleton: 899s # * 899s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeletonClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 899s # { 899s # GValue *properties; 899s # GList *changed_properties; 899s # GSource *changed_properties_idle_source; 899s # GMainContext *context; 899s # GMutex lock; 899s # }; 899s # 899s # static void 899s # _org_project_useful_interface_skeleton_handle_method_call ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name, 899s # const gchar *method_name, 899s # GVariant *parameters, 899s # GDBusMethodInvocation *invocation, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # _ExtendedGDBusMethodInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # guint num_extra; 899s # gsize n; 899s # guint signal_id; 899s # GValue return_value = G_VALUE_INIT; 899s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 899s # g_assert (info != NULL); 899s # num_params = g_variant_n_children (parameters); 899s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 899s # n = 0; 899s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[n++], skeleton); 899s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 899s # g_value_set_object (¶mv[n++], invocation); 899s # if (info->pass_fdlist) 899s # { 899s # #ifdef G_OS_UNIX 899s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 899s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 899s # #else 899s # g_assert_not_reached (); 899s # #endif 899s # } 899s # g_variant_iter_init (&iter, parameters); 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_init (&return_value, G_TYPE_BOOLEAN); 899s # g_signal_emitv (paramv, signal_id, 0, &return_value); 899s # if (!g_value_get_boolean (&return_value)) 899s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 899s # g_value_unset (&return_value); 899s # for (n = 0; n < num_params + num_extra; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static GVariant * 899s # _org_project_useful_interface_skeleton_handle_get_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # GVariant *ret; 899s # ret = NULL; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # g_value_init (&value, pspec->value_type); 899s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 899s # g_value_unset (&value); 899s # } 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _org_project_useful_interface_skeleton_handle_set_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GVariant *variant, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # gboolean ret; 899s # ret = FALSE; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # if (info->use_gvariant) 899s # g_value_set_variant (&value, variant); 899s # else 899s # g_dbus_gvariant_to_gvalue (variant, &value); 899s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # g_value_unset (&value); 899s # ret = TRUE; 899s # } 899s # return ret; 899s # } 899s # 899s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 899s # { 899s # _org_project_useful_interface_skeleton_handle_method_call, 899s # _org_project_useful_interface_skeleton_handle_get_property, 899s # _org_project_useful_interface_skeleton_handle_set_property, 899s # {NULL} 899s # }; 899s # 899s # static GDBusInterfaceInfo * 899s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return org_project_useful_interface_interface_info (); 899s # } 899s # 899s # static GDBusInterfaceVTable * 899s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 899s # } 899s # 899s # static GVariant * 899s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 899s # 899s # GVariantBuilder builder; 899s # guint n; 899s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 899s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 899s # goto out; 899s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 899s # { 899s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 899s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 899s # { 899s # GVariant *value; 899s # 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); 899s # if (value != NULL) 899s # { 899s # g_variant_take_ref (value); 899s # g_variant_builder_add (&builder, "{sv}", info->name, value); 899s # g_variant_unref (value); 899s # } 899s # } 899s # } 899s # out: 899s # return g_variant_builder_end (&builder); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_skeleton_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 899s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 899s # if (skeleton->priv->changed_properties_idle_source != NULL) 899s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 899s # g_main_context_unref (skeleton->priv->context); 899s # g_mutex_clear (&skeleton->priv->lock); 899s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 899s # #else 899s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 899s # #endif 899s # 899s # g_mutex_init (&skeleton->priv->lock); 899s # skeleton->priv->context = g_main_context_ref_thread_default (); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusInterfaceSkeletonClass *skeleton_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 899s # 899s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 899s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 899s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 899s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 899s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_skeleton_new: 899s # * 899s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_skeleton_new (void) 899s # { 899s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 899s # } 899s # /tmp/tmpprbwje52/tmps7e6uwzf.xml: 899s # 899s # 899s # 899s # 899s # 899s # 899s # 899s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprbwje52/tmps7e6uwzf.xml', '--output', '-', '--body'] 899s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 899s # Output: /* 899s # * This file is generated by gdbus-codegen, do not modify it. 899s # * 899s # * The license of this code is the same as for the D-Bus interface description 899s # * it was derived from. Note that it links to GLib, so must comply with the 899s # * LGPL linking clauses. 899s # */ 899s # 899s # #ifdef HAVE_CONFIG_H 899s # # include "config.h" 899s # #endif 899s # 899s # #include 899s # #ifdef G_OS_UNIX 899s # # include 899s # #endif 899s # 899s # #ifdef G_ENABLE_DEBUG 899s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 899s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 899s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 899s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 899s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 899s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 899s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 899s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 899s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 899s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 899s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 899s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 899s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 899s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 899s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 899s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 899s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 899s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 899s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 899s # #else /* !G_ENABLE_DEBUG */ 899s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 899s # * Do not access GValues directly in your code. Instead, use the 899s # * g_value_get_*() functions 899s # */ 899s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 899s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 899s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 899s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 899s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 899s # #endif /* !G_ENABLE_DEBUG */ 899s # 899s # typedef struct 899s # { 899s # GDBusArgInfo parent_struct; 899s # gboolean use_gvariant; 899s # } _ExtendedGDBusArgInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusMethodInfo parent_struct; 899s # const gchar *signal_name; 899s # gboolean pass_fdlist; 899s # } _ExtendedGDBusMethodInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusSignalInfo parent_struct; 899s # const gchar *signal_name; 899s # } _ExtendedGDBusSignalInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusPropertyInfo parent_struct; 899s # const gchar *hyphen_name; 899s # guint use_gvariant : 1; 899s # guint emits_changed_signal : 1; 899s # } _ExtendedGDBusPropertyInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusInterfaceInfo parent_struct; 899s # const gchar *hyphen_name; 899s # } _ExtendedGDBusInterfaceInfo; 899s # 899s # typedef struct 899s # { 899s # const _ExtendedGDBusPropertyInfo *info; 899s # guint prop_id; 899s # GValue orig_value; /* the value before the change */ 899s # } ChangedProperty; 899s # 899s # static void 899s # _changed_property_free (ChangedProperty *data) 899s # { 899s # g_value_unset (&data->orig_value); 899s # g_free (data); 899s # } 899s # 899s # static gboolean 899s # _g_strv_equal0 (gchar **a, gchar **b) 899s # { 899s # gboolean ret = FALSE; 899s # guint n; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # if (g_strv_length (a) != g_strv_length (b)) 899s # goto out; 899s # for (n = 0; a[n] != NULL; n++) 899s # if (g_strcmp0 (a[n], b[n]) != 0) 899s # goto out; 899s # ret = TRUE; 899s # out: 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _g_variant_equal0 (GVariant *a, GVariant *b) 899s # { 899s # gboolean ret = FALSE; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # ret = g_variant_equal (a, b); 899s # out: 899s # return ret; 899s # } 899s # 899s # G_GNUC_UNUSED static gboolean 899s # _g_value_equal (const GValue *a, const GValue *b) 899s # { 899s # gboolean ret = FALSE; 899s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 899s # switch (G_VALUE_TYPE (a)) 899s # { 899s # case G_TYPE_BOOLEAN: 899s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 899s # break; 899s # case G_TYPE_UCHAR: 899s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 899s # break; 899s # case G_TYPE_INT: 899s # ret = (g_value_get_int (a) == g_value_get_int (b)); 899s # break; 899s # case G_TYPE_UINT: 899s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 899s # break; 899s # case G_TYPE_INT64: 899s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 899s # break; 899s # case G_TYPE_UINT64: 899s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 899s # break; 899s # case G_TYPE_DOUBLE: 899s # { 899s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 899s # gdouble da = g_value_get_double (a); 899s # gdouble db = g_value_get_double (b); 899s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 899s # } 899s # break; 899s # case G_TYPE_STRING: 899s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 899s # break; 899s # case G_TYPE_VARIANT: 899s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 899s # break; 899s # default: 899s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 899s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 899s # else 899s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 899s # break; 899s # } 899s # return ret; 899s # } 899s # 899s # static void 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint G_GNUC_UNUSED, 899s # void *marshal_data) 899s # { 899s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 899s # (void *data1, 899s # GDBusMethodInvocation *arg_method_invocation, 899s # guint64 arg_arg_t, 899s # void *data2); 899s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 899s # GCClosure *cc = (GCClosure*) closure; 899s # void *data1, *data2; 899s # gboolean v_return; 899s # 899s # g_return_if_fail (return_value != NULL); 899s # g_return_if_fail (n_param_values == 3); 899s # 899s # if (G_CCLOSURE_SWAP_DATA (closure)) 899s # { 899s # data1 = closure->data; 899s # data2 = g_value_peek_pointer (param_values + 0); 899s # } 899s # else 899s # { 899s # data1 = g_value_peek_pointer (param_values + 0); 899s # data2 = closure->data; 899s # } 899s # 899s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 899s # (marshal_data ? marshal_data : cc->callback); 899s # 899s # v_return = 899s # callback (data1, 899s # g_marshal_value_peek_object (param_values + 1), 899s # g_marshal_value_peek_uint64 (param_values + 2), 899s # data2); 899s # 899s # g_value_set_boolean (return_value, v_return); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ 899s # * Code for interface org.project.UsefulInterface 899s # * ------------------------------------------------------------------------ 899s # */ 899s # 899s # /** 899s # * SECTION:OrgProjectUsefulInterface 899s # * @title: OrgProjectUsefulInterface 899s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 899s # * 899s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 899s # */ 899s # 899s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 899s # 899s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 899s # { 899s # { 899s # -1, 899s # (gchar *) "arg_t", 899s # (gchar *) "t", 899s # NULL 899s # }, 899s # FALSE 899s # }; 899s # 899s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 899s # { 899s # { 899s # -1, 899s # (gchar *) "SingleArgMethodT", 899s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 899s # NULL, 899s # NULL 899s # }, 899s # "handle-single-arg-method-t", 899s # FALSE 899s # }; 899s # 899s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 899s # { 899s # { 899s # -1, 899s # (gchar *) "org.project.UsefulInterface", 899s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 899s # NULL, 899s # NULL, 899s # NULL 899s # }, 899s # "org-project-useful-interface", 899s # }; 899s # 899s # 899s # /** 899s # * org_project_useful_interface_interface_info: 899s # * 899s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 899s # * 899s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 899s # */ 899s # GDBusInterfaceInfo * 899s # org_project_useful_interface_interface_info (void) 899s # { 899s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_override_properties: 899s # * @klass: The class structure for a #GObject derived class. 899s # * @property_id_begin: The property id to assign to the first overridden property. 899s # * 899s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 899s # * The properties are overridden in the order they are defined. 899s # * 899s # * Returns: The last property id. 899s # */ 899s # guint 899s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 899s # { 899s # return property_id_begin - 1; 899s # } 899s # 899s # 899s # inline static void 899s # org_project_useful_interface_method_marshal_single_arg_method_t ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint, 899s # void *marshal_data) 899s # { 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 899s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 899s # } 899s # 899s # 899s # /** 899s # * OrgProjectUsefulInterface: 899s # * 899s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceIface: 899s # * @parent_iface: The parent interface. 899s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 899s # * 899s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 899s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 899s # 899s # static void 899s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 899s # { 899s # /* GObject signals for incoming D-Bus method calls: */ 899s # /** 899s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: A #GDBusMethodInvocation. 899s # * @arg_arg_t: Argument passed by remote caller. 899s # * 899s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 899s # * 899s # * 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. 899s # * 899s # * 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. 899s # */ 899s # g_signal_new ("handle-single-arg-method-t", 899s # G_TYPE_FROM_INTERFACE (iface), 899s # G_SIGNAL_RUN_LAST, 899s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 899s # g_signal_accumulator_true_handled, 899s # NULL, 899s # org_project_useful_interface_method_marshal_single_arg_method_t, 899s # G_TYPE_BOOLEAN, 899s # 2, 899s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 899s # 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_t: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_t: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 899s # */ 899s # void 899s # org_project_useful_interface_call_single_arg_method_t ( 899s # OrgProjectUsefulInterface *proxy, 899s # guint64 arg_arg_t, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodT", 899s # g_variant_new ("(t)", 899s # arg_arg_t), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # callback, 899s # user_data); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_t_finish: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_t_finish ( 899s # OrgProjectUsefulInterface *proxy, 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_t_sync: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_t: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_t_sync ( 899s # OrgProjectUsefulInterface *proxy, 899s # guint64 arg_arg_t, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodT", 899s # g_variant_new ("(t)", 899s # arg_arg_t), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_complete_single_arg_method_t: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: (transfer full): A #GDBusMethodInvocation. 899s # * 899s # * 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. 899s # * 899s # * This method will free @invocation, you cannot use it afterwards. 899s # */ 899s # void 899s # org_project_useful_interface_complete_single_arg_method_t ( 899s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 899s # GDBusMethodInvocation *invocation) 899s # { 899s # g_dbus_method_invocation_return_value (invocation, 899s # g_variant_new ("()")); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxy: 899s # * 899s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxyClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceProxy. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceProxyPrivate 899s # { 899s # GData *qdata; 899s # }; 899s # 899s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_proxy_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 899s # g_datalist_clear (&proxy->priv->qdata); 899s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # const GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 899s # const gchar *sender_name G_GNUC_UNUSED, 899s # const gchar *signal_name, 899s # GVariant *parameters) 899s # { 899s # _ExtendedGDBusSignalInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # gsize n; 899s # guint signal_id; 899s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 899s # if (info == NULL) 899s # return; 899s # num_params = g_variant_n_children (parameters); 899s # paramv = g_new0 (GValue, num_params + 1); 899s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[0], proxy); 899s # g_variant_iter_init (&iter, parameters); 899s # n = 1; 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_signal_emitv (paramv, signal_id, 0, NULL); 899s # for (n = 0; n < num_params + 1; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 899s # GVariant *changed_properties, 899s # const gchar *const *invalidated_properties) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 899s # guint n; 899s # const gchar *key; 899s # GVariantIter *iter; 899s # _ExtendedGDBusPropertyInfo *info; 899s # g_variant_get (changed_properties, "a{sv}", &iter); 899s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 899s # g_datalist_remove_data (&proxy->priv->qdata, key); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # g_variant_iter_free (iter); 899s # for (n = 0; invalidated_properties[n] != NULL; n++) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 899s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 899s # #else 899s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 899s # #endif 899s # 899s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusProxyClass *proxy_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 899s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 899s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 899s # 899s # proxy_class = G_DBUS_PROXY_CLASS (klass); 899s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 899s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_sync: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_sync ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new_for_bus ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_sync: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_sync ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeleton: 899s # * 899s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeletonClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 899s # { 899s # GValue *properties; 899s # GList *changed_properties; 899s # GSource *changed_properties_idle_source; 899s # GMainContext *context; 899s # GMutex lock; 899s # }; 899s # 899s # static void 899s # _org_project_useful_interface_skeleton_handle_method_call ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name, 899s # const gchar *method_name, 899s # GVariant *parameters, 899s # GDBusMethodInvocation *invocation, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # _ExtendedGDBusMethodInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # guint num_extra; 899s # gsize n; 899s # guint signal_id; 899s # GValue return_value = G_VALUE_INIT; 899s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 899s # g_assert (info != NULL); 899s # num_params = g_variant_n_children (parameters); 899s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 899s # n = 0; 899s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[n++], skeleton); 899s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 899s # g_value_set_object (¶mv[n++], invocation); 899s # if (info->pass_fdlist) 899s # { 899s # #ifdef G_OS_UNIX 899s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 899s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 899s # #else 899s # g_assert_not_reached (); 899s # #endif 899s # } 899s # g_variant_iter_init (&iter, parameters); 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_init (&return_value, G_TYPE_BOOLEAN); 899s # g_signal_emitv (paramv, signal_id, 0, &return_value); 899s # if (!g_value_get_boolean (&return_value)) 899s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 899s # g_value_unset (&return_value); 899s # for (n = 0; n < num_params + num_extra; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static GVariant * 899s # _org_project_useful_interface_skeleton_handle_get_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # GVariant *ret; 899s # ret = NULL; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # g_value_init (&value, pspec->value_type); 899s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 899s # g_value_unset (&value); 899s # } 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _org_project_useful_interface_skeleton_handle_set_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GVariant *variant, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # gboolean ret; 899s # ret = FALSE; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # if (info->use_gvariant) 899s # g_value_set_variant (&value, variant); 899s # else 899s # g_dbus_gvariant_to_gvalue (variant, &value); 899s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # g_value_unset (&value); 899s # ret = TRUE; 899s # } 899s # return ret; 899s # } 899s # 899s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 899s # { 899s # _org_project_useful_interface_skeleton_handle_method_call, 899s # _org_project_useful_interface_skeleton_handle_get_property, 899s # _org_project_useful_interface_skeleton_handle_set_property, 899s # {NULL} 899s # }; 899s # 899s # static GDBusInterfaceInfo * 899s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return org_project_useful_interface_interface_info (); 899s # } 899s # 899s # static GDBusInterfaceVTable * 899s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 899s # } 899s # 899s # static GVariant * 899s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 899s # 899s # GVariantBuilder builder; 899s # guint n; 899s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 899s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 899s # goto out; 899s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 899s # { 899s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 899s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 899s # { 899s # GVariant *value; 899s # 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); 899s # if (value != NULL) 899s # { 899s # g_variant_take_ref (value); 899s # g_variant_builder_add (&builder, "{sv}", info->name, value); 899s # g_variant_unref (value); 899s # } 899s # } 899s # } 899s # out: 899s # return g_variant_builder_end (&builder); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_skeleton_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 899s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 899s # if (skeleton->priv->changed_properties_idle_source != NULL) 899s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 899s # g_main_context_unref (skeleton->priv->context); 899s # g_mutex_clear (&skeleton->priv->lock); 899s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 899s # #else 899s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 899s # #endif 899s # 899s # g_mutex_init (&skeleton->priv->lock); 899s # skeleton->priv->context = g_main_context_ref_thread_default (); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusInterfaceSkeletonClass *skeleton_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 899s # 899s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 899s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 899s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 899s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 899s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_skeleton_new: 899s # * 899s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_skeleton_new (void) 899s # { 899s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 899s # } 899s # /tmp/tmpprbwje52/tmpv6gcd278.xml: 899s # 899s # 899s # 899s # 899s # 899s # 899s # 899s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprbwje52/tmpv6gcd278.xml', '--output', '-', '--body'] 899s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 899s # Output: /* 899s # * This file is generated by gdbus-codegen, do not modify it. 899s # * 899s # * The license of this code is the same as for the D-Bus interface description 899s # * it was derived from. Note that it links to GLib, so must comply with the 899s # * LGPL linking clauses. 899s # */ 899s # 899s # #ifdef HAVE_CONFIG_H 899s # # include "config.h" 899s # #endif 899s # 899s # #include 899s # #ifdef G_OS_UNIX 899s # # include 899s # #endif 899s # 899s # #ifdef G_ENABLE_DEBUG 899s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 899s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 899s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 899s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 899s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 899s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 899s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 899s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 899s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 899s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 899s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 899s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 899s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 899s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 899s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 899s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 899s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 899s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 899s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 899s # #else /* !G_ENABLE_DEBUG */ 899s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 899s # * Do not access GValues directly in your code. Instead, use the 899s # * g_value_get_*() functions 899s # */ 899s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 899s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 899s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 899s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 899s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 899s # #endif /* !G_ENABLE_DEBUG */ 899s # 899s # typedef struct 899s # { 899s # GDBusArgInfo parent_struct; 899s # gboolean use_gvariant; 899s # } _ExtendedGDBusArgInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusMethodInfo parent_struct; 899s # const gchar *signal_name; 899s # gboolean pass_fdlist; 899s # } _ExtendedGDBusMethodInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusSignalInfo parent_struct; 899s # const gchar *signal_name; 899s # } _ExtendedGDBusSignalInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusPropertyInfo parent_struct; 899s # const gchar *hyphen_name; 899s # guint use_gvariant : 1; 899s # guint emits_changed_signal : 1; 899s # } _ExtendedGDBusPropertyInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusInterfaceInfo parent_struct; 899s # const gchar *hyphen_name; 899s # } _ExtendedGDBusInterfaceInfo; 899s # 899s # typedef struct 899s # { 899s # const _ExtendedGDBusPropertyInfo *info; 899s # guint prop_id; 899s # GValue orig_value; /* the value before the change */ 899s # } ChangedProperty; 899s # 899s # static void 899s # _changed_property_free (ChangedProperty *data) 899s # { 899s # g_value_unset (&data->orig_value); 899s # g_free (data); 899s # } 899s # 899s # static gboolean 899s # _g_strv_equal0 (gchar **a, gchar **b) 899s # { 899s # gboolean ret = FALSE; 899s # guint n; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # if (g_strv_length (a) != g_strv_length (b)) 899s # goto out; 899s # for (n = 0; a[n] != NULL; n++) 899s # if (g_strcmp0 (a[n], b[n]) != 0) 899s # goto out; 899s # ret = TRUE; 899s # out: 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _g_variant_equal0 (GVariant *a, GVariant *b) 899s # { 899s # gboolean ret = FALSE; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # ret = g_variant_equal (a, b); 899s # out: 899s # return ret; 899s # } 899s # 899s # G_GNUC_UNUSED static gboolean 899s # _g_value_equal (const GValue *a, const GValue *b) 899s # { 899s # gboolean ret = FALSE; 899s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 899s # switch (G_VALUE_TYPE (a)) 899s # { 899s # case G_TYPE_BOOLEAN: 899s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 899s # break; 899s # case G_TYPE_UCHAR: 899s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 899s # break; 899s # case G_TYPE_INT: 899s # ret = (g_value_get_int (a) == g_value_get_int (b)); 899s # break; 899s # case G_TYPE_UINT: 899s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 899s # break; 899s # case G_TYPE_INT64: 899s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 899s # break; 899s # case G_TYPE_UINT64: 899s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 899s # break; 899s # case G_TYPE_DOUBLE: 899s # { 899s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 899s # gdouble da = g_value_get_double (a); 899s # gdouble db = g_value_get_double (b); 899s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 899s # } 899s # break; 899s # case G_TYPE_STRING: 899s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 899s # break; 899s # case G_TYPE_VARIANT: 899s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 899s # break; 899s # default: 899s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 899s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 899s # else 899s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 899s # break; 899s # } 899s # return ret; 899s # } 899s # 899s # static void 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint G_GNUC_UNUSED, 899s # void *marshal_data) 899s # { 899s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 899s # (void *data1, 899s # GDBusMethodInvocation *arg_method_invocation, 899s # gdouble arg_arg_d, 899s # void *data2); 899s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 899s # GCClosure *cc = (GCClosure*) closure; 899s # void *data1, *data2; 899s # gboolean v_return; 899s # 899s # g_return_if_fail (return_value != NULL); 899s # g_return_if_fail (n_param_values == 3); 899s # 899s # if (G_CCLOSURE_SWAP_DATA (closure)) 899s # { 899s # data1 = closure->data; 899s # data2 = g_value_peek_pointer (param_values + 0); 899s # } 899s # else 899s # { 899s # data1 = g_value_peek_pointer (param_values + 0); 899s # data2 = closure->data; 899s # } 899s # 899s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 899s # (marshal_data ? marshal_data : cc->callback); 899s # 899s # v_return = 899s # callback (data1, 899s # g_marshal_value_peek_object (param_values + 1), 899s # g_marshal_value_peek_double (param_values + 2), 899s # data2); 899s # 899s # g_value_set_boolean (return_value, v_return); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ 899s # * Code for interface org.project.UsefulInterface 899s # * ------------------------------------------------------------------------ 899s # */ 899s # 899s # /** 899s # * SECTION:OrgProjectUsefulInterface 899s # * @title: OrgProjectUsefulInterface 899s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 899s # * 899s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 899s # */ 899s # 899s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 899s # 899s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 899s # { 899s # { 899s # -1, 899s # (gchar *) "arg_d", 899s # (gchar *) "d", 899s # NULL 899s # }, 899s # FALSE 899s # }; 899s # 899s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 899s # { 899s # { 899s # -1, 899s # (gchar *) "SingleArgMethodD", 899s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 899s # NULL, 899s # NULL 899s # }, 899s # "handle-single-arg-method-d", 899s # FALSE 899s # }; 899s # 899s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 899s # { 899s # { 899s # -1, 899s # (gchar *) "org.project.UsefulInterface", 899s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 899s # NULL, 899s # NULL, 899s # NULL 899s # }, 899s # "org-project-useful-interface", 899s # }; 899s # 899s # 899s # /** 899s # * org_project_useful_interface_interface_info: 899s # * 899s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 899s # * 899s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 899s # */ 899s # GDBusInterfaceInfo * 899s # org_project_useful_interface_interface_info (void) 899s # { 899s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_override_properties: 899s # * @klass: The class structure for a #GObject derived class. 899s # * @property_id_begin: The property id to assign to the first overridden property. 899s # * 899s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 899s # * The properties are overridden in the order they are defined. 899s # * 899s # * Returns: The last property id. 899s # */ 899s # guint 899s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 899s # { 899s # return property_id_begin - 1; 899s # } 899s # 899s # 899s # inline static void 899s # org_project_useful_interface_method_marshal_single_arg_method_d ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint, 899s # void *marshal_data) 899s # { 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 899s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 899s # } 899s # 899s # 899s # /** 899s # * OrgProjectUsefulInterface: 899s # * 899s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceIface: 899s # * @parent_iface: The parent interface. 899s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 899s # * 899s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 899s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 899s # 899s # static void 899s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 899s # { 899s # /* GObject signals for incoming D-Bus method calls: */ 899s # /** 899s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: A #GDBusMethodInvocation. 899s # * @arg_arg_d: Argument passed by remote caller. 899s # * 899s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 899s # * 899s # * 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. 899s # * 899s # * 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. 899s # */ 899s # g_signal_new ("handle-single-arg-method-d", 899s # G_TYPE_FROM_INTERFACE (iface), 899s # G_SIGNAL_RUN_LAST, 899s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 899s # g_signal_accumulator_true_handled, 899s # NULL, 899s # org_project_useful_interface_method_marshal_single_arg_method_d, 899s # G_TYPE_BOOLEAN, 899s # 2, 899s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 899s # 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_d: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_d: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 899s # */ 899s # void 899s # org_project_useful_interface_call_single_arg_method_d ( 899s # OrgProjectUsefulInterface *proxy, 899s # gdouble arg_arg_d, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodD", 899s # g_variant_new ("(d)", 899s # arg_arg_d), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # callback, 899s # user_data); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_d_finish: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_d_finish ( 899s # OrgProjectUsefulInterface *proxy, 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_d_sync: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_d: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_d_sync ( 899s # OrgProjectUsefulInterface *proxy, 899s # gdouble arg_arg_d, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodD", 899s # g_variant_new ("(d)", 899s # arg_arg_d), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_complete_single_arg_method_d: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: (transfer full): A #GDBusMethodInvocation. 899s # * 899s # * 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. 899s # * 899s # * This method will free @invocation, you cannot use it afterwards. 899s # */ 899s # void 899s # org_project_useful_interface_complete_single_arg_method_d ( 899s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 899s # GDBusMethodInvocation *invocation) 899s # { 899s # g_dbus_method_invocation_return_value (invocation, 899s # g_variant_new ("()")); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxy: 899s # * 899s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxyClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceProxy. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceProxyPrivate 899s # { 899s # GData *qdata; 899s # }; 899s # 899s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_proxy_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 899s # g_datalist_clear (&proxy->priv->qdata); 899s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # const GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 899s # const gchar *sender_name G_GNUC_UNUSED, 899s # const gchar *signal_name, 899s # GVariant *parameters) 899s # { 899s # _ExtendedGDBusSignalInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # gsize n; 899s # guint signal_id; 899s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 899s # if (info == NULL) 899s # return; 899s # num_params = g_variant_n_children (parameters); 899s # paramv = g_new0 (GValue, num_params + 1); 899s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[0], proxy); 899s # g_variant_iter_init (&iter, parameters); 899s # n = 1; 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_signal_emitv (paramv, signal_id, 0, NULL); 899s # for (n = 0; n < num_params + 1; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 899s # GVariant *changed_properties, 899s # const gchar *const *invalidated_properties) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 899s # guint n; 899s # const gchar *key; 899s # GVariantIter *iter; 899s # _ExtendedGDBusPropertyInfo *info; 899s # g_variant_get (changed_properties, "a{sv}", &iter); 899s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 899s # g_datalist_remove_data (&proxy->priv->qdata, key); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # g_variant_iter_free (iter); 899s # for (n = 0; invalidated_properties[n] != NULL; n++) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 899s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 899s # #else 899s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 899s # #endif 899s # 899s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusProxyClass *proxy_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 899s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 899s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 899s # 899s # proxy_class = G_DBUS_PROXY_CLASS (klass); 899s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 899s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_sync: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_sync ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new_for_bus ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_sync: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_sync ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeleton: 899s # * 899s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeletonClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 899s # { 899s # GValue *properties; 899s # GList *changed_properties; 899s # GSource *changed_properties_idle_source; 899s # GMainContext *context; 899s # GMutex lock; 899s # }; 899s # 899s # static void 899s # _org_project_useful_interface_skeleton_handle_method_call ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name, 899s # const gchar *method_name, 899s # GVariant *parameters, 899s # GDBusMethodInvocation *invocation, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # _ExtendedGDBusMethodInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # guint num_extra; 899s # gsize n; 899s # guint signal_id; 899s # GValue return_value = G_VALUE_INIT; 899s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 899s # g_assert (info != NULL); 899s # num_params = g_variant_n_children (parameters); 899s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 899s # n = 0; 899s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[n++], skeleton); 899s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 899s # g_value_set_object (¶mv[n++], invocation); 899s # if (info->pass_fdlist) 899s # { 899s # #ifdef G_OS_UNIX 899s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 899s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 899s # #else 899s # g_assert_not_reached (); 899s # #endif 899s # } 899s # g_variant_iter_init (&iter, parameters); 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_init (&return_value, G_TYPE_BOOLEAN); 899s # g_signal_emitv (paramv, signal_id, 0, &return_value); 899s # if (!g_value_get_boolean (&return_value)) 899s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 899s # g_value_unset (&return_value); 899s # for (n = 0; n < num_params + num_extra; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static GVariant * 899s # _org_project_useful_interface_skeleton_handle_get_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # GVariant *ret; 899s # ret = NULL; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # g_value_init (&value, pspec->value_type); 899s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 899s # g_value_unset (&value); 899s # } 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _org_project_useful_interface_skeleton_handle_set_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GVariant *variant, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # gboolean ret; 899s # ret = FALSE; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # if (info->use_gvariant) 899s # g_value_set_variant (&value, variant); 899s # else 899s # g_dbus_gvariant_to_gvalue (variant, &value); 899s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # g_value_unset (&value); 899s # ret = TRUE; 899s # } 899s # return ret; 899s # } 899s # 899s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 899s # { 899s # _org_project_useful_interface_skeleton_handle_method_call, 899s # _org_project_useful_interface_skeleton_handle_get_property, 899s # _org_project_useful_interface_skeleton_handle_set_property, 899s # {NULL} 899s # }; 899s # 899s # static GDBusInterfaceInfo * 899s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return org_project_useful_interface_interface_info (); 899s # } 899s # 899s # static GDBusInterfaceVTable * 899s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 899s # } 899s # 899s # static GVariant * 899s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 899s # 899s # GVariantBuilder builder; 899s # guint n; 899s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 899s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 899s # goto out; 899s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 899s # { 899s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 899s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 899s # { 899s # GVariant *value; 899s # 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); 899s # if (value != NULL) 899s # { 899s # g_variant_take_ref (value); 899s # g_variant_builder_add (&builder, "{sv}", info->name, value); 899s # g_variant_unref (value); 899s # } 899s # } 899s # } 899s # out: 899s # return g_variant_builder_end (&builder); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_skeleton_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 899s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 899s # if (skeleton->priv->changed_properties_idle_source != NULL) 899s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 899s # g_main_context_unref (skeleton->priv->context); 899s # g_mutex_clear (&skeleton->priv->lock); 899s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 899s # #else 899s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 899s # #endif 899s # 899s # g_mutex_init (&skeleton->priv->lock); 899s # skeleton->priv->context = g_main_context_ref_thread_default (); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusInterfaceSkeletonClass *skeleton_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 899s # 899s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 899s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 899s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 899s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 899s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_skeleton_new: 899s # * 899s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_skeleton_new (void) 899s # { 899s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 899s # } 899s # /tmp/tmpprbwje52/tmpuj6zv9kt.xml: 899s # 899s # 899s # 899s # 899s # 899s # 899s # 899s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprbwje52/tmpuj6zv9kt.xml', '--output', '-', '--body'] 899s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 899s # Output: /* 899s # * This file is generated by gdbus-codegen, do not modify it. 899s # * 899s # * The license of this code is the same as for the D-Bus interface description 899s # * it was derived from. Note that it links to GLib, so must comply with the 899s # * LGPL linking clauses. 899s # */ 899s # 899s # #ifdef HAVE_CONFIG_H 899s # # include "config.h" 899s # #endif 899s # 899s # #include 899s # #ifdef G_OS_UNIX 899s # # include 899s # #endif 899s # 899s # #ifdef G_ENABLE_DEBUG 899s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 899s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 899s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 899s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 899s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 899s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 899s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 899s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 899s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 899s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 899s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 899s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 899s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 899s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 899s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 899s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 899s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 899s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 899s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 899s # #else /* !G_ENABLE_DEBUG */ 899s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 899s # * Do not access GValues directly in your code. Instead, use the 899s # * g_value_get_*() functions 899s # */ 899s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 899s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 899s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 899s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 899s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 899s # #endif /* !G_ENABLE_DEBUG */ 899s # 899s # typedef struct 899s # { 899s # GDBusArgInfo parent_struct; 899s # gboolean use_gvariant; 899s # } _ExtendedGDBusArgInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusMethodInfo parent_struct; 899s # const gchar *signal_name; 899s # gboolean pass_fdlist; 899s # } _ExtendedGDBusMethodInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusSignalInfo parent_struct; 899s # const gchar *signal_name; 899s # } _ExtendedGDBusSignalInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusPropertyInfo parent_struct; 899s # const gchar *hyphen_name; 899s # guint use_gvariant : 1; 899s # guint emits_changed_signal : 1; 899s # } _ExtendedGDBusPropertyInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusInterfaceInfo parent_struct; 899s # const gchar *hyphen_name; 899s # } _ExtendedGDBusInterfaceInfo; 899s # 899s # typedef struct 899s # { 899s # const _ExtendedGDBusPropertyInfo *info; 899s # guint prop_id; 899s # GValue orig_value; /* the value before the change */ 899s # } ChangedProperty; 899s # 899s # static void 899s # _changed_property_free (ChangedProperty *data) 899s # { 899s # g_value_unset (&data->orig_value); 899s # g_free (data); 899s # } 899s # 899s # static gboolean 899s # _g_strv_equal0 (gchar **a, gchar **b) 899s # { 899s # gboolean ret = FALSE; 899s # guint n; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # if (g_strv_length (a) != g_strv_length (b)) 899s # goto out; 899s # for (n = 0; a[n] != NULL; n++) 899s # if (g_strcmp0 (a[n], b[n]) != 0) 899s # goto out; 899s # ret = TRUE; 899s # out: 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _g_variant_equal0 (GVariant *a, GVariant *b) 899s # { 899s # gboolean ret = FALSE; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # ret = g_variant_equal (a, b); 899s # out: 899s # return ret; 899s # } 899s # 899s # G_GNUC_UNUSED static gboolean 899s # _g_value_equal (const GValue *a, const GValue *b) 899s # { 899s # gboolean ret = FALSE; 899s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 899s # switch (G_VALUE_TYPE (a)) 899s # { 899s # case G_TYPE_BOOLEAN: 899s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 899s # break; 899s # case G_TYPE_UCHAR: 899s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 899s # break; 899s # case G_TYPE_INT: 899s # ret = (g_value_get_int (a) == g_value_get_int (b)); 899s # break; 899s # case G_TYPE_UINT: 899s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 899s # break; 899s # case G_TYPE_INT64: 899s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 899s # break; 899s # case G_TYPE_UINT64: 899s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 899s # break; 899s # case G_TYPE_DOUBLE: 899s # { 899s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 899s # gdouble da = g_value_get_double (a); 899s # gdouble db = g_value_get_double (b); 899s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 899s # } 899s # break; 899s # case G_TYPE_STRING: 899s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 899s # break; 899s # case G_TYPE_VARIANT: 899s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 899s # break; 899s # default: 899s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 899s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 899s # else 899s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 899s # break; 899s # } 899s # return ret; 899s # } 899s # 899s # static void 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint G_GNUC_UNUSED, 899s # void *marshal_data) 899s # { 899s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 899s # (void *data1, 899s # GDBusMethodInvocation *arg_method_invocation, 899s # const gchar *arg_arg_s, 899s # void *data2); 899s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 899s # GCClosure *cc = (GCClosure*) closure; 899s # void *data1, *data2; 899s # gboolean v_return; 899s # 899s # g_return_if_fail (return_value != NULL); 899s # g_return_if_fail (n_param_values == 3); 899s # 899s # if (G_CCLOSURE_SWAP_DATA (closure)) 899s # { 899s # data1 = closure->data; 899s # data2 = g_value_peek_pointer (param_values + 0); 899s # } 899s # else 899s # { 899s # data1 = g_value_peek_pointer (param_values + 0); 899s # data2 = closure->data; 899s # } 899s # 899s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 899s # (marshal_data ? marshal_data : cc->callback); 899s # 899s # v_return = 899s # callback (data1, 899s # g_marshal_value_peek_object (param_values + 1), 899s # g_marshal_value_peek_string (param_values + 2), 899s # data2); 899s # 899s # g_value_set_boolean (return_value, v_return); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ 899s # * Code for interface org.project.UsefulInterface 899s # * ------------------------------------------------------------------------ 899s # */ 899s # 899s # /** 899s # * SECTION:OrgProjectUsefulInterface 899s # * @title: OrgProjectUsefulInterface 899s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 899s # * 899s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 899s # */ 899s # 899s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 899s # 899s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 899s # { 899s # { 899s # -1, 899s # (gchar *) "arg_s", 899s # (gchar *) "s", 899s # NULL 899s # }, 899s # FALSE 899s # }; 899s # 899s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 899s # { 899s # { 899s # -1, 899s # (gchar *) "SingleArgMethodS", 899s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 899s # NULL, 899s # NULL 899s # }, 899s # "handle-single-arg-method-s", 899s # FALSE 899s # }; 899s # 899s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 899s # { 899s # { 899s # -1, 899s # (gchar *) "org.project.UsefulInterface", 899s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 899s # NULL, 899s # NULL, 899s # NULL 899s # }, 899s # "org-project-useful-interface", 899s # }; 899s # 899s # 899s # /** 899s # * org_project_useful_interface_interface_info: 899s # * 899s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 899s # * 899s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 899s # */ 899s # GDBusInterfaceInfo * 899s # org_project_useful_interface_interface_info (void) 899s # { 899s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_override_properties: 899s # * @klass: The class structure for a #GObject derived class. 899s # * @property_id_begin: The property id to assign to the first overridden property. 899s # * 899s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 899s # * The properties are overridden in the order they are defined. 899s # * 899s # * Returns: The last property id. 899s # */ 899s # guint 899s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 899s # { 899s # return property_id_begin - 1; 899s # } 899s # 899s # 899s # inline static void 899s # org_project_useful_interface_method_marshal_single_arg_method_s ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint, 899s # void *marshal_data) 899s # { 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 899s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 899s # } 899s # 899s # 899s # /** 899s # * OrgProjectUsefulInterface: 899s # * 899s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceIface: 899s # * @parent_iface: The parent interface. 899s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 899s # * 899s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 899s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 899s # 899s # static void 899s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 899s # { 899s # /* GObject signals for incoming D-Bus method calls: */ 899s # /** 899s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: A #GDBusMethodInvocation. 899s # * @arg_arg_s: Argument passed by remote caller. 899s # * 899s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 899s # * 899s # * 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. 899s # * 899s # * 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. 899s # */ 899s # g_signal_new ("handle-single-arg-method-s", 899s # G_TYPE_FROM_INTERFACE (iface), 899s # G_SIGNAL_RUN_LAST, 899s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 899s # g_signal_accumulator_true_handled, 899s # NULL, 899s # org_project_useful_interface_method_marshal_single_arg_method_s, 899s # G_TYPE_BOOLEAN, 899s # 2, 899s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 899s # 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_s: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_s: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 899s # */ 899s # void 899s # org_project_useful_interface_call_single_arg_method_s ( 899s # OrgProjectUsefulInterface *proxy, 899s # const gchar *arg_arg_s, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodS", 899s # g_variant_new ("(s)", 899s # arg_arg_s), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # callback, 899s # user_data); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_s_finish: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_s_finish ( 899s # OrgProjectUsefulInterface *proxy, 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_s_sync: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_s: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_s_sync ( 899s # OrgProjectUsefulInterface *proxy, 899s # const gchar *arg_arg_s, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodS", 899s # g_variant_new ("(s)", 899s # arg_arg_s), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_complete_single_arg_method_s: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: (transfer full): A #GDBusMethodInvocation. 899s # * 899s # * 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. 899s # * 899s # * This method will free @invocation, you cannot use it afterwards. 899s # */ 899s # void 899s # org_project_useful_interface_complete_single_arg_method_s ( 899s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 899s # GDBusMethodInvocation *invocation) 899s # { 899s # g_dbus_method_invocation_return_value (invocation, 899s # g_variant_new ("()")); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxy: 899s # * 899s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxyClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceProxy. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceProxyPrivate 899s # { 899s # GData *qdata; 899s # }; 899s # 899s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_proxy_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 899s # g_datalist_clear (&proxy->priv->qdata); 899s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # const GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 899s # const gchar *sender_name G_GNUC_UNUSED, 899s # const gchar *signal_name, 899s # GVariant *parameters) 899s # { 899s # _ExtendedGDBusSignalInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # gsize n; 899s # guint signal_id; 899s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 899s # if (info == NULL) 899s # return; 899s # num_params = g_variant_n_children (parameters); 899s # paramv = g_new0 (GValue, num_params + 1); 899s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[0], proxy); 899s # g_variant_iter_init (&iter, parameters); 899s # n = 1; 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_signal_emitv (paramv, signal_id, 0, NULL); 899s # for (n = 0; n < num_params + 1; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 899s # GVariant *changed_properties, 899s # const gchar *const *invalidated_properties) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 899s # guint n; 899s # const gchar *key; 899s # GVariantIter *iter; 899s # _ExtendedGDBusPropertyInfo *info; 899s # g_variant_get (changed_properties, "a{sv}", &iter); 899s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 899s # g_datalist_remove_data (&proxy->priv->qdata, key); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # g_variant_iter_free (iter); 899s # for (n = 0; invalidated_properties[n] != NULL; n++) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 899s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 899s # #else 899s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 899s # #endif 899s # 899s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusProxyClass *proxy_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 899s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 899s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 899s # 899s # proxy_class = G_DBUS_PROXY_CLASS (klass); 899s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 899s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_sync: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_sync ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new_for_bus ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_sync: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_sync ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeleton: 899s # * 899s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeletonClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 899s # { 899s # GValue *properties; 899s # GList *changed_properties; 899s # GSource *changed_properties_idle_source; 899s # GMainContext *context; 899s # GMutex lock; 899s # }; 899s # 899s # static void 899s # _org_project_useful_interface_skeleton_handle_method_call ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name, 899s # const gchar *method_name, 899s # GVariant *parameters, 899s # GDBusMethodInvocation *invocation, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # _ExtendedGDBusMethodInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # guint num_extra; 899s # gsize n; 899s # guint signal_id; 899s # GValue return_value = G_VALUE_INIT; 899s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 899s # g_assert (info != NULL); 899s # num_params = g_variant_n_children (parameters); 899s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 899s # n = 0; 899s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[n++], skeleton); 899s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 899s # g_value_set_object (¶mv[n++], invocation); 899s # if (info->pass_fdlist) 899s # { 899s # #ifdef G_OS_UNIX 899s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 899s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 899s # #else 899s # g_assert_not_reached (); 899s # #endif 899s # } 899s # g_variant_iter_init (&iter, parameters); 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_init (&return_value, G_TYPE_BOOLEAN); 899s # g_signal_emitv (paramv, signal_id, 0, &return_value); 899s # if (!g_value_get_boolean (&return_value)) 899s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 899s # g_value_unset (&return_value); 899s # for (n = 0; n < num_params + num_extra; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static GVariant * 899s # _org_project_useful_interface_skeleton_handle_get_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # GVariant *ret; 899s # ret = NULL; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # g_value_init (&value, pspec->value_type); 899s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 899s # g_value_unset (&value); 899s # } 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _org_project_useful_interface_skeleton_handle_set_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GVariant *variant, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # gboolean ret; 899s # ret = FALSE; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # if (info->use_gvariant) 899s # g_value_set_variant (&value, variant); 899s # else 899s # g_dbus_gvariant_to_gvalue (variant, &value); 899s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # g_value_unset (&value); 899s # ret = TRUE; 899s # } 899s # return ret; 899s # } 899s # 899s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 899s # { 899s # _org_project_useful_interface_skeleton_handle_method_call, 899s # _org_project_useful_interface_skeleton_handle_get_property, 899s # _org_project_useful_interface_skeleton_handle_set_property, 899s # {NULL} 899s # }; 899s # 899s # static GDBusInterfaceInfo * 899s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return org_project_useful_interface_interface_info (); 899s # } 899s # 899s # static GDBusInterfaceVTable * 899s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 899s # } 899s # 899s # static GVariant * 899s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 899s # 899s # GVariantBuilder builder; 899s # guint n; 899s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 899s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 899s # goto out; 899s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 899s # { 899s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 899s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 899s # { 899s # GVariant *value; 899s # 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); 899s # if (value != NULL) 899s # { 899s # g_variant_take_ref (value); 899s # g_variant_builder_add (&builder, "{sv}", info->name, value); 899s # g_variant_unref (value); 899s # } 899s # } 899s # } 899s # out: 899s # return g_variant_builder_end (&builder); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_skeleton_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 899s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 899s # if (skeleton->priv->changed_properties_idle_source != NULL) 899s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 899s # g_main_context_unref (skeleton->priv->context); 899s # g_mutex_clear (&skeleton->priv->lock); 899s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 899s # #else 899s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 899s # #endif 899s # 899s # g_mutex_init (&skeleton->priv->lock); 899s # skeleton->priv->context = g_main_context_ref_thread_default (); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusInterfaceSkeletonClass *skeleton_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 899s # 899s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 899s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 899s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 899s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 899s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_skeleton_new: 899s # * 899s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_skeleton_new (void) 899s # { 899s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 899s # } 899s # /tmp/tmpprbwje52/tmplgft044c.xml: 899s # 899s # 899s # 899s # 899s # 899s # 899s # 899s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprbwje52/tmplgft044c.xml', '--output', '-', '--body'] 899s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 899s # Output: /* 899s # * This file is generated by gdbus-codegen, do not modify it. 899s # * 899s # * The license of this code is the same as for the D-Bus interface description 899s # * it was derived from. Note that it links to GLib, so must comply with the 899s # * LGPL linking clauses. 899s # */ 899s # 899s # #ifdef HAVE_CONFIG_H 899s # # include "config.h" 899s # #endif 899s # 899s # #include 899s # #ifdef G_OS_UNIX 899s # # include 899s # #endif 899s # 899s # #ifdef G_ENABLE_DEBUG 899s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 899s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 899s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 899s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 899s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 899s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 899s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 899s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 899s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 899s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 899s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 899s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 899s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 899s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 899s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 899s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 899s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 899s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 899s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 899s # #else /* !G_ENABLE_DEBUG */ 899s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 899s # * Do not access GValues directly in your code. Instead, use the 899s # * g_value_get_*() functions 899s # */ 899s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 899s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 899s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 899s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 899s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 899s # #endif /* !G_ENABLE_DEBUG */ 899s # 899s # typedef struct 899s # { 899s # GDBusArgInfo parent_struct; 899s # gboolean use_gvariant; 899s # } _ExtendedGDBusArgInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusMethodInfo parent_struct; 899s # const gchar *signal_name; 899s # gboolean pass_fdlist; 899s # } _ExtendedGDBusMethodInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusSignalInfo parent_struct; 899s # const gchar *signal_name; 899s # } _ExtendedGDBusSignalInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusPropertyInfo parent_struct; 899s # const gchar *hyphen_name; 899s # guint use_gvariant : 1; 899s # guint emits_changed_signal : 1; 899s # } _ExtendedGDBusPropertyInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusInterfaceInfo parent_struct; 899s # const gchar *hyphen_name; 899s # } _ExtendedGDBusInterfaceInfo; 899s # 899s # typedef struct 899s # { 899s # const _ExtendedGDBusPropertyInfo *info; 899s # guint prop_id; 899s # GValue orig_value; /* the value before the change */ 899s # } ChangedProperty; 899s # 899s # static void 899s # _changed_property_free (ChangedProperty *data) 899s # { 899s # g_value_unset (&data->orig_value); 899s # g_free (data); 899s # } 899s # 899s # static gboolean 899s # _g_strv_equal0 (gchar **a, gchar **b) 899s # { 899s # gboolean ret = FALSE; 899s # guint n; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # if (g_strv_length (a) != g_strv_length (b)) 899s # goto out; 899s # for (n = 0; a[n] != NULL; n++) 899s # if (g_strcmp0 (a[n], b[n]) != 0) 899s # goto out; 899s # ret = TRUE; 899s # out: 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _g_variant_equal0 (GVariant *a, GVariant *b) 899s # { 899s # gboolean ret = FALSE; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # ret = g_variant_equal (a, b); 899s # out: 899s # return ret; 899s # } 899s # 899s # G_GNUC_UNUSED static gboolean 899s # _g_value_equal (const GValue *a, const GValue *b) 899s # { 899s # gboolean ret = FALSE; 899s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 899s # switch (G_VALUE_TYPE (a)) 899s # { 899s # case G_TYPE_BOOLEAN: 899s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 899s # break; 899s # case G_TYPE_UCHAR: 899s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 899s # break; 899s # case G_TYPE_INT: 899s # ret = (g_value_get_int (a) == g_value_get_int (b)); 899s # break; 899s # case G_TYPE_UINT: 899s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 899s # break; 899s # case G_TYPE_INT64: 899s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 899s # break; 899s # case G_TYPE_UINT64: 899s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 899s # break; 899s # case G_TYPE_DOUBLE: 899s # { 899s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 899s # gdouble da = g_value_get_double (a); 899s # gdouble db = g_value_get_double (b); 899s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 899s # } 899s # break; 899s # case G_TYPE_STRING: 899s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 899s # break; 899s # case G_TYPE_VARIANT: 899s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 899s # break; 899s # default: 899s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 899s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 899s # else 899s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 899s # break; 899s # } 899s # return ret; 899s # } 899s # 899s # static void 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint G_GNUC_UNUSED, 899s # void *marshal_data) 899s # { 899s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 899s # (void *data1, 899s # GDBusMethodInvocation *arg_method_invocation, 899s # const gchar *arg_arg_o, 899s # void *data2); 899s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 899s # GCClosure *cc = (GCClosure*) closure; 899s # void *data1, *data2; 899s # gboolean v_return; 899s # 899s # g_return_if_fail (return_value != NULL); 899s # g_return_if_fail (n_param_values == 3); 899s # 899s # if (G_CCLOSURE_SWAP_DATA (closure)) 899s # { 899s # data1 = closure->data; 899s # data2 = g_value_peek_pointer (param_values + 0); 899s # } 899s # else 899s # { 899s # data1 = g_value_peek_pointer (param_values + 0); 899s # data2 = closure->data; 899s # } 899s # 899s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 899s # (marshal_data ? marshal_data : cc->callback); 899s # 899s # v_return = 899s # callback (data1, 899s # g_marshal_value_peek_object (param_values + 1), 899s # g_marshal_value_peek_string (param_values + 2), 899s # data2); 899s # 899s # g_value_set_boolean (return_value, v_return); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ 899s # * Code for interface org.project.UsefulInterface 899s # * ------------------------------------------------------------------------ 899s # */ 899s # 899s # /** 899s # * SECTION:OrgProjectUsefulInterface 899s # * @title: OrgProjectUsefulInterface 899s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 899s # * 899s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 899s # */ 899s # 899s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 899s # 899s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 899s # { 899s # { 899s # -1, 899s # (gchar *) "arg_o", 899s # (gchar *) "o", 899s # NULL 899s # }, 899s # FALSE 899s # }; 899s # 899s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 899s # { 899s # { 899s # -1, 899s # (gchar *) "SingleArgMethodO", 899s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 899s # NULL, 899s # NULL 899s # }, 899s # "handle-single-arg-method-o", 899s # FALSE 899s # }; 899s # 899s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 899s # { 899s # { 899s # -1, 899s # (gchar *) "org.project.UsefulInterface", 899s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 899s # NULL, 899s # NULL, 899s # NULL 899s # }, 899s # "org-project-useful-interface", 899s # }; 899s # 899s # 899s # /** 899s # * org_project_useful_interface_interface_info: 899s # * 899s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 899s # * 899s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 899s # */ 899s # GDBusInterfaceInfo * 899s # org_project_useful_interface_interface_info (void) 899s # { 899s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_override_properties: 899s # * @klass: The class structure for a #GObject derived class. 899s # * @property_id_begin: The property id to assign to the first overridden property. 899s # * 899s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 899s # * The properties are overridden in the order they are defined. 899s # * 899s # * Returns: The last property id. 899s # */ 899s # guint 899s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 899s # { 899s # return property_id_begin - 1; 899s # } 899s # 899s # 899s # inline static void 899s # org_project_useful_interface_method_marshal_single_arg_method_o ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint, 899s # void *marshal_data) 899s # { 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 899s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 899s # } 899s # 899s # 899s # /** 899s # * OrgProjectUsefulInterface: 899s # * 899s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceIface: 899s # * @parent_iface: The parent interface. 899s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 899s # * 899s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 899s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 899s # 899s # static void 899s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 899s # { 899s # /* GObject signals for incoming D-Bus method calls: */ 899s # /** 899s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: A #GDBusMethodInvocation. 899s # * @arg_arg_o: Argument passed by remote caller. 899s # * 899s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 899s # * 899s # * 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. 899s # * 899s # * 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. 899s # */ 899s # g_signal_new ("handle-single-arg-method-o", 899s # G_TYPE_FROM_INTERFACE (iface), 899s # G_SIGNAL_RUN_LAST, 899s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 899s # g_signal_accumulator_true_handled, 899s # NULL, 899s # org_project_useful_interface_method_marshal_single_arg_method_o, 899s # G_TYPE_BOOLEAN, 899s # 2, 899s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 899s # 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_o: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_o: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 899s # */ 899s # void 899s # org_project_useful_interface_call_single_arg_method_o ( 899s # OrgProjectUsefulInterface *proxy, 899s # const gchar *arg_arg_o, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodO", 899s # g_variant_new ("(o)", 899s # arg_arg_o), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # callback, 899s # user_data); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_o_finish: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_o_finish ( 899s # OrgProjectUsefulInterface *proxy, 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_o_sync: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_o: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_o_sync ( 899s # OrgProjectUsefulInterface *proxy, 899s # const gchar *arg_arg_o, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodO", 899s # g_variant_new ("(o)", 899s # arg_arg_o), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_complete_single_arg_method_o: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: (transfer full): A #GDBusMethodInvocation. 899s # * 899s # * 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. 899s # * 899s # * This method will free @invocation, you cannot use it afterwards. 899s # */ 899s # void 899s # org_project_useful_interface_complete_single_arg_method_o ( 899s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 899s # GDBusMethodInvocation *invocation) 899s # { 899s # g_dbus_method_invocation_return_value (invocation, 899s # g_variant_new ("()")); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxy: 899s # * 899s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxyClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceProxy. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceProxyPrivate 899s # { 899s # GData *qdata; 899s # }; 899s # 899s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_proxy_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 899s # g_datalist_clear (&proxy->priv->qdata); 899s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # const GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 899s # const gchar *sender_name G_GNUC_UNUSED, 899s # const gchar *signal_name, 899s # GVariant *parameters) 899s # { 899s # _ExtendedGDBusSignalInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # gsize n; 899s # guint signal_id; 899s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 899s # if (info == NULL) 899s # return; 899s # num_params = g_variant_n_children (parameters); 899s # paramv = g_new0 (GValue, num_params + 1); 899s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[0], proxy); 899s # g_variant_iter_init (&iter, parameters); 899s # n = 1; 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_signal_emitv (paramv, signal_id, 0, NULL); 899s # for (n = 0; n < num_params + 1; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 899s # GVariant *changed_properties, 899s # const gchar *const *invalidated_properties) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 899s # guint n; 899s # const gchar *key; 899s # GVariantIter *iter; 899s # _ExtendedGDBusPropertyInfo *info; 899s # g_variant_get (changed_properties, "a{sv}", &iter); 899s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 899s # g_datalist_remove_data (&proxy->priv->qdata, key); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # g_variant_iter_free (iter); 899s # for (n = 0; invalidated_properties[n] != NULL; n++) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 899s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 899s # #else 899s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 899s # #endif 899s # 899s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusProxyClass *proxy_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 899s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 899s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 899s # 899s # proxy_class = G_DBUS_PROXY_CLASS (klass); 899s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 899s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_sync: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_sync ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new_for_bus ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_sync: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_sync ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeleton: 899s # * 899s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeletonClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 899s # { 899s # GValue *properties; 899s # GList *changed_properties; 899s # GSource *changed_properties_idle_source; 899s # GMainContext *context; 899s # GMutex lock; 899s # }; 899s # 899s # static void 899s # _org_project_useful_interface_skeleton_handle_method_call ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name, 899s # const gchar *method_name, 899s # GVariant *parameters, 899s # GDBusMethodInvocation *invocation, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # _ExtendedGDBusMethodInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # guint num_extra; 899s # gsize n; 899s # guint signal_id; 899s # GValue return_value = G_VALUE_INIT; 899s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 899s # g_assert (info != NULL); 899s # num_params = g_variant_n_children (parameters); 899s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 899s # n = 0; 899s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[n++], skeleton); 899s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 899s # g_value_set_object (¶mv[n++], invocation); 899s # if (info->pass_fdlist) 899s # { 899s # #ifdef G_OS_UNIX 899s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 899s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 899s # #else 899s # g_assert_not_reached (); 899s # #endif 899s # } 899s # g_variant_iter_init (&iter, parameters); 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_init (&return_value, G_TYPE_BOOLEAN); 899s # g_signal_emitv (paramv, signal_id, 0, &return_value); 899s # if (!g_value_get_boolean (&return_value)) 899s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 899s # g_value_unset (&return_value); 899s # for (n = 0; n < num_params + num_extra; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static GVariant * 899s # _org_project_useful_interface_skeleton_handle_get_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # GVariant *ret; 899s # ret = NULL; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # g_value_init (&value, pspec->value_type); 899s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 899s # g_value_unset (&value); 899s # } 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _org_project_useful_interface_skeleton_handle_set_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GVariant *variant, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # gboolean ret; 899s # ret = FALSE; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # if (info->use_gvariant) 899s # g_value_set_variant (&value, variant); 899s # else 899s # g_dbus_gvariant_to_gvalue (variant, &value); 899s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # g_value_unset (&value); 899s # ret = TRUE; 899s # } 899s # return ret; 899s # } 899s # 899s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 899s # { 899s # _org_project_useful_interface_skeleton_handle_method_call, 899s # _org_project_useful_interface_skeleton_handle_get_property, 899s # _org_project_useful_interface_skeleton_handle_set_property, 899s # {NULL} 899s # }; 899s # 899s # static GDBusInterfaceInfo * 899s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return org_project_useful_interface_interface_info (); 899s # } 899s # 899s # static GDBusInterfaceVTable * 899s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 899s # } 899s # 899s # static GVariant * 899s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 899s # 899s # GVariantBuilder builder; 899s # guint n; 899s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 899s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 899s # goto out; 899s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 899s # { 899s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 899s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 899s # { 899s # GVariant *value; 899s # 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); 899s # if (value != NULL) 899s # { 899s # g_variant_take_ref (value); 899s # g_variant_builder_add (&builder, "{sv}", info->name, value); 899s # g_variant_unref (value); 899s # } 899s # } 899s # } 899s # out: 899s # return g_variant_builder_end (&builder); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_skeleton_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 899s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 899s # if (skeleton->priv->changed_properties_idle_source != NULL) 899s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 899s # g_main_context_unref (skeleton->priv->context); 899s # g_mutex_clear (&skeleton->priv->lock); 899s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 899s # #else 899s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 899s # #endif 899s # 899s # g_mutex_init (&skeleton->priv->lock); 899s # skeleton->priv->context = g_main_context_ref_thread_default (); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusInterfaceSkeletonClass *skeleton_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 899s # 899s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 899s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 899s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 899s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 899s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_skeleton_new: 899s # * 899s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_skeleton_new (void) 899s # { 899s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 899s # } 899s # /tmp/tmpprbwje52/tmp1v4g31ws.xml: 899s # 899s # 899s # 899s # 899s # 899s # 899s # 899s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprbwje52/tmp1v4g31ws.xml', '--output', '-', '--body'] 899s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 899s # Output: /* 899s # * This file is generated by gdbus-codegen, do not modify it. 899s # * 899s # * The license of this code is the same as for the D-Bus interface description 899s # * it was derived from. Note that it links to GLib, so must comply with the 899s # * LGPL linking clauses. 899s # */ 899s # 899s # #ifdef HAVE_CONFIG_H 899s # # include "config.h" 899s # #endif 899s # 899s # #include 899s # #ifdef G_OS_UNIX 899s # # include 899s # #endif 899s # 899s # #ifdef G_ENABLE_DEBUG 899s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 899s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 899s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 899s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 899s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 899s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 899s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 899s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 899s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 899s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 899s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 899s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 899s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 899s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 899s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 899s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 899s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 899s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 899s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 899s # #else /* !G_ENABLE_DEBUG */ 899s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 899s # * Do not access GValues directly in your code. Instead, use the 899s # * g_value_get_*() functions 899s # */ 899s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 899s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 899s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 899s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 899s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 899s # #endif /* !G_ENABLE_DEBUG */ 899s # 899s # typedef struct 899s # { 899s # GDBusArgInfo parent_struct; 899s # gboolean use_gvariant; 899s # } _ExtendedGDBusArgInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusMethodInfo parent_struct; 899s # const gchar *signal_name; 899s # gboolean pass_fdlist; 899s # } _ExtendedGDBusMethodInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusSignalInfo parent_struct; 899s # const gchar *signal_name; 899s # } _ExtendedGDBusSignalInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusPropertyInfo parent_struct; 899s # const gchar *hyphen_name; 899s # guint use_gvariant : 1; 899s # guint emits_changed_signal : 1; 899s # } _ExtendedGDBusPropertyInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusInterfaceInfo parent_struct; 899s # const gchar *hyphen_name; 899s # } _ExtendedGDBusInterfaceInfo; 899s # 899s # typedef struct 899s # { 899s # const _ExtendedGDBusPropertyInfo *info; 899s # guint prop_id; 899s # GValue orig_value; /* the value before the change */ 899s # } ChangedProperty; 899s # 899s # static void 899s # _changed_property_free (ChangedProperty *data) 899s # { 899s # g_value_unset (&data->orig_value); 899s # g_free (data); 899s # } 899s # 899s # static gboolean 899s # _g_strv_equal0 (gchar **a, gchar **b) 899s # { 899s # gboolean ret = FALSE; 899s # guint n; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # if (g_strv_length (a) != g_strv_length (b)) 899s # goto out; 899s # for (n = 0; a[n] != NULL; n++) 899s # if (g_strcmp0 (a[n], b[n]) != 0) 899s # goto out; 899s # ret = TRUE; 899s # out: 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _g_variant_equal0 (GVariant *a, GVariant *b) 899s # { 899s # gboolean ret = FALSE; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # ret = g_variant_equal (a, b); 899s # out: 899s # return ret; 899s # } 899s # 899s # G_GNUC_UNUSED static gboolean 899s # _g_value_equal (const GValue *a, const GValue *b) 899s # { 899s # gboolean ret = FALSE; 899s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 899s # switch (G_VALUE_TYPE (a)) 899s # { 899s # case G_TYPE_BOOLEAN: 899s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 899s # break; 899s # case G_TYPE_UCHAR: 899s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 899s # break; 899s # case G_TYPE_INT: 899s # ret = (g_value_get_int (a) == g_value_get_int (b)); 899s # break; 899s # case G_TYPE_UINT: 899s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 899s # break; 899s # case G_TYPE_INT64: 899s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 899s # break; 899s # case G_TYPE_UINT64: 899s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 899s # break; 899s # case G_TYPE_DOUBLE: 899s # { 899s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 899s # gdouble da = g_value_get_double (a); 899s # gdouble db = g_value_get_double (b); 899s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 899s # } 899s # break; 899s # case G_TYPE_STRING: 899s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 899s # break; 899s # case G_TYPE_VARIANT: 899s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 899s # break; 899s # default: 899s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 899s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 899s # else 899s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 899s # break; 899s # } 899s # return ret; 899s # } 899s # 899s # static void 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint G_GNUC_UNUSED, 899s # void *marshal_data) 899s # { 899s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 899s # (void *data1, 899s # GDBusMethodInvocation *arg_method_invocation, 899s # const gchar *arg_arg_g, 899s # void *data2); 899s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 899s # GCClosure *cc = (GCClosure*) closure; 899s # void *data1, *data2; 899s # gboolean v_return; 899s # 899s # g_return_if_fail (return_value != NULL); 899s # g_return_if_fail (n_param_values == 3); 899s # 899s # if (G_CCLOSURE_SWAP_DATA (closure)) 899s # { 899s # data1 = closure->data; 899s # data2 = g_value_peek_pointer (param_values + 0); 899s # } 899s # else 899s # { 899s # data1 = g_value_peek_pointer (param_values + 0); 899s # data2 = closure->data; 899s # } 899s # 899s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 899s # (marshal_data ? marshal_data : cc->callback); 899s # 899s # v_return = 899s # callback (data1, 899s # g_marshal_value_peek_object (param_values + 1), 899s # g_marshal_value_peek_string (param_values + 2), 899s # data2); 899s # 899s # g_value_set_boolean (return_value, v_return); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ 899s # * Code for interface org.project.UsefulInterface 899s # * ------------------------------------------------------------------------ 899s # */ 899s # 899s # /** 899s # * SECTION:OrgProjectUsefulInterface 899s # * @title: OrgProjectUsefulInterface 899s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 899s # * 899s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 899s # */ 899s # 899s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 899s # 899s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 899s # { 899s # { 899s # -1, 899s # (gchar *) "arg_g", 899s # (gchar *) "g", 899s # NULL 899s # }, 899s # FALSE 899s # }; 899s # 899s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 899s # { 899s # { 899s # -1, 899s # (gchar *) "SingleArgMethodG", 899s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 899s # NULL, 899s # NULL 899s # }, 899s # "handle-single-arg-method-g", 899s # FALSE 899s # }; 899s # 899s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 899s # { 899s # { 899s # -1, 899s # (gchar *) "org.project.UsefulInterface", 899s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 899s # NULL, 899s # NULL, 899s # NULL 899s # }, 899s # "org-project-useful-interface", 899s # }; 899s # 899s # 899s # /** 899s # * org_project_useful_interface_interface_info: 899s # * 899s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 899s # * 899s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 899s # */ 899s # GDBusInterfaceInfo * 899s # org_project_useful_interface_interface_info (void) 899s # { 899s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_override_properties: 899s # * @klass: The class structure for a #GObject derived class. 899s # * @property_id_begin: The property id to assign to the first overridden property. 899s # * 899s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 899s # * The properties are overridden in the order they are defined. 899s # * 899s # * Returns: The last property id. 899s # */ 899s # guint 899s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 899s # { 899s # return property_id_begin - 1; 899s # } 899s # 899s # 899s # inline static void 899s # org_project_useful_interface_method_marshal_single_arg_method_g ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint, 899s # void *marshal_data) 899s # { 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 899s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 899s # } 899s # 899s # 899s # /** 899s # * OrgProjectUsefulInterface: 899s # * 899s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceIface: 899s # * @parent_iface: The parent interface. 899s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 899s # * 899s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 899s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 899s # 899s # static void 899s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 899s # { 899s # /* GObject signals for incoming D-Bus method calls: */ 899s # /** 899s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: A #GDBusMethodInvocation. 899s # * @arg_arg_g: Argument passed by remote caller. 899s # * 899s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 899s # * 899s # * 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. 899s # * 899s # * 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. 899s # */ 899s # g_signal_new ("handle-single-arg-method-g", 899s # G_TYPE_FROM_INTERFACE (iface), 899s # G_SIGNAL_RUN_LAST, 899s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 899s # g_signal_accumulator_true_handled, 899s # NULL, 899s # org_project_useful_interface_method_marshal_single_arg_method_g, 899s # G_TYPE_BOOLEAN, 899s # 2, 899s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 899s # 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_g: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_g: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 899s # */ 899s # void 899s # org_project_useful_interface_call_single_arg_method_g ( 899s # OrgProjectUsefulInterface *proxy, 899s # const gchar *arg_arg_g, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodG", 899s # g_variant_new ("(g)", 899s # arg_arg_g), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # callback, 899s # user_data); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_g_finish: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_g_finish ( 899s # OrgProjectUsefulInterface *proxy, 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_g_sync: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_g: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_g_sync ( 899s # OrgProjectUsefulInterface *proxy, 899s # const gchar *arg_arg_g, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodG", 899s # g_variant_new ("(g)", 899s # arg_arg_g), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_complete_single_arg_method_g: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: (transfer full): A #GDBusMethodInvocation. 899s # * 899s # * 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. 899s # * 899s # * This method will free @invocation, you cannot use it afterwards. 899s # */ 899s # void 899s # org_project_useful_interface_complete_single_arg_method_g ( 899s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 899s # GDBusMethodInvocation *invocation) 899s # { 899s # g_dbus_method_invocation_return_value (invocation, 899s # g_variant_new ("()")); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxy: 899s # * 899s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxyClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceProxy. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceProxyPrivate 899s # { 899s # GData *qdata; 899s # }; 899s # 899s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_proxy_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 899s # g_datalist_clear (&proxy->priv->qdata); 899s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # const GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 899s # const gchar *sender_name G_GNUC_UNUSED, 899s # const gchar *signal_name, 899s # GVariant *parameters) 899s # { 899s # _ExtendedGDBusSignalInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # gsize n; 899s # guint signal_id; 899s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 899s # if (info == NULL) 899s # return; 899s # num_params = g_variant_n_children (parameters); 899s # paramv = g_new0 (GValue, num_params + 1); 899s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[0], proxy); 899s # g_variant_iter_init (&iter, parameters); 899s # n = 1; 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_signal_emitv (paramv, signal_id, 0, NULL); 899s # for (n = 0; n < num_params + 1; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 899s # GVariant *changed_properties, 899s # const gchar *const *invalidated_properties) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 899s # guint n; 899s # const gchar *key; 899s # GVariantIter *iter; 899s # _ExtendedGDBusPropertyInfo *info; 899s # g_variant_get (changed_properties, "a{sv}", &iter); 899s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 899s # g_datalist_remove_data (&proxy->priv->qdata, key); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # g_variant_iter_free (iter); 899s # for (n = 0; invalidated_properties[n] != NULL; n++) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 899s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 899s # #else 899s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 899s # #endif 899s # 899s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusProxyClass *proxy_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 899s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 899s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 899s # 899s # proxy_class = G_DBUS_PROXY_CLASS (klass); 899s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 899s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_sync: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_sync ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new_for_bus ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_sync: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_sync ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeleton: 899s # * 899s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeletonClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 899s # { 899s # GValue *properties; 899s # GList *changed_properties; 899s # GSource *changed_properties_idle_source; 899s # GMainContext *context; 899s # GMutex lock; 899s # }; 899s # 899s # static void 899s # _org_project_useful_interface_skeleton_handle_method_call ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name, 899s # const gchar *method_name, 899s # GVariant *parameters, 899s # GDBusMethodInvocation *invocation, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # _ExtendedGDBusMethodInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # guint num_extra; 899s # gsize n; 899s # guint signal_id; 899s # GValue return_value = G_VALUE_INIT; 899s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 899s # g_assert (info != NULL); 899s # num_params = g_variant_n_children (parameters); 899s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 899s # n = 0; 899s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[n++], skeleton); 899s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 899s # g_value_set_object (¶mv[n++], invocation); 899s # if (info->pass_fdlist) 899s # { 899s # #ifdef G_OS_UNIX 899s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 899s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 899s # #else 899s # g_assert_not_reached (); 899s # #endif 899s # } 899s # g_variant_iter_init (&iter, parameters); 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_init (&return_value, G_TYPE_BOOLEAN); 899s # g_signal_emitv (paramv, signal_id, 0, &return_value); 899s # if (!g_value_get_boolean (&return_value)) 899s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 899s # g_value_unset (&return_value); 899s # for (n = 0; n < num_params + num_extra; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static GVariant * 899s # _org_project_useful_interface_skeleton_handle_get_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # GVariant *ret; 899s # ret = NULL; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # g_value_init (&value, pspec->value_type); 899s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 899s # g_value_unset (&value); 899s # } 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _org_project_useful_interface_skeleton_handle_set_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GVariant *variant, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # gboolean ret; 899s # ret = FALSE; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # if (info->use_gvariant) 899s # g_value_set_variant (&value, variant); 899s # else 899s # g_dbus_gvariant_to_gvalue (variant, &value); 899s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # g_value_unset (&value); 899s # ret = TRUE; 899s # } 899s # return ret; 899s # } 899s # 899s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 899s # { 899s # _org_project_useful_interface_skeleton_handle_method_call, 899s # _org_project_useful_interface_skeleton_handle_get_property, 899s # _org_project_useful_interface_skeleton_handle_set_property, 899s # {NULL} 899s # }; 899s # 899s # static GDBusInterfaceInfo * 899s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return org_project_useful_interface_interface_info (); 899s # } 899s # 899s # static GDBusInterfaceVTable * 899s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 899s # } 899s # 899s # static GVariant * 899s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 899s # 899s # GVariantBuilder builder; 899s # guint n; 899s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 899s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 899s # goto out; 899s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 899s # { 899s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 899s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 899s # { 899s # GVariant *value; 899s # 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); 899s # if (value != NULL) 899s # { 899s # g_variant_take_ref (value); 899s # g_variant_builder_add (&builder, "{sv}", info->name, value); 899s # g_variant_unref (value); 899s # } 899s # } 899s # } 899s # out: 899s # return g_variant_builder_end (&builder); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_skeleton_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 899s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 899s # if (skeleton->priv->changed_properties_idle_source != NULL) 899s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 899s # g_main_context_unref (skeleton->priv->context); 899s # g_mutex_clear (&skeleton->priv->lock); 899s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 899s # #else 899s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 899s # #endif 899s # 899s # g_mutex_init (&skeleton->priv->lock); 899s # skeleton->priv->context = g_main_context_ref_thread_default (); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusInterfaceSkeletonClass *skeleton_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 899s # 899s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 899s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 899s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 899s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 899s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_skeleton_new: 899s # * 899s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_skeleton_new (void) 899s # { 899s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 899s # } 899s # /tmp/tmpprbwje52/tmp_xl5g5w8.xml: 899s # 899s # 899s # 899s # 899s # 899s # 899s # 899s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprbwje52/tmp_xl5g5w8.xml', '--output', '-', '--body'] 899s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 899s # Output: /* 899s # * This file is generated by gdbus-codegen, do not modify it. 899s # * 899s # * The license of this code is the same as for the D-Bus interface description 899s # * it was derived from. Note that it links to GLib, so must comply with the 899s # * LGPL linking clauses. 899s # */ 899s # 899s # #ifdef HAVE_CONFIG_H 899s # # include "config.h" 899s # #endif 899s # 899s # #include 899s # #ifdef G_OS_UNIX 899s # # include 899s # #endif 899s # 899s # #ifdef G_ENABLE_DEBUG 899s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 899s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 899s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 899s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 899s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 899s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 899s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 899s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 899s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 899s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 899s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 899s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 899s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 899s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 899s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 899s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 899s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 899s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 899s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 899s # #else /* !G_ENABLE_DEBUG */ 899s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 899s # * Do not access GValues directly in your code. Instead, use the 899s # * g_value_get_*() functions 899s # */ 899s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 899s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 899s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 899s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 899s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 899s # #endif /* !G_ENABLE_DEBUG */ 899s # 899s # typedef struct 899s # { 899s # GDBusArgInfo parent_struct; 899s # gboolean use_gvariant; 899s # } _ExtendedGDBusArgInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusMethodInfo parent_struct; 899s # const gchar *signal_name; 899s # gboolean pass_fdlist; 899s # } _ExtendedGDBusMethodInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusSignalInfo parent_struct; 899s # const gchar *signal_name; 899s # } _ExtendedGDBusSignalInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusPropertyInfo parent_struct; 899s # const gchar *hyphen_name; 899s # guint use_gvariant : 1; 899s # guint emits_changed_signal : 1; 899s # } _ExtendedGDBusPropertyInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusInterfaceInfo parent_struct; 899s # const gchar *hyphen_name; 899s # } _ExtendedGDBusInterfaceInfo; 899s # 899s # typedef struct 899s # { 899s # const _ExtendedGDBusPropertyInfo *info; 899s # guint prop_id; 899s # GValue orig_value; /* the value before the change */ 899s # } ChangedProperty; 899s # 899s # static void 899s # _changed_property_free (ChangedProperty *data) 899s # { 899s # g_value_unset (&data->orig_value); 899s # g_free (data); 899s # } 899s # 899s # static gboolean 899s # _g_strv_equal0 (gchar **a, gchar **b) 899s # { 899s # gboolean ret = FALSE; 899s # guint n; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # if (g_strv_length (a) != g_strv_length (b)) 899s # goto out; 899s # for (n = 0; a[n] != NULL; n++) 899s # if (g_strcmp0 (a[n], b[n]) != 0) 899s # goto out; 899s # ret = TRUE; 899s # out: 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _g_variant_equal0 (GVariant *a, GVariant *b) 899s # { 899s # gboolean ret = FALSE; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # ret = g_variant_equal (a, b); 899s # out: 899s # return ret; 899s # } 899s # 899s # G_GNUC_UNUSED static gboolean 899s # _g_value_equal (const GValue *a, const GValue *b) 899s # { 899s # gboolean ret = FALSE; 899s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 899s # switch (G_VALUE_TYPE (a)) 899s # { 899s # case G_TYPE_BOOLEAN: 899s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 899s # break; 899s # case G_TYPE_UCHAR: 899s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 899s # break; 899s # case G_TYPE_INT: 899s # ret = (g_value_get_int (a) == g_value_get_int (b)); 899s # break; 899s # case G_TYPE_UINT: 899s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 899s # break; 899s # case G_TYPE_INT64: 899s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 899s # break; 899s # case G_TYPE_UINT64: 899s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 899s # break; 899s # case G_TYPE_DOUBLE: 899s # { 899s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 899s # gdouble da = g_value_get_double (a); 899s # gdouble db = g_value_get_double (b); 899s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 899s # } 899s # break; 899s # case G_TYPE_STRING: 899s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 899s # break; 899s # case G_TYPE_VARIANT: 899s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 899s # break; 899s # default: 899s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 899s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 899s # else 899s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 899s # break; 899s # } 899s # return ret; 899s # } 899s # 899s # static void 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint G_GNUC_UNUSED, 899s # void *marshal_data) 899s # { 899s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 899s # (void *data1, 899s # GDBusMethodInvocation *arg_method_invocation, 899s # GVariant *arg_arg_h, 899s # void *data2); 899s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 899s # GCClosure *cc = (GCClosure*) closure; 899s # void *data1, *data2; 899s # gboolean v_return; 899s # 899s # g_return_if_fail (return_value != NULL); 899s # g_return_if_fail (n_param_values == 3); 899s # 899s # if (G_CCLOSURE_SWAP_DATA (closure)) 899s # { 899s # data1 = closure->data; 899s # data2 = g_value_peek_pointer (param_values + 0); 899s # } 899s # else 899s # { 899s # data1 = g_value_peek_pointer (param_values + 0); 899s # data2 = closure->data; 899s # } 899s # 899s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 899s # (marshal_data ? marshal_data : cc->callback); 899s # 899s # v_return = 899s # callback (data1, 899s # g_marshal_value_peek_object (param_values + 1), 899s # g_marshal_value_peek_variant (param_values + 2), 899s # data2); 899s # 899s # g_value_set_boolean (return_value, v_return); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ 899s # * Code for interface org.project.UsefulInterface 899s # * ------------------------------------------------------------------------ 899s # */ 899s # 899s # /** 899s # * SECTION:OrgProjectUsefulInterface 899s # * @title: OrgProjectUsefulInterface 899s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 899s # * 899s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 899s # */ 899s # 899s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 899s # 899s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 899s # { 899s # { 899s # -1, 899s # (gchar *) "arg_h", 899s # (gchar *) "h", 899s # NULL 899s # }, 899s # FALSE 899s # }; 899s # 899s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 899s # { 899s # { 899s # -1, 899s # (gchar *) "SingleArgMethodH", 899s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 899s # NULL, 899s # NULL 899s # }, 899s # "handle-single-arg-method-h", 899s # FALSE 899s # }; 899s # 899s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 899s # { 899s # { 899s # -1, 899s # (gchar *) "org.project.UsefulInterface", 899s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 899s # NULL, 899s # NULL, 899s # NULL 899s # }, 899s # "org-project-useful-interface", 899s # }; 899s # 899s # 899s # /** 899s # * org_project_useful_interface_interface_info: 899s # * 899s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 899s # * 899s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 899s # */ 899s # GDBusInterfaceInfo * 899s # org_project_useful_interface_interface_info (void) 899s # { 899s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_override_properties: 899s # * @klass: The class structure for a #GObject derived class. 899s # * @property_id_begin: The property id to assign to the first overridden property. 899s # * 899s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 899s # * The properties are overridden in the order they are defined. 899s # * 899s # * Returns: The last property id. 899s # */ 899s # guint 899s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 899s # { 899s # return property_id_begin - 1; 899s # } 899s # 899s # 899s # inline static void 899s # org_project_useful_interface_method_marshal_single_arg_method_h ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint, 899s # void *marshal_data) 899s # { 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 899s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 899s # } 899s # 899s # 899s # /** 899s # * OrgProjectUsefulInterface: 899s # * 899s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceIface: 899s # * @parent_iface: The parent interface. 899s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 899s # * 899s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 899s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 899s # 899s # static void 899s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 899s # { 899s # /* GObject signals for incoming D-Bus method calls: */ 899s # /** 899s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: A #GDBusMethodInvocation. 899s # * @arg_arg_h: Argument passed by remote caller. 899s # * 899s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 899s # * 899s # * 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. 899s # * 899s # * 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. 899s # */ 899s # g_signal_new ("handle-single-arg-method-h", 899s # G_TYPE_FROM_INTERFACE (iface), 899s # G_SIGNAL_RUN_LAST, 899s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 899s # g_signal_accumulator_true_handled, 899s # NULL, 899s # org_project_useful_interface_method_marshal_single_arg_method_h, 899s # G_TYPE_BOOLEAN, 899s # 2, 899s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 899s # 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_h: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_h: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 899s # */ 899s # void 899s # org_project_useful_interface_call_single_arg_method_h ( 899s # OrgProjectUsefulInterface *proxy, 899s # GVariant *arg_arg_h, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodH", 899s # g_variant_new ("(@h)", 899s # arg_arg_h), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # callback, 899s # user_data); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_h_finish: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_h_finish ( 899s # OrgProjectUsefulInterface *proxy, 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_h_sync: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_h: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_h_sync ( 899s # OrgProjectUsefulInterface *proxy, 899s # GVariant *arg_arg_h, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodH", 899s # g_variant_new ("(@h)", 899s # arg_arg_h), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_complete_single_arg_method_h: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: (transfer full): A #GDBusMethodInvocation. 899s # * 899s # * 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. 899s # * 899s # * This method will free @invocation, you cannot use it afterwards. 899s # */ 899s # void 899s # org_project_useful_interface_complete_single_arg_method_h ( 899s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 899s # GDBusMethodInvocation *invocation) 899s # { 899s # g_dbus_method_invocation_return_value (invocation, 899s # g_variant_new ("()")); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxy: 899s # * 899s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxyClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceProxy. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceProxyPrivate 899s # { 899s # GData *qdata; 899s # }; 899s # 899s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_proxy_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 899s # g_datalist_clear (&proxy->priv->qdata); 899s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # const GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 899s # const gchar *sender_name G_GNUC_UNUSED, 899s # const gchar *signal_name, 899s # GVariant *parameters) 899s # { 899s # _ExtendedGDBusSignalInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # gsize n; 899s # guint signal_id; 899s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 899s # if (info == NULL) 899s # return; 899s # num_params = g_variant_n_children (parameters); 899s # paramv = g_new0 (GValue, num_params + 1); 899s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[0], proxy); 899s # g_variant_iter_init (&iter, parameters); 899s # n = 1; 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_signal_emitv (paramv, signal_id, 0, NULL); 899s # for (n = 0; n < num_params + 1; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 899s # GVariant *changed_properties, 899s # const gchar *const *invalidated_properties) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 899s # guint n; 899s # const gchar *key; 899s # GVariantIter *iter; 899s # _ExtendedGDBusPropertyInfo *info; 899s # g_variant_get (changed_properties, "a{sv}", &iter); 899s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 899s # g_datalist_remove_data (&proxy->priv->qdata, key); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # g_variant_iter_free (iter); 899s # for (n = 0; invalidated_properties[n] != NULL; n++) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 899s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 899s # #else 899s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 899s # #endif 899s # 899s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusProxyClass *proxy_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 899s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 899s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 899s # 899s # proxy_class = G_DBUS_PROXY_CLASS (klass); 899s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 899s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_sync: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_sync ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new_for_bus ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_sync: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_sync ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeleton: 899s # * 899s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeletonClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 899s # { 899s # GValue *properties; 899s # GList *changed_properties; 899s # GSource *changed_properties_idle_source; 899s # GMainContext *context; 899s # GMutex lock; 899s # }; 899s # 899s # static void 899s # _org_project_useful_interface_skeleton_handle_method_call ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name, 899s # const gchar *method_name, 899s # GVariant *parameters, 899s # GDBusMethodInvocation *invocation, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # _ExtendedGDBusMethodInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # guint num_extra; 899s # gsize n; 899s # guint signal_id; 899s # GValue return_value = G_VALUE_INIT; 899s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 899s # g_assert (info != NULL); 899s # num_params = g_variant_n_children (parameters); 899s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 899s # n = 0; 899s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[n++], skeleton); 899s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 899s # g_value_set_object (¶mv[n++], invocation); 899s # if (info->pass_fdlist) 899s # { 899s # #ifdef G_OS_UNIX 899s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 899s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 899s # #else 899s # g_assert_not_reached (); 899s # #endif 899s # } 899s # g_variant_iter_init (&iter, parameters); 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_init (&return_value, G_TYPE_BOOLEAN); 899s # g_signal_emitv (paramv, signal_id, 0, &return_value); 899s # if (!g_value_get_boolean (&return_value)) 899s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 899s # g_value_unset (&return_value); 899s # for (n = 0; n < num_params + num_extra; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static GVariant * 899s # _org_project_useful_interface_skeleton_handle_get_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # GVariant *ret; 899s # ret = NULL; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # g_value_init (&value, pspec->value_type); 899s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 899s # g_value_unset (&value); 899s # } 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _org_project_useful_interface_skeleton_handle_set_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GVariant *variant, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # gboolean ret; 899s # ret = FALSE; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # if (info->use_gvariant) 899s # g_value_set_variant (&value, variant); 899s # else 899s # g_dbus_gvariant_to_gvalue (variant, &value); 899s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # g_value_unset (&value); 899s # ret = TRUE; 899s # } 899s # return ret; 899s # } 899s # 899s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 899s # { 899s # _org_project_useful_interface_skeleton_handle_method_call, 899s # _org_project_useful_interface_skeleton_handle_get_property, 899s # _org_project_useful_interface_skeleton_handle_set_property, 899s # {NULL} 899s # }; 899s # 899s # static GDBusInterfaceInfo * 899s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return org_project_useful_interface_interface_info (); 899s # } 899s # 899s # static GDBusInterfaceVTable * 899s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 899s # } 899s # 899s # static GVariant * 899s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 899s # 899s # GVariantBuilder builder; 899s # guint n; 899s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 899s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 899s # goto out; 899s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 899s # { 899s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 899s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 899s # { 899s # GVariant *value; 899s # 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); 899s # if (value != NULL) 899s # { 899s # g_variant_take_ref (value); 899s # g_variant_builder_add (&builder, "{sv}", info->name, value); 899s # g_variant_unref (value); 899s # } 899s # } 899s # } 899s # out: 899s # return g_variant_builder_end (&builder); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_skeleton_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 899s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 899s # if (skeleton->priv->changed_properties_idle_source != NULL) 899s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 899s # g_main_context_unref (skeleton->priv->context); 899s # g_mutex_clear (&skeleton->priv->lock); 899s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 899s # #else 899s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 899s # #endif 899s # 899s # g_mutex_init (&skeleton->priv->lock); 899s # skeleton->priv->context = g_main_context_ref_thread_default (); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusInterfaceSkeletonClass *skeleton_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 899s # 899s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 899s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 899s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 899s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 899s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_skeleton_new: 899s # * 899s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_skeleton_new (void) 899s # { 899s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 899s # } 899s # /tmp/tmpprbwje52/tmph09lk_4a.xml: 899s # 899s # 899s # 899s # 899s # 899s # 899s # 899s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprbwje52/tmph09lk_4a.xml', '--output', '-', '--body'] 899s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 899s # Output: /* 899s # * This file is generated by gdbus-codegen, do not modify it. 899s # * 899s # * The license of this code is the same as for the D-Bus interface description 899s # * it was derived from. Note that it links to GLib, so must comply with the 899s # * LGPL linking clauses. 899s # */ 899s # 899s # #ifdef HAVE_CONFIG_H 899s # # include "config.h" 899s # #endif 899s # 899s # #include 899s # #ifdef G_OS_UNIX 899s # # include 899s # #endif 899s # 899s # #ifdef G_ENABLE_DEBUG 899s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 899s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 899s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 899s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 899s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 899s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 899s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 899s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 899s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 899s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 899s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 899s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 899s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 899s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 899s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 899s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 899s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 899s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 899s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 899s # #else /* !G_ENABLE_DEBUG */ 899s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 899s # * Do not access GValues directly in your code. Instead, use the 899s # * g_value_get_*() functions 899s # */ 899s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 899s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 899s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 899s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 899s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 899s # #endif /* !G_ENABLE_DEBUG */ 899s # 899s # typedef struct 899s # { 899s # GDBusArgInfo parent_struct; 899s # gboolean use_gvariant; 899s # } _ExtendedGDBusArgInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusMethodInfo parent_struct; 899s # const gchar *signal_name; 899s # gboolean pass_fdlist; 899s # } _ExtendedGDBusMethodInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusSignalInfo parent_struct; 899s # const gchar *signal_name; 899s # } _ExtendedGDBusSignalInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusPropertyInfo parent_struct; 899s # const gchar *hyphen_name; 899s # guint use_gvariant : 1; 899s # guint emits_changed_signal : 1; 899s # } _ExtendedGDBusPropertyInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusInterfaceInfo parent_struct; 899s # const gchar *hyphen_name; 899s # } _ExtendedGDBusInterfaceInfo; 899s # 899s # typedef struct 899s # { 899s # const _ExtendedGDBusPropertyInfo *info; 899s # guint prop_id; 899s # GValue orig_value; /* the value before the change */ 899s # } ChangedProperty; 899s # 899s # static void 899s # _changed_property_free (ChangedProperty *data) 899s # { 899s # g_value_unset (&data->orig_value); 899s # g_free (data); 899s # } 899s # 899s # static gboolean 899s # _g_strv_equal0 (gchar **a, gchar **b) 899s # { 899s # gboolean ret = FALSE; 899s # guint n; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # if (g_strv_length (a) != g_strv_length (b)) 899s # goto out; 899s # for (n = 0; a[n] != NULL; n++) 899s # if (g_strcmp0 (a[n], b[n]) != 0) 899s # goto out; 899s # ret = TRUE; 899s # out: 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _g_variant_equal0 (GVariant *a, GVariant *b) 899s # { 899s # gboolean ret = FALSE; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # ret = g_variant_equal (a, b); 899s # out: 899s # return ret; 899s # } 899s # 899s # G_GNUC_UNUSED static gboolean 899s # _g_value_equal (const GValue *a, const GValue *b) 899s # { 899s # gboolean ret = FALSE; 899s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 899s # switch (G_VALUE_TYPE (a)) 899s # { 899s # case G_TYPE_BOOLEAN: 899s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 899s # break; 899s # case G_TYPE_UCHAR: 899s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 899s # break; 899s # case G_TYPE_INT: 899s # ret = (g_value_get_int (a) == g_value_get_int (b)); 899s # break; 899s # case G_TYPE_UINT: 899s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 899s # break; 899s # case G_TYPE_INT64: 899s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 899s # break; 899s # case G_TYPE_UINT64: 899s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 899s # break; 899s # case G_TYPE_DOUBLE: 899s # { 899s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 899s # gdouble da = g_value_get_double (a); 899s # gdouble db = g_value_get_double (b); 899s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 899s # } 899s # break; 899s # case G_TYPE_STRING: 899s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 899s # break; 899s # case G_TYPE_VARIANT: 899s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 899s # break; 899s # default: 899s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 899s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 899s # else 899s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 899s # break; 899s # } 899s # return ret; 899s # } 899s # 899s # static void 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint G_GNUC_UNUSED, 899s # void *marshal_data) 899s # { 899s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 899s # (void *data1, 899s # GDBusMethodInvocation *arg_method_invocation, 899s # const gchar *arg_arg_ay, 899s # void *data2); 899s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 899s # GCClosure *cc = (GCClosure*) closure; 899s # void *data1, *data2; 899s # gboolean v_return; 899s # 899s # g_return_if_fail (return_value != NULL); 899s # g_return_if_fail (n_param_values == 3); 899s # 899s # if (G_CCLOSURE_SWAP_DATA (closure)) 899s # { 899s # data1 = closure->data; 899s # data2 = g_value_peek_pointer (param_values + 0); 899s # } 899s # else 899s # { 899s # data1 = g_value_peek_pointer (param_values + 0); 899s # data2 = closure->data; 899s # } 899s # 899s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 899s # (marshal_data ? marshal_data : cc->callback); 899s # 899s # v_return = 899s # callback (data1, 899s # g_marshal_value_peek_object (param_values + 1), 899s # g_marshal_value_peek_string (param_values + 2), 899s # data2); 899s # 899s # g_value_set_boolean (return_value, v_return); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ 899s # * Code for interface org.project.UsefulInterface 899s # * ------------------------------------------------------------------------ 899s # */ 899s # 899s # /** 899s # * SECTION:OrgProjectUsefulInterface 899s # * @title: OrgProjectUsefulInterface 899s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 899s # * 899s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 899s # */ 899s # 899s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 899s # 899s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 899s # { 899s # { 899s # -1, 899s # (gchar *) "arg_ay", 899s # (gchar *) "ay", 899s # NULL 899s # }, 899s # FALSE 899s # }; 899s # 899s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 899s # { 899s # { 899s # -1, 899s # (gchar *) "SingleArgMethodAy", 899s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 899s # NULL, 899s # NULL 899s # }, 899s # "handle-single-arg-method-ay", 899s # FALSE 899s # }; 899s # 899s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 899s # { 899s # { 899s # -1, 899s # (gchar *) "org.project.UsefulInterface", 899s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 899s # NULL, 899s # NULL, 899s # NULL 899s # }, 899s # "org-project-useful-interface", 899s # }; 899s # 899s # 899s # /** 899s # * org_project_useful_interface_interface_info: 899s # * 899s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 899s # * 899s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 899s # */ 899s # GDBusInterfaceInfo * 899s # org_project_useful_interface_interface_info (void) 899s # { 899s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_override_properties: 899s # * @klass: The class structure for a #GObject derived class. 899s # * @property_id_begin: The property id to assign to the first overridden property. 899s # * 899s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 899s # * The properties are overridden in the order they are defined. 899s # * 899s # * Returns: The last property id. 899s # */ 899s # guint 899s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 899s # { 899s # return property_id_begin - 1; 899s # } 899s # 899s # 899s # inline static void 899s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint, 899s # void *marshal_data) 899s # { 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 899s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 899s # } 899s # 899s # 899s # /** 899s # * OrgProjectUsefulInterface: 899s # * 899s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceIface: 899s # * @parent_iface: The parent interface. 899s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 899s # * 899s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 899s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 899s # 899s # static void 899s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 899s # { 899s # /* GObject signals for incoming D-Bus method calls: */ 899s # /** 899s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: A #GDBusMethodInvocation. 899s # * @arg_arg_ay: Argument passed by remote caller. 899s # * 899s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 899s # * 899s # * 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. 899s # * 899s # * 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. 899s # */ 899s # g_signal_new ("handle-single-arg-method-ay", 899s # G_TYPE_FROM_INTERFACE (iface), 899s # G_SIGNAL_RUN_LAST, 899s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 899s # g_signal_accumulator_true_handled, 899s # NULL, 899s # org_project_useful_interface_method_marshal_single_arg_method_ay, 899s # G_TYPE_BOOLEAN, 899s # 2, 899s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 899s # 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_ay: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_ay: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 899s # */ 899s # void 899s # org_project_useful_interface_call_single_arg_method_ay ( 899s # OrgProjectUsefulInterface *proxy, 899s # const gchar *arg_arg_ay, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodAy", 899s # g_variant_new ("(^ay)", 899s # arg_arg_ay), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # callback, 899s # user_data); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_ay_finish: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_ay_finish ( 899s # OrgProjectUsefulInterface *proxy, 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_ay_sync: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_ay: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_ay_sync ( 899s # OrgProjectUsefulInterface *proxy, 899s # const gchar *arg_arg_ay, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodAy", 899s # g_variant_new ("(^ay)", 899s # arg_arg_ay), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_complete_single_arg_method_ay: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: (transfer full): A #GDBusMethodInvocation. 899s # * 899s # * 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. 899s # * 899s # * This method will free @invocation, you cannot use it afterwards. 899s # */ 899s # void 899s # org_project_useful_interface_complete_single_arg_method_ay ( 899s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 899s # GDBusMethodInvocation *invocation) 899s # { 899s # g_dbus_method_invocation_return_value (invocation, 899s # g_variant_new ("()")); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxy: 899s # * 899s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxyClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceProxy. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceProxyPrivate 899s # { 899s # GData *qdata; 899s # }; 899s # 899s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_proxy_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 899s # g_datalist_clear (&proxy->priv->qdata); 899s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # const GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 899s # const gchar *sender_name G_GNUC_UNUSED, 899s # const gchar *signal_name, 899s # GVariant *parameters) 899s # { 899s # _ExtendedGDBusSignalInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # gsize n; 899s # guint signal_id; 899s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 899s # if (info == NULL) 899s # return; 899s # num_params = g_variant_n_children (parameters); 899s # paramv = g_new0 (GValue, num_params + 1); 899s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[0], proxy); 899s # g_variant_iter_init (&iter, parameters); 899s # n = 1; 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_signal_emitv (paramv, signal_id, 0, NULL); 899s # for (n = 0; n < num_params + 1; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 899s # GVariant *changed_properties, 899s # const gchar *const *invalidated_properties) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 899s # guint n; 899s # const gchar *key; 899s # GVariantIter *iter; 899s # _ExtendedGDBusPropertyInfo *info; 899s # g_variant_get (changed_properties, "a{sv}", &iter); 899s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 899s # g_datalist_remove_data (&proxy->priv->qdata, key); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # g_variant_iter_free (iter); 899s # for (n = 0; invalidated_properties[n] != NULL; n++) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 899s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 899s # #else 899s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 899s # #endif 899s # 899s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusProxyClass *proxy_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 899s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 899s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 899s # 899s # proxy_class = G_DBUS_PROXY_CLASS (klass); 899s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 899s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_sync: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_sync ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new_for_bus ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_sync: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_sync ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeleton: 899s # * 899s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeletonClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 899s # { 899s # GValue *properties; 899s # GList *changed_properties; 899s # GSource *changed_properties_idle_source; 899s # GMainContext *context; 899s # GMutex lock; 899s # }; 899s # 899s # static void 899s # _org_project_useful_interface_skeleton_handle_method_call ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name, 899s # const gchar *method_name, 899s # GVariant *parameters, 899s # GDBusMethodInvocation *invocation, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # _ExtendedGDBusMethodInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # guint num_extra; 899s # gsize n; 899s # guint signal_id; 899s # GValue return_value = G_VALUE_INIT; 899s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 899s # g_assert (info != NULL); 899s # num_params = g_variant_n_children (parameters); 899s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 899s # n = 0; 899s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[n++], skeleton); 899s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 899s # g_value_set_object (¶mv[n++], invocation); 899s # if (info->pass_fdlist) 899s # { 899s # #ifdef G_OS_UNIX 899s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 899s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 899s # #else 899s # g_assert_not_reached (); 899s # #endif 899s # } 899s # g_variant_iter_init (&iter, parameters); 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_init (&return_value, G_TYPE_BOOLEAN); 899s # g_signal_emitv (paramv, signal_id, 0, &return_value); 899s # if (!g_value_get_boolean (&return_value)) 899s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 899s # g_value_unset (&return_value); 899s # for (n = 0; n < num_params + num_extra; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static GVariant * 899s # _org_project_useful_interface_skeleton_handle_get_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # GVariant *ret; 899s # ret = NULL; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # g_value_init (&value, pspec->value_type); 899s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 899s # g_value_unset (&value); 899s # } 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _org_project_useful_interface_skeleton_handle_set_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GVariant *variant, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # gboolean ret; 899s # ret = FALSE; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # if (info->use_gvariant) 899s # g_value_set_variant (&value, variant); 899s # else 899s # g_dbus_gvariant_to_gvalue (variant, &value); 899s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # g_value_unset (&value); 899s # ret = TRUE; 899s # } 899s # return ret; 899s # } 899s # 899s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 899s # { 899s # _org_project_useful_interface_skeleton_handle_method_call, 899s # _org_project_useful_interface_skeleton_handle_get_property, 899s # _org_project_useful_interface_skeleton_handle_set_property, 899s # {NULL} 899s # }; 899s # 899s # static GDBusInterfaceInfo * 899s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return org_project_useful_interface_interface_info (); 899s # } 899s # 899s # static GDBusInterfaceVTable * 899s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 899s # } 899s # 899s # static GVariant * 899s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 899s # 899s # GVariantBuilder builder; 899s # guint n; 899s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 899s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 899s # goto out; 899s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 899s # { 899s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 899s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 899s # { 899s # GVariant *value; 899s # 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); 899s # if (value != NULL) 899s # { 899s # g_variant_take_ref (value); 899s # g_variant_builder_add (&builder, "{sv}", info->name, value); 899s # g_variant_unref (value); 899s # } 899s # } 899s # } 899s # out: 899s # return g_variant_builder_end (&builder); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_skeleton_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 899s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 899s # if (skeleton->priv->changed_properties_idle_source != NULL) 899s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 899s # g_main_context_unref (skeleton->priv->context); 899s # g_mutex_clear (&skeleton->priv->lock); 899s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 899s # #else 899s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 899s # #endif 899s # 899s # g_mutex_init (&skeleton->priv->lock); 899s # skeleton->priv->context = g_main_context_ref_thread_default (); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusInterfaceSkeletonClass *skeleton_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 899s # 899s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 899s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 899s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 899s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 899s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_skeleton_new: 899s # * 899s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_skeleton_new (void) 899s # { 899s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 899s # } 899s # /tmp/tmpprbwje52/tmp41c341_4.xml: 899s # 899s # 899s # 899s # 899s # 899s # 899s # 899s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprbwje52/tmp41c341_4.xml', '--output', '-', '--body'] 899s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 899s # Output: /* 899s # * This file is generated by gdbus-codegen, do not modify it. 899s # * 899s # * The license of this code is the same as for the D-Bus interface description 899s # * it was derived from. Note that it links to GLib, so must comply with the 899s # * LGPL linking clauses. 899s # */ 899s # 899s # #ifdef HAVE_CONFIG_H 899s # # include "config.h" 899s # #endif 899s # 899s # #include 899s # #ifdef G_OS_UNIX 899s # # include 899s # #endif 899s # 899s # #ifdef G_ENABLE_DEBUG 899s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 899s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 899s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 899s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 899s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 899s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 899s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 899s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 899s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 899s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 899s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 899s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 899s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 899s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 899s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 899s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 899s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 899s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 899s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 899s # #else /* !G_ENABLE_DEBUG */ 899s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 899s # * Do not access GValues directly in your code. Instead, use the 899s # * g_value_get_*() functions 899s # */ 899s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 899s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 899s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 899s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 899s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 899s # #endif /* !G_ENABLE_DEBUG */ 899s # 899s # typedef struct 899s # { 899s # GDBusArgInfo parent_struct; 899s # gboolean use_gvariant; 899s # } _ExtendedGDBusArgInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusMethodInfo parent_struct; 899s # const gchar *signal_name; 899s # gboolean pass_fdlist; 899s # } _ExtendedGDBusMethodInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusSignalInfo parent_struct; 899s # const gchar *signal_name; 899s # } _ExtendedGDBusSignalInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusPropertyInfo parent_struct; 899s # const gchar *hyphen_name; 899s # guint use_gvariant : 1; 899s # guint emits_changed_signal : 1; 899s # } _ExtendedGDBusPropertyInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusInterfaceInfo parent_struct; 899s # const gchar *hyphen_name; 899s # } _ExtendedGDBusInterfaceInfo; 899s # 899s # typedef struct 899s # { 899s # const _ExtendedGDBusPropertyInfo *info; 899s # guint prop_id; 899s # GValue orig_value; /* the value before the change */ 899s # } ChangedProperty; 899s # 899s # static void 899s # _changed_property_free (ChangedProperty *data) 899s # { 899s # g_value_unset (&data->orig_value); 899s # g_free (data); 899s # } 899s # 899s # static gboolean 899s # _g_strv_equal0 (gchar **a, gchar **b) 899s # { 899s # gboolean ret = FALSE; 899s # guint n; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # if (g_strv_length (a) != g_strv_length (b)) 899s # goto out; 899s # for (n = 0; a[n] != NULL; n++) 899s # if (g_strcmp0 (a[n], b[n]) != 0) 899s # goto out; 899s # ret = TRUE; 899s # out: 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _g_variant_equal0 (GVariant *a, GVariant *b) 899s # { 899s # gboolean ret = FALSE; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # ret = g_variant_equal (a, b); 899s # out: 899s # return ret; 899s # } 899s # 899s # G_GNUC_UNUSED static gboolean 899s # _g_value_equal (const GValue *a, const GValue *b) 899s # { 899s # gboolean ret = FALSE; 899s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 899s # switch (G_VALUE_TYPE (a)) 899s # { 899s # case G_TYPE_BOOLEAN: 899s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 899s # break; 899s # case G_TYPE_UCHAR: 899s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 899s # break; 899s # case G_TYPE_INT: 899s # ret = (g_value_get_int (a) == g_value_get_int (b)); 899s # break; 899s # case G_TYPE_UINT: 899s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 899s # break; 899s # case G_TYPE_INT64: 899s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 899s # break; 899s # case G_TYPE_UINT64: 899s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 899s # break; 899s # case G_TYPE_DOUBLE: 899s # { 899s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 899s # gdouble da = g_value_get_double (a); 899s # gdouble db = g_value_get_double (b); 899s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 899s # } 899s # break; 899s # case G_TYPE_STRING: 899s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 899s # break; 899s # case G_TYPE_VARIANT: 899s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 899s # break; 899s # default: 899s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 899s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 899s # else 899s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 899s # break; 899s # } 899s # return ret; 899s # } 899s # 899s # static void 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint G_GNUC_UNUSED, 899s # void *marshal_data) 899s # { 899s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 899s # (void *data1, 899s # GDBusMethodInvocation *arg_method_invocation, 899s # const gchar *const *arg_arg_as, 899s # void *data2); 899s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 899s # GCClosure *cc = (GCClosure*) closure; 899s # void *data1, *data2; 899s # gboolean v_return; 899s # 899s # g_return_if_fail (return_value != NULL); 899s # g_return_if_fail (n_param_values == 3); 899s # 899s # if (G_CCLOSURE_SWAP_DATA (closure)) 899s # { 899s # data1 = closure->data; 899s # data2 = g_value_peek_pointer (param_values + 0); 899s # } 899s # else 899s # { 899s # data1 = g_value_peek_pointer (param_values + 0); 899s # data2 = closure->data; 899s # } 899s # 899s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 899s # (marshal_data ? marshal_data : cc->callback); 899s # 899s # v_return = 899s # callback (data1, 899s # g_marshal_value_peek_object (param_values + 1), 899s # g_marshal_value_peek_boxed (param_values + 2), 899s # data2); 899s # 899s # g_value_set_boolean (return_value, v_return); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ 899s # * Code for interface org.project.UsefulInterface 899s # * ------------------------------------------------------------------------ 899s # */ 899s # 899s # /** 899s # * SECTION:OrgProjectUsefulInterface 899s # * @title: OrgProjectUsefulInterface 899s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 899s # * 899s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 899s # */ 899s # 899s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 899s # 899s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 899s # { 899s # { 899s # -1, 899s # (gchar *) "arg_as", 899s # (gchar *) "as", 899s # NULL 899s # }, 899s # FALSE 899s # }; 899s # 899s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 899s # { 899s # { 899s # -1, 899s # (gchar *) "SingleArgMethodAs", 899s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 899s # NULL, 899s # NULL 899s # }, 899s # "handle-single-arg-method-as", 899s # FALSE 899s # }; 899s # 899s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 899s # { 899s # { 899s # -1, 899s # (gchar *) "org.project.UsefulInterface", 899s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 899s # NULL, 899s # NULL, 899s # NULL 899s # }, 899s # "org-project-useful-interface", 899s # }; 899s # 899s # 899s # /** 899s # * org_project_useful_interface_interface_info: 899s # * 899s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 899s # * 899s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 899s # */ 899s # GDBusInterfaceInfo * 899s # org_project_useful_interface_interface_info (void) 899s # { 899s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_override_properties: 899s # * @klass: The class structure for a #GObject derived class. 899s # * @property_id_begin: The property id to assign to the first overridden property. 899s # * 899s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 899s # * The properties are overridden in the order they are defined. 899s # * 899s # * Returns: The last property id. 899s # */ 899s # guint 899s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 899s # { 899s # return property_id_begin - 1; 899s # } 899s # 899s # 899s # inline static void 899s # org_project_useful_interface_method_marshal_single_arg_method_as ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint, 899s # void *marshal_data) 899s # { 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 899s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 899s # } 899s # 899s # 899s # /** 899s # * OrgProjectUsefulInterface: 899s # * 899s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceIface: 899s # * @parent_iface: The parent interface. 899s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 899s # * 899s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 899s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 899s # 899s # static void 899s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 899s # { 899s # /* GObject signals for incoming D-Bus method calls: */ 899s # /** 899s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: A #GDBusMethodInvocation. 899s # * @arg_arg_as: Argument passed by remote caller. 899s # * 899s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 899s # * 899s # * 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. 899s # * 899s # * 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. 899s # */ 899s # g_signal_new ("handle-single-arg-method-as", 899s # G_TYPE_FROM_INTERFACE (iface), 899s # G_SIGNAL_RUN_LAST, 899s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 899s # g_signal_accumulator_true_handled, 899s # NULL, 899s # org_project_useful_interface_method_marshal_single_arg_method_as, 899s # G_TYPE_BOOLEAN, 899s # 2, 899s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 899s # 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_as: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_as: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 899s # */ 899s # void 899s # org_project_useful_interface_call_single_arg_method_as ( 899s # OrgProjectUsefulInterface *proxy, 899s # const gchar *const *arg_arg_as, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodAs", 899s # g_variant_new ("(^as)", 899s # arg_arg_as), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # callback, 899s # user_data); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_as_finish: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_as_finish ( 899s # OrgProjectUsefulInterface *proxy, 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_as_sync: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_as: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_as_sync ( 899s # OrgProjectUsefulInterface *proxy, 899s # const gchar *const *arg_arg_as, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodAs", 899s # g_variant_new ("(^as)", 899s # arg_arg_as), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_complete_single_arg_method_as: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: (transfer full): A #GDBusMethodInvocation. 899s # * 899s # * 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. 899s # * 899s # * This method will free @invocation, you cannot use it afterwards. 899s # */ 899s # void 899s # org_project_useful_interface_complete_single_arg_method_as ( 899s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 899s # GDBusMethodInvocation *invocation) 899s # { 899s # g_dbus_method_invocation_return_value (invocation, 899s # g_variant_new ("()")); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxy: 899s # * 899s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxyClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceProxy. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceProxyPrivate 899s # { 899s # GData *qdata; 899s # }; 899s # 899s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_proxy_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 899s # g_datalist_clear (&proxy->priv->qdata); 899s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # const GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 899s # const gchar *sender_name G_GNUC_UNUSED, 899s # const gchar *signal_name, 899s # GVariant *parameters) 899s # { 899s # _ExtendedGDBusSignalInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # gsize n; 899s # guint signal_id; 899s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 899s # if (info == NULL) 899s # return; 899s # num_params = g_variant_n_children (parameters); 899s # paramv = g_new0 (GValue, num_params + 1); 899s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[0], proxy); 899s # g_variant_iter_init (&iter, parameters); 899s # n = 1; 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_signal_emitv (paramv, signal_id, 0, NULL); 899s # for (n = 0; n < num_params + 1; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 899s # GVariant *changed_properties, 899s # const gchar *const *invalidated_properties) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 899s # guint n; 899s # const gchar *key; 899s # GVariantIter *iter; 899s # _ExtendedGDBusPropertyInfo *info; 899s # g_variant_get (changed_properties, "a{sv}", &iter); 899s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 899s # g_datalist_remove_data (&proxy->priv->qdata, key); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # g_variant_iter_free (iter); 899s # for (n = 0; invalidated_properties[n] != NULL; n++) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 899s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 899s # #else 899s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 899s # #endif 899s # 899s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusProxyClass *proxy_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 899s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 899s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 899s # 899s # proxy_class = G_DBUS_PROXY_CLASS (klass); 899s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 899s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_sync: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_sync ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new_for_bus ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_sync: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_sync ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeleton: 899s # * 899s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeletonClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 899s # { 899s # GValue *properties; 899s # GList *changed_properties; 899s # GSource *changed_properties_idle_source; 899s # GMainContext *context; 899s # GMutex lock; 899s # }; 899s # 899s # static void 899s # _org_project_useful_interface_skeleton_handle_method_call ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name, 899s # const gchar *method_name, 899s # GVariant *parameters, 899s # GDBusMethodInvocation *invocation, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # _ExtendedGDBusMethodInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # guint num_extra; 899s # gsize n; 899s # guint signal_id; 899s # GValue return_value = G_VALUE_INIT; 899s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 899s # g_assert (info != NULL); 899s # num_params = g_variant_n_children (parameters); 899s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 899s # n = 0; 899s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[n++], skeleton); 899s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 899s # g_value_set_object (¶mv[n++], invocation); 899s # if (info->pass_fdlist) 899s # { 899s # #ifdef G_OS_UNIX 899s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 899s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 899s # #else 899s # g_assert_not_reached (); 899s # #endif 899s # } 899s # g_variant_iter_init (&iter, parameters); 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_init (&return_value, G_TYPE_BOOLEAN); 899s # g_signal_emitv (paramv, signal_id, 0, &return_value); 899s # if (!g_value_get_boolean (&return_value)) 899s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 899s # g_value_unset (&return_value); 899s # for (n = 0; n < num_params + num_extra; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static GVariant * 899s # _org_project_useful_interface_skeleton_handle_get_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # GVariant *ret; 899s # ret = NULL; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # g_value_init (&value, pspec->value_type); 899s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 899s # g_value_unset (&value); 899s # } 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _org_project_useful_interface_skeleton_handle_set_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GVariant *variant, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # gboolean ret; 899s # ret = FALSE; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # if (info->use_gvariant) 899s # g_value_set_variant (&value, variant); 899s # else 899s # g_dbus_gvariant_to_gvalue (variant, &value); 899s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # g_value_unset (&value); 899s # ret = TRUE; 899s # } 899s # return ret; 899s # } 899s # 899s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 899s # { 899s # _org_project_useful_interface_skeleton_handle_method_call, 899s # _org_project_useful_interface_skeleton_handle_get_property, 899s # _org_project_useful_interface_skeleton_handle_set_property, 899s # {NULL} 899s # }; 899s # 899s # static GDBusInterfaceInfo * 899s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return org_project_useful_interface_interface_info (); 899s # } 899s # 899s # static GDBusInterfaceVTable * 899s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 899s # } 899s # 899s # static GVariant * 899s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 899s # 899s # GVariantBuilder builder; 899s # guint n; 899s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 899s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 899s # goto out; 899s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 899s # { 899s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 899s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 899s # { 899s # GVariant *value; 899s # 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); 899s # if (value != NULL) 899s # { 899s # g_variant_take_ref (value); 899s # g_variant_builder_add (&builder, "{sv}", info->name, value); 899s # g_variant_unref (value); 899s # } 899s # } 899s # } 899s # out: 899s # return g_variant_builder_end (&builder); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_skeleton_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 899s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 899s # if (skeleton->priv->changed_properties_idle_source != NULL) 899s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 899s # g_main_context_unref (skeleton->priv->context); 899s # g_mutex_clear (&skeleton->priv->lock); 899s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 899s # #else 899s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 899s # #endif 899s # 899s # g_mutex_init (&skeleton->priv->lock); 899s # skeleton->priv->context = g_main_context_ref_thread_default (); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusInterfaceSkeletonClass *skeleton_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 899s # 899s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 899s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 899s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 899s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 899s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_skeleton_new: 899s # * 899s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_skeleton_new (void) 899s # { 899s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 899s # } 899s # /tmp/tmpprbwje52/tmpaeooph8t.xml: 899s # 899s # 899s # 899s # 899s # 899s # 899s # 899s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprbwje52/tmpaeooph8t.xml', '--output', '-', '--body'] 899s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 899s # Output: /* 899s # * This file is generated by gdbus-codegen, do not modify it. 899s # * 899s # * The license of this code is the same as for the D-Bus interface description 899s # * it was derived from. Note that it links to GLib, so must comply with the 899s # * LGPL linking clauses. 899s # */ 899s # 899s # #ifdef HAVE_CONFIG_H 899s # # include "config.h" 899s # #endif 899s # 899s # #include 899s # #ifdef G_OS_UNIX 899s # # include 899s # #endif 899s # 899s # #ifdef G_ENABLE_DEBUG 899s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 899s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 899s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 899s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 899s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 899s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 899s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 899s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 899s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 899s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 899s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 899s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 899s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 899s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 899s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 899s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 899s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 899s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 899s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 899s # #else /* !G_ENABLE_DEBUG */ 899s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 899s # * Do not access GValues directly in your code. Instead, use the 899s # * g_value_get_*() functions 899s # */ 899s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 899s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 899s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 899s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 899s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 899s # #endif /* !G_ENABLE_DEBUG */ 899s # 899s # typedef struct 899s # { 899s # GDBusArgInfo parent_struct; 899s # gboolean use_gvariant; 899s # } _ExtendedGDBusArgInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusMethodInfo parent_struct; 899s # const gchar *signal_name; 899s # gboolean pass_fdlist; 899s # } _ExtendedGDBusMethodInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusSignalInfo parent_struct; 899s # const gchar *signal_name; 899s # } _ExtendedGDBusSignalInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusPropertyInfo parent_struct; 899s # const gchar *hyphen_name; 899s # guint use_gvariant : 1; 899s # guint emits_changed_signal : 1; 899s # } _ExtendedGDBusPropertyInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusInterfaceInfo parent_struct; 899s # const gchar *hyphen_name; 899s # } _ExtendedGDBusInterfaceInfo; 899s # 899s # typedef struct 899s # { 899s # const _ExtendedGDBusPropertyInfo *info; 899s # guint prop_id; 899s # GValue orig_value; /* the value before the change */ 899s # } ChangedProperty; 899s # 899s # static void 899s # _changed_property_free (ChangedProperty *data) 899s # { 899s # g_value_unset (&data->orig_value); 899s # g_free (data); 899s # } 899s # 899s # static gboolean 899s # _g_strv_equal0 (gchar **a, gchar **b) 899s # { 899s # gboolean ret = FALSE; 899s # guint n; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # if (g_strv_length (a) != g_strv_length (b)) 899s # goto out; 899s # for (n = 0; a[n] != NULL; n++) 899s # if (g_strcmp0 (a[n], b[n]) != 0) 899s # goto out; 899s # ret = TRUE; 899s # out: 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _g_variant_equal0 (GVariant *a, GVariant *b) 899s # { 899s # gboolean ret = FALSE; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # ret = g_variant_equal (a, b); 899s # out: 899s # return ret; 899s # } 899s # 899s # G_GNUC_UNUSED static gboolean 899s # _g_value_equal (const GValue *a, const GValue *b) 899s # { 899s # gboolean ret = FALSE; 899s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 899s # switch (G_VALUE_TYPE (a)) 899s # { 899s # case G_TYPE_BOOLEAN: 899s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 899s # break; 899s # case G_TYPE_UCHAR: 899s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 899s # break; 899s # case G_TYPE_INT: 899s # ret = (g_value_get_int (a) == g_value_get_int (b)); 899s # break; 899s # case G_TYPE_UINT: 899s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 899s # break; 899s # case G_TYPE_INT64: 899s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 899s # break; 899s # case G_TYPE_UINT64: 899s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 899s # break; 899s # case G_TYPE_DOUBLE: 899s # { 899s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 899s # gdouble da = g_value_get_double (a); 899s # gdouble db = g_value_get_double (b); 899s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 899s # } 899s # break; 899s # case G_TYPE_STRING: 899s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 899s # break; 899s # case G_TYPE_VARIANT: 899s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 899s # break; 899s # default: 899s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 899s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 899s # else 899s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 899s # break; 899s # } 899s # return ret; 899s # } 899s # 899s # static void 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint G_GNUC_UNUSED, 899s # void *marshal_data) 899s # { 899s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 899s # (void *data1, 899s # GDBusMethodInvocation *arg_method_invocation, 899s # const gchar *const *arg_arg_ao, 899s # void *data2); 899s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 899s # GCClosure *cc = (GCClosure*) closure; 899s # void *data1, *data2; 899s # gboolean v_return; 899s # 899s # g_return_if_fail (return_value != NULL); 899s # g_return_if_fail (n_param_values == 3); 899s # 899s # if (G_CCLOSURE_SWAP_DATA (closure)) 899s # { 899s # data1 = closure->data; 899s # data2 = g_value_peek_pointer (param_values + 0); 899s # } 899s # else 899s # { 899s # data1 = g_value_peek_pointer (param_values + 0); 899s # data2 = closure->data; 899s # } 899s # 899s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 899s # (marshal_data ? marshal_data : cc->callback); 899s # 899s # v_return = 899s # callback (data1, 899s # g_marshal_value_peek_object (param_values + 1), 899s # g_marshal_value_peek_boxed (param_values + 2), 899s # data2); 899s # 899s # g_value_set_boolean (return_value, v_return); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ 899s # * Code for interface org.project.UsefulInterface 899s # * ------------------------------------------------------------------------ 899s # */ 899s # 899s # /** 899s # * SECTION:OrgProjectUsefulInterface 899s # * @title: OrgProjectUsefulInterface 899s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 899s # * 899s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 899s # */ 899s # 899s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 899s # 899s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 899s # { 899s # { 899s # -1, 899s # (gchar *) "arg_ao", 899s # (gchar *) "ao", 899s # NULL 899s # }, 899s # FALSE 899s # }; 899s # 899s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 899s # { 899s # { 899s # -1, 899s # (gchar *) "SingleArgMethodAo", 899s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 899s # NULL, 899s # NULL 899s # }, 899s # "handle-single-arg-method-ao", 899s # FALSE 899s # }; 899s # 899s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 899s # { 899s # { 899s # -1, 899s # (gchar *) "org.project.UsefulInterface", 899s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 899s # NULL, 899s # NULL, 899s # NULL 899s # }, 899s # "org-project-useful-interface", 899s # }; 899s # 899s # 899s # /** 899s # * org_project_useful_interface_interface_info: 899s # * 899s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 899s # * 899s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 899s # */ 899s # GDBusInterfaceInfo * 899s # org_project_useful_interface_interface_info (void) 899s # { 899s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_override_properties: 899s # * @klass: The class structure for a #GObject derived class. 899s # * @property_id_begin: The property id to assign to the first overridden property. 899s # * 899s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 899s # * The properties are overridden in the order they are defined. 899s # * 899s # * Returns: The last property id. 899s # */ 899s # guint 899s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 899s # { 899s # return property_id_begin - 1; 899s # } 899s # 899s # 899s # inline static void 899s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint, 899s # void *marshal_data) 899s # { 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 899s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 899s # } 899s # 899s # 899s # /** 899s # * OrgProjectUsefulInterface: 899s # * 899s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceIface: 899s # * @parent_iface: The parent interface. 899s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 899s # * 899s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 899s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 899s # 899s # static void 899s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 899s # { 899s # /* GObject signals for incoming D-Bus method calls: */ 899s # /** 899s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: A #GDBusMethodInvocation. 899s # * @arg_arg_ao: Argument passed by remote caller. 899s # * 899s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 899s # * 899s # * 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. 899s # * 899s # * 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. 899s # */ 899s # g_signal_new ("handle-single-arg-method-ao", 899s # G_TYPE_FROM_INTERFACE (iface), 899s # G_SIGNAL_RUN_LAST, 899s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 899s # g_signal_accumulator_true_handled, 899s # NULL, 899s # org_project_useful_interface_method_marshal_single_arg_method_ao, 899s # G_TYPE_BOOLEAN, 899s # 2, 899s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 899s # 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_ao: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_ao: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 899s # */ 899s # void 899s # org_project_useful_interface_call_single_arg_method_ao ( 899s # OrgProjectUsefulInterface *proxy, 899s # const gchar *const *arg_arg_ao, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodAo", 899s # g_variant_new ("(^ao)", 899s # arg_arg_ao), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # callback, 899s # user_data); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_ao_finish: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_ao_finish ( 899s # OrgProjectUsefulInterface *proxy, 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_ao_sync: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_ao: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_ao_sync ( 899s # OrgProjectUsefulInterface *proxy, 899s # const gchar *const *arg_arg_ao, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodAo", 899s # g_variant_new ("(^ao)", 899s # arg_arg_ao), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_complete_single_arg_method_ao: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: (transfer full): A #GDBusMethodInvocation. 899s # * 899s # * 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. 899s # * 899s # * This method will free @invocation, you cannot use it afterwards. 899s # */ 899s # void 899s # org_project_useful_interface_complete_single_arg_method_ao ( 899s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 899s # GDBusMethodInvocation *invocation) 899s # { 899s # g_dbus_method_invocation_return_value (invocation, 899s # g_variant_new ("()")); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxy: 899s # * 899s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxyClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceProxy. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceProxyPrivate 899s # { 899s # GData *qdata; 899s # }; 899s # 899s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_proxy_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 899s # g_datalist_clear (&proxy->priv->qdata); 899s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # const GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 899s # const gchar *sender_name G_GNUC_UNUSED, 899s # const gchar *signal_name, 899s # GVariant *parameters) 899s # { 899s # _ExtendedGDBusSignalInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # gsize n; 899s # guint signal_id; 899s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 899s # if (info == NULL) 899s # return; 899s # num_params = g_variant_n_children (parameters); 899s # paramv = g_new0 (GValue, num_params + 1); 899s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[0], proxy); 899s # g_variant_iter_init (&iter, parameters); 899s # n = 1; 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_signal_emitv (paramv, signal_id, 0, NULL); 899s # for (n = 0; n < num_params + 1; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 899s # GVariant *changed_properties, 899s # const gchar *const *invalidated_properties) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 899s # guint n; 899s # const gchar *key; 899s # GVariantIter *iter; 899s # _ExtendedGDBusPropertyInfo *info; 899s # g_variant_get (changed_properties, "a{sv}", &iter); 899s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 899s # g_datalist_remove_data (&proxy->priv->qdata, key); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # g_variant_iter_free (iter); 899s # for (n = 0; invalidated_properties[n] != NULL; n++) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 899s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 899s # #else 899s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 899s # #endif 899s # 899s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusProxyClass *proxy_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 899s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 899s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 899s # 899s # proxy_class = G_DBUS_PROXY_CLASS (klass); 899s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 899s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_sync: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_sync ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new_for_bus ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_sync: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_sync ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeleton: 899s # * 899s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeletonClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 899s # { 899s # GValue *properties; 899s # GList *changed_properties; 899s # GSource *changed_properties_idle_source; 899s # GMainContext *context; 899s # GMutex lock; 899s # }; 899s # 899s # static void 899s # _org_project_useful_interface_skeleton_handle_method_call ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name, 899s # const gchar *method_name, 899s # GVariant *parameters, 899s # GDBusMethodInvocation *invocation, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # _ExtendedGDBusMethodInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # guint num_extra; 899s # gsize n; 899s # guint signal_id; 899s # GValue return_value = G_VALUE_INIT; 899s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 899s # g_assert (info != NULL); 899s # num_params = g_variant_n_children (parameters); 899s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 899s # n = 0; 899s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[n++], skeleton); 899s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 899s # g_value_set_object (¶mv[n++], invocation); 899s # if (info->pass_fdlist) 899s # { 899s # #ifdef G_OS_UNIX 899s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 899s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 899s # #else 899s # g_assert_not_reached (); 899s # #endif 899s # } 899s # g_variant_iter_init (&iter, parameters); 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_init (&return_value, G_TYPE_BOOLEAN); 899s # g_signal_emitv (paramv, signal_id, 0, &return_value); 899s # if (!g_value_get_boolean (&return_value)) 899s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 899s # g_value_unset (&return_value); 899s # for (n = 0; n < num_params + num_extra; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static GVariant * 899s # _org_project_useful_interface_skeleton_handle_get_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # GVariant *ret; 899s # ret = NULL; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # g_value_init (&value, pspec->value_type); 899s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 899s # g_value_unset (&value); 899s # } 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _org_project_useful_interface_skeleton_handle_set_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GVariant *variant, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # gboolean ret; 899s # ret = FALSE; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # if (info->use_gvariant) 899s # g_value_set_variant (&value, variant); 899s # else 899s # g_dbus_gvariant_to_gvalue (variant, &value); 899s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # g_value_unset (&value); 899s # ret = TRUE; 899s # } 899s # return ret; 899s # } 899s # 899s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 899s # { 899s # _org_project_useful_interface_skeleton_handle_method_call, 899s # _org_project_useful_interface_skeleton_handle_get_property, 899s # _org_project_useful_interface_skeleton_handle_set_property, 899s # {NULL} 899s # }; 899s # 899s # static GDBusInterfaceInfo * 899s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return org_project_useful_interface_interface_info (); 899s # } 899s # 899s # static GDBusInterfaceVTable * 899s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 899s # } 899s # 899s # static GVariant * 899s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 899s # 899s # GVariantBuilder builder; 899s # guint n; 899s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 899s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 899s # goto out; 899s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 899s # { 899s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 899s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 899s # { 899s # GVariant *value; 899s # 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); 899s # if (value != NULL) 899s # { 899s # g_variant_take_ref (value); 899s # g_variant_builder_add (&builder, "{sv}", info->name, value); 899s # g_variant_unref (value); 899s # } 899s # } 899s # } 899s # out: 899s # return g_variant_builder_end (&builder); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_skeleton_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 899s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 899s # if (skeleton->priv->changed_properties_idle_source != NULL) 899s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 899s # g_main_context_unref (skeleton->priv->context); 899s # g_mutex_clear (&skeleton->priv->lock); 899s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 899s # #else 899s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 899s # #endif 899s # 899s # g_mutex_init (&skeleton->priv->lock); 899s # skeleton->priv->context = g_main_context_ref_thread_default (); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusInterfaceSkeletonClass *skeleton_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 899s # 899s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 899s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 899s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 899s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 899s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_skeleton_new: 899s # * 899s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_skeleton_new (void) 899s # { 899s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 899s # } 899s # /tmp/tmpprbwje52/tmpskh5k2o1.xml: 899s # 899s # 899s # 899s # 899s # 899s # 899s # 899s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprbwje52/tmpskh5k2o1.xml', '--output', '-', '--body'] 899s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 899s # Output: /* 899s # * This file is generated by gdbus-codegen, do not modify it. 899s # * 899s # * The license of this code is the same as for the D-Bus interface description 899s # * it was derived from. Note that it links to GLib, so must comply with the 899s # * LGPL linking clauses. 899s # */ 899s # 899s # #ifdef HAVE_CONFIG_H 899s # # include "config.h" 899s # #endif 899s # 899s # #include 899s # #ifdef G_OS_UNIX 899s # # include 899s # #endif 899s # 899s # #ifdef G_ENABLE_DEBUG 899s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 899s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 899s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 899s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 899s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 899s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 899s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 899s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 899s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 899s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 899s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 899s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 899s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 899s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 899s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 899s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 899s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 899s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 899s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 899s # #else /* !G_ENABLE_DEBUG */ 899s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 899s # * Do not access GValues directly in your code. Instead, use the 899s # * g_value_get_*() functions 899s # */ 899s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 899s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 899s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 899s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 899s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 899s # #endif /* !G_ENABLE_DEBUG */ 899s # 899s # typedef struct 899s # { 899s # GDBusArgInfo parent_struct; 899s # gboolean use_gvariant; 899s # } _ExtendedGDBusArgInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusMethodInfo parent_struct; 899s # const gchar *signal_name; 899s # gboolean pass_fdlist; 899s # } _ExtendedGDBusMethodInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusSignalInfo parent_struct; 899s # const gchar *signal_name; 899s # } _ExtendedGDBusSignalInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusPropertyInfo parent_struct; 899s # const gchar *hyphen_name; 899s # guint use_gvariant : 1; 899s # guint emits_changed_signal : 1; 899s # } _ExtendedGDBusPropertyInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusInterfaceInfo parent_struct; 899s # const gchar *hyphen_name; 899s # } _ExtendedGDBusInterfaceInfo; 899s # 899s # typedef struct 899s # { 899s # const _ExtendedGDBusPropertyInfo *info; 899s # guint prop_id; 899s # GValue orig_value; /* the value before the change */ 899s # } ChangedProperty; 899s # 899s # static void 899s # _changed_property_free (ChangedProperty *data) 899s # { 899s # g_value_unset (&data->orig_value); 899s # g_free (data); 899s # } 899s # 899s # static gboolean 899s # _g_strv_equal0 (gchar **a, gchar **b) 899s # { 899s # gboolean ret = FALSE; 899s # guint n; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # if (g_strv_length (a) != g_strv_length (b)) 899s # goto out; 899s # for (n = 0; a[n] != NULL; n++) 899s # if (g_strcmp0 (a[n], b[n]) != 0) 899s # goto out; 899s # ret = TRUE; 899s # out: 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _g_variant_equal0 (GVariant *a, GVariant *b) 899s # { 899s # gboolean ret = FALSE; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # ret = g_variant_equal (a, b); 899s # out: 899s # return ret; 899s # } 899s # 899s # G_GNUC_UNUSED static gboolean 899s # _g_value_equal (const GValue *a, const GValue *b) 899s # { 899s # gboolean ret = FALSE; 899s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 899s # switch (G_VALUE_TYPE (a)) 899s # { 899s # case G_TYPE_BOOLEAN: 899s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 899s # break; 899s # case G_TYPE_UCHAR: 899s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 899s # break; 899s # case G_TYPE_INT: 899s # ret = (g_value_get_int (a) == g_value_get_int (b)); 899s # break; 899s # case G_TYPE_UINT: 899s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 899s # break; 899s # case G_TYPE_INT64: 899s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 899s # break; 899s # case G_TYPE_UINT64: 899s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 899s # break; 899s # case G_TYPE_DOUBLE: 899s # { 899s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 899s # gdouble da = g_value_get_double (a); 899s # gdouble db = g_value_get_double (b); 899s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 899s # } 899s # break; 899s # case G_TYPE_STRING: 899s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 899s # break; 899s # case G_TYPE_VARIANT: 899s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 899s # break; 899s # default: 899s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 899s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 899s # else 899s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 899s # break; 899s # } 899s # return ret; 899s # } 899s # 899s # static void 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint G_GNUC_UNUSED, 899s # void *marshal_data) 899s # { 899s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 899s # (void *data1, 899s # GDBusMethodInvocation *arg_method_invocation, 899s # const gchar *const *arg_arg_aay, 899s # void *data2); 899s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 899s # GCClosure *cc = (GCClosure*) closure; 899s # void *data1, *data2; 899s # gboolean v_return; 899s # 899s # g_return_if_fail (return_value != NULL); 899s # g_return_if_fail (n_param_values == 3); 899s # 899s # if (G_CCLOSURE_SWAP_DATA (closure)) 899s # { 899s # data1 = closure->data; 899s # data2 = g_value_peek_pointer (param_values + 0); 899s # } 899s # else 899s # { 899s # data1 = g_value_peek_pointer (param_values + 0); 899s # data2 = closure->data; 899s # } 899s # 899s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 899s # (marshal_data ? marshal_data : cc->callback); 899s # 899s # v_return = 899s # callback (data1, 899s # g_marshal_value_peek_object (param_values + 1), 899s # g_marshal_value_peek_boxed (param_values + 2), 899s # data2); 899s # 899s # g_value_set_boolean (return_value, v_return); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ 899s # * Code for interface org.project.UsefulInterface 899s # * ------------------------------------------------------------------------ 899s # */ 899s # 899s # /** 899s # * SECTION:OrgProjectUsefulInterface 899s # * @title: OrgProjectUsefulInterface 899s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 899s # * 899s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 899s # */ 899s # 899s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 899s # 899s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 899s # { 899s # { 899s # -1, 899s # (gchar *) "arg_aay", 899s # (gchar *) "aay", 899s # NULL 899s # }, 899s # FALSE 899s # }; 899s # 899s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 899s # { 899s # { 899s # -1, 899s # (gchar *) "SingleArgMethodAay", 899s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 899s # NULL, 899s # NULL 899s # }, 899s # "handle-single-arg-method-aay", 899s # FALSE 899s # }; 899s # 899s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 899s # { 899s # { 899s # -1, 899s # (gchar *) "org.project.UsefulInterface", 899s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 899s # NULL, 899s # NULL, 899s # NULL 899s # }, 899s # "org-project-useful-interface", 899s # }; 899s # 899s # 899s # /** 899s # * org_project_useful_interface_interface_info: 899s # * 899s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 899s # * 899s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 899s # */ 899s # GDBusInterfaceInfo * 899s # org_project_useful_interface_interface_info (void) 899s # { 899s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_override_properties: 899s # * @klass: The class structure for a #GObject derived class. 899s # * @property_id_begin: The property id to assign to the first overridden property. 899s # * 899s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 899s # * The properties are overridden in the order they are defined. 899s # * 899s # * Returns: The last property id. 899s # */ 899s # guint 899s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 899s # { 899s # return property_id_begin - 1; 899s # } 899s # 899s # 899s # inline static void 899s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint, 899s # void *marshal_data) 899s # { 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 899s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 899s # } 899s # 899s # 899s # /** 899s # * OrgProjectUsefulInterface: 899s # * 899s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceIface: 899s # * @parent_iface: The parent interface. 899s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 899s # * 899s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 899s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 899s # 899s # static void 899s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 899s # { 899s # /* GObject signals for incoming D-Bus method calls: */ 899s # /** 899s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: A #GDBusMethodInvocation. 899s # * @arg_arg_aay: Argument passed by remote caller. 899s # * 899s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 899s # * 899s # * 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. 899s # * 899s # * 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. 899s # */ 899s # g_signal_new ("handle-single-arg-method-aay", 899s # G_TYPE_FROM_INTERFACE (iface), 899s # G_SIGNAL_RUN_LAST, 899s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 899s # g_signal_accumulator_true_handled, 899s # NULL, 899s # org_project_useful_interface_method_marshal_single_arg_method_aay, 899s # G_TYPE_BOOLEAN, 899s # 2, 899s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 899s # 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_aay: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_aay: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 899s # */ 899s # void 899s # org_project_useful_interface_call_single_arg_method_aay ( 899s # OrgProjectUsefulInterface *proxy, 899s # const gchar *const *arg_arg_aay, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodAay", 899s # g_variant_new ("(^aay)", 899s # arg_arg_aay), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # callback, 899s # user_data); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_aay_finish: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_aay_finish ( 899s # OrgProjectUsefulInterface *proxy, 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_aay_sync: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_aay: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_aay_sync ( 899s # OrgProjectUsefulInterface *proxy, 899s # const gchar *const *arg_arg_aay, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodAay", 899s # g_variant_new ("(^aay)", 899s # arg_arg_aay), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_complete_single_arg_method_aay: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: (transfer full): A #GDBusMethodInvocation. 899s # * 899s # * 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. 899s # * 899s # * This method will free @invocation, you cannot use it afterwards. 899s # */ 899s # void 899s # org_project_useful_interface_complete_single_arg_method_aay ( 899s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 899s # GDBusMethodInvocation *invocation) 899s # { 899s # g_dbus_method_invocation_return_value (invocation, 899s # g_variant_new ("()")); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxy: 899s # * 899s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxyClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceProxy. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceProxyPrivate 899s # { 899s # GData *qdata; 899s # }; 899s # 899s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_proxy_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 899s # g_datalist_clear (&proxy->priv->qdata); 899s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # const GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 899s # const gchar *sender_name G_GNUC_UNUSED, 899s # const gchar *signal_name, 899s # GVariant *parameters) 899s # { 899s # _ExtendedGDBusSignalInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # gsize n; 899s # guint signal_id; 899s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 899s # if (info == NULL) 899s # return; 899s # num_params = g_variant_n_children (parameters); 899s # paramv = g_new0 (GValue, num_params + 1); 899s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[0], proxy); 899s # g_variant_iter_init (&iter, parameters); 899s # n = 1; 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_signal_emitv (paramv, signal_id, 0, NULL); 899s # for (n = 0; n < num_params + 1; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 899s # GVariant *changed_properties, 899s # const gchar *const *invalidated_properties) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 899s # guint n; 899s # const gchar *key; 899s # GVariantIter *iter; 899s # _ExtendedGDBusPropertyInfo *info; 899s # g_variant_get (changed_properties, "a{sv}", &iter); 899s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 899s # g_datalist_remove_data (&proxy->priv->qdata, key); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # g_variant_iter_free (iter); 899s # for (n = 0; invalidated_properties[n] != NULL; n++) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 899s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 899s # #else 899s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 899s # #endif 899s # 899s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusProxyClass *proxy_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 899s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 899s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 899s # 899s # proxy_class = G_DBUS_PROXY_CLASS (klass); 899s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 899s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_sync: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_sync ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new_for_bus ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_sync: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_sync ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeleton: 899s # * 899s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeletonClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 899s # { 899s # GValue *properties; 899s # GList *changed_properties; 899s # GSource *changed_properties_idle_source; 899s # GMainContext *context; 899s # GMutex lock; 899s # }; 899s # 899s # static void 899s # _org_project_useful_interface_skeleton_handle_method_call ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name, 899s # const gchar *method_name, 899s # GVariant *parameters, 899s # GDBusMethodInvocation *invocation, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # _ExtendedGDBusMethodInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # guint num_extra; 899s # gsize n; 899s # guint signal_id; 899s # GValue return_value = G_VALUE_INIT; 899s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 899s # g_assert (info != NULL); 899s # num_params = g_variant_n_children (parameters); 899s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 899s # n = 0; 899s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[n++], skeleton); 899s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 899s # g_value_set_object (¶mv[n++], invocation); 899s # if (info->pass_fdlist) 899s # { 899s # #ifdef G_OS_UNIX 899s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 899s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 899s # #else 899s # g_assert_not_reached (); 899s # #endif 899s # } 899s # g_variant_iter_init (&iter, parameters); 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_init (&return_value, G_TYPE_BOOLEAN); 899s # g_signal_emitv (paramv, signal_id, 0, &return_value); 899s # if (!g_value_get_boolean (&return_value)) 899s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 899s # g_value_unset (&return_value); 899s # for (n = 0; n < num_params + num_extra; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static GVariant * 899s # _org_project_useful_interface_skeleton_handle_get_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # GVariant *ret; 899s # ret = NULL; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # g_value_init (&value, pspec->value_type); 899s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 899s # g_value_unset (&value); 899s # } 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _org_project_useful_interface_skeleton_handle_set_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GVariant *variant, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # gboolean ret; 899s # ret = FALSE; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # if (info->use_gvariant) 899s # g_value_set_variant (&value, variant); 899s # else 899s # g_dbus_gvariant_to_gvalue (variant, &value); 899s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # g_value_unset (&value); 899s # ret = TRUE; 899s # } 899s # return ret; 899s # } 899s # 899s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 899s # { 899s # _org_project_useful_interface_skeleton_handle_method_call, 899s # _org_project_useful_interface_skeleton_handle_get_property, 899s # _org_project_useful_interface_skeleton_handle_set_property, 899s # {NULL} 899s # }; 899s # 899s # static GDBusInterfaceInfo * 899s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return org_project_useful_interface_interface_info (); 899s # } 899s # 899s # static GDBusInterfaceVTable * 899s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 899s # } 899s # 899s # static GVariant * 899s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 899s # 899s # GVariantBuilder builder; 899s # guint n; 899s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 899s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 899s # goto out; 899s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 899s # { 899s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 899s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 899s # { 899s # GVariant *value; 899s # 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); 899s # if (value != NULL) 899s # { 899s # g_variant_take_ref (value); 899s # g_variant_builder_add (&builder, "{sv}", info->name, value); 899s # g_variant_unref (value); 899s # } 899s # } 899s # } 899s # out: 899s # return g_variant_builder_end (&builder); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_skeleton_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 899s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 899s # if (skeleton->priv->changed_properties_idle_source != NULL) 899s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 899s # g_main_context_unref (skeleton->priv->context); 899s # g_mutex_clear (&skeleton->priv->lock); 899s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 899s # #else 899s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 899s # #endif 899s # 899s # g_mutex_init (&skeleton->priv->lock); 899s # skeleton->priv->context = g_main_context_ref_thread_default (); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusInterfaceSkeletonClass *skeleton_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 899s # 899s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 899s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 899s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 899s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 899s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_skeleton_new: 899s # * 899s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_skeleton_new (void) 899s # { 899s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 899s # } 899s # /tmp/tmpprbwje52/tmpqjml68lt.xml: 899s # 899s # 899s # 899s # 899s # 899s # 899s # 899s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpprbwje52/tmpqjml68lt.xml', '--output', '-', '--body'] 899s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 899s # Output: /* 899s # * This file is generated by gdbus-codegen, do not modify it. 899s # * 899s # * The license of this code is the same as for the D-Bus interface description 899s # * it was derived from. Note that it links to GLib, so must comply with the 899s # * LGPL linking clauses. 899s # */ 899s # 899s # #ifdef HAVE_CONFIG_H 899s # # include "config.h" 899s # #endif 899s # 899s # #include 899s # #ifdef G_OS_UNIX 899s # # include 899s # #endif 899s # 899s # #ifdef G_ENABLE_DEBUG 899s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 899s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 899s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 899s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 899s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 899s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 899s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 899s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 899s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 899s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 899s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 899s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 899s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 899s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 899s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 899s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 899s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 899s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 899s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 899s # #else /* !G_ENABLE_DEBUG */ 899s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 899s # * Do not access GValues directly in your code. Instead, use the 899s # * g_value_get_*() functions 899s # */ 899s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 899s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 899s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 899s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 899s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 899s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 899s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 899s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 899s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 899s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 899s # #endif /* !G_ENABLE_DEBUG */ 899s # 899s # typedef struct 899s # { 899s # GDBusArgInfo parent_struct; 899s # gboolean use_gvariant; 899s # } _ExtendedGDBusArgInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusMethodInfo parent_struct; 899s # const gchar *signal_name; 899s # gboolean pass_fdlist; 899s # } _ExtendedGDBusMethodInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusSignalInfo parent_struct; 899s # const gchar *signal_name; 899s # } _ExtendedGDBusSignalInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusPropertyInfo parent_struct; 899s # const gchar *hyphen_name; 899s # guint use_gvariant : 1; 899s # guint emits_changed_signal : 1; 899s # } _ExtendedGDBusPropertyInfo; 899s # 899s # typedef struct 899s # { 899s # GDBusInterfaceInfo parent_struct; 899s # const gchar *hyphen_name; 899s # } _ExtendedGDBusInterfaceInfo; 899s # 899s # typedef struct 899s # { 899s # const _ExtendedGDBusPropertyInfo *info; 899s # guint prop_id; 899s # GValue orig_value; /* the value before the change */ 899s # } ChangedProperty; 899s # 899s # static void 899s # _changed_property_free (ChangedProperty *data) 899s # { 899s # g_value_unset (&data->orig_value); 899s # g_free (data); 899s # } 899s # 899s # static gboolean 899s # _g_strv_equal0 (gchar **a, gchar **b) 899s # { 899s # gboolean ret = FALSE; 899s # guint n; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # if (g_strv_length (a) != g_strv_length (b)) 899s # goto out; 899s # for (n = 0; a[n] != NULL; n++) 899s # if (g_strcmp0 (a[n], b[n]) != 0) 899s # goto out; 899s # ret = TRUE; 899s # out: 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _g_variant_equal0 (GVariant *a, GVariant *b) 899s # { 899s # gboolean ret = FALSE; 899s # if (a == NULL && b == NULL) 899s # { 899s # ret = TRUE; 899s # goto out; 899s # } 899s # if (a == NULL || b == NULL) 899s # goto out; 899s # ret = g_variant_equal (a, b); 899s # out: 899s # return ret; 899s # } 899s # 899s # G_GNUC_UNUSED static gboolean 899s # _g_value_equal (const GValue *a, const GValue *b) 899s # { 899s # gboolean ret = FALSE; 899s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 899s # switch (G_VALUE_TYPE (a)) 899s # { 899s # case G_TYPE_BOOLEAN: 899s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 899s # break; 899s # case G_TYPE_UCHAR: 899s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 899s # break; 899s # case G_TYPE_INT: 899s # ret = (g_value_get_int (a) == g_value_get_int (b)); 899s # break; 899s # case G_TYPE_UINT: 899s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 899s # break; 899s # case G_TYPE_INT64: 899s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 899s # break; 899s # case G_TYPE_UINT64: 899s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 899s # break; 899s # case G_TYPE_DOUBLE: 899s # { 899s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 899s # gdouble da = g_value_get_double (a); 899s # gdouble db = g_value_get_double (b); 899s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 899s # } 899s # break; 899s # case G_TYPE_STRING: 899s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 899s # break; 899s # case G_TYPE_VARIANT: 899s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 899s # break; 899s # default: 899s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 899s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 899s # else 899s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 899s # break; 899s # } 899s # return ret; 899s # } 899s # 899s # static void 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint G_GNUC_UNUSED, 899s # void *marshal_data) 899s # { 899s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 899s # (void *data1, 899s # GDBusMethodInvocation *arg_method_invocation, 899s # GVariant *arg_arg_asv, 899s # void *data2); 899s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 899s # GCClosure *cc = (GCClosure*) closure; 899s # void *data1, *data2; 899s # gboolean v_return; 899s # 899s # g_return_if_fail (return_value != NULL); 899s # g_return_if_fail (n_param_values == 3); 899s # 899s # if (G_CCLOSURE_SWAP_DATA (closure)) 899s # { 899s # data1 = closure->data; 899s # data2 = g_value_peek_pointer (param_values + 0); 899s # } 899s # else 899s # { 899s # data1 = g_value_peek_pointer (param_values + 0); 899s # data2 = closure->data; 899s # } 899s # 899s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 899s # (marshal_data ? marshal_data : cc->callback); 899s # 899s # v_return = 899s # callback (data1, 899s # g_marshal_value_peek_object (param_values + 1), 899s # g_marshal_value_peek_variant (param_values + 2), 899s # data2); 899s # 899s # g_value_set_boolean (return_value, v_return); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ 899s # * Code for interface org.project.UsefulInterface 899s # * ------------------------------------------------------------------------ 899s # */ 899s # 899s # /** 899s # * SECTION:OrgProjectUsefulInterface 899s # * @title: OrgProjectUsefulInterface 899s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 899s # * 899s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 899s # */ 899s # 899s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 899s # 899s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 899s # { 899s # { 899s # -1, 899s # (gchar *) "arg_asv", 899s # (gchar *) "a{sv}", 899s # NULL 899s # }, 899s # FALSE 899s # }; 899s # 899s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 899s # { 899s # { 899s # -1, 899s # (gchar *) "SingleArgMethodAsv", 899s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 899s # NULL, 899s # NULL 899s # }, 899s # "handle-single-arg-method-asv", 899s # FALSE 899s # }; 899s # 899s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 899s # { 899s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 899s # NULL 899s # }; 899s # 899s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 899s # { 899s # { 899s # -1, 899s # (gchar *) "org.project.UsefulInterface", 899s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 899s # NULL, 899s # NULL, 899s # NULL 899s # }, 899s # "org-project-useful-interface", 899s # }; 899s # 899s # 899s # /** 899s # * org_project_useful_interface_interface_info: 899s # * 899s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 899s # * 899s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 899s # */ 899s # GDBusInterfaceInfo * 899s # org_project_useful_interface_interface_info (void) 899s # { 899s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_override_properties: 899s # * @klass: The class structure for a #GObject derived class. 899s # * @property_id_begin: The property id to assign to the first overridden property. 899s # * 899s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 899s # * The properties are overridden in the order they are defined. 899s # * 899s # * Returns: The last property id. 899s # */ 899s # guint 899s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 899s # { 899s # return property_id_begin - 1; 899s # } 899s # 899s # 899s # inline static void 899s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 899s # GClosure *closure, 899s # GValue *return_value, 899s # unsigned int n_param_values, 899s # const GValue *param_values, 899s # void *invocation_hint, 899s # void *marshal_data) 899s # { 899s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 899s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 899s # } 899s # 899s # 899s # /** 899s # * OrgProjectUsefulInterface: 899s # * 899s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceIface: 899s # * @parent_iface: The parent interface. 899s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 899s # * 899s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 899s # */ 899s # 899s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 899s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 899s # 899s # static void 899s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 899s # { 899s # /* GObject signals for incoming D-Bus method calls: */ 899s # /** 899s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: A #GDBusMethodInvocation. 899s # * @arg_arg_asv: Argument passed by remote caller. 899s # * 899s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 899s # * 899s # * 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. 899s # * 899s # * 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. 899s # */ 899s # g_signal_new ("handle-single-arg-method-asv", 899s # G_TYPE_FROM_INTERFACE (iface), 899s # G_SIGNAL_RUN_LAST, 899s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 899s # g_signal_accumulator_true_handled, 899s # NULL, 899s # org_project_useful_interface_method_marshal_single_arg_method_asv, 899s # G_TYPE_BOOLEAN, 899s # 2, 899s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 899s # 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_asv: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_asv: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 899s # */ 899s # void 899s # org_project_useful_interface_call_single_arg_method_asv ( 899s # OrgProjectUsefulInterface *proxy, 899s # GVariant *arg_arg_asv, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodAsv", 899s # g_variant_new ("(@a{sv})", 899s # arg_arg_asv), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # callback, 899s # user_data); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_asv_finish: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_asv_finish ( 899s # OrgProjectUsefulInterface *proxy, 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_call_single_arg_method_asv_sync: 899s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 899s # * @arg_arg_asv: Argument to pass with the method invocation. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL. 899s # * 899s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 899s # * 899s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 899s # */ 899s # gboolean 899s # org_project_useful_interface_call_single_arg_method_asv_sync ( 899s # OrgProjectUsefulInterface *proxy, 899s # GVariant *arg_arg_asv, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GVariant *_ret; 899s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 899s # "SingleArgMethodAsv", 899s # g_variant_new ("(@a{sv})", 899s # arg_arg_asv), 899s # G_DBUS_CALL_FLAGS_NONE, 899s # -1, 899s # cancellable, 899s # error); 899s # if (_ret == NULL) 899s # goto _out; 899s # g_variant_get (_ret, 899s # "()"); 899s # g_variant_unref (_ret); 899s # _out: 899s # return _ret != NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_complete_single_arg_method_asv: 899s # * @object: A #OrgProjectUsefulInterface. 899s # * @invocation: (transfer full): A #GDBusMethodInvocation. 899s # * 899s # * 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. 899s # * 899s # * This method will free @invocation, you cannot use it afterwards. 899s # */ 899s # void 899s # org_project_useful_interface_complete_single_arg_method_asv ( 899s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 899s # GDBusMethodInvocation *invocation) 899s # { 899s # g_dbus_method_invocation_return_value (invocation, 899s # g_variant_new ("()")); 899s # } 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxy: 899s # * 899s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceProxyClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceProxy. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceProxyPrivate 899s # { 899s # GData *qdata; 899s # }; 899s # 899s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_proxy_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 899s # g_datalist_clear (&proxy->priv->qdata); 899s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 899s # guint prop_id G_GNUC_UNUSED, 899s # const GValue *value G_GNUC_UNUSED, 899s # GParamSpec *pspec G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 899s # const gchar *sender_name G_GNUC_UNUSED, 899s # const gchar *signal_name, 899s # GVariant *parameters) 899s # { 899s # _ExtendedGDBusSignalInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # gsize n; 899s # guint signal_id; 899s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 899s # if (info == NULL) 899s # return; 899s # num_params = g_variant_n_children (parameters); 899s # paramv = g_new0 (GValue, num_params + 1); 899s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[0], proxy); 899s # g_variant_iter_init (&iter, parameters); 899s # n = 1; 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_signal_emitv (paramv, signal_id, 0, NULL); 899s # for (n = 0; n < num_params + 1; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 899s # GVariant *changed_properties, 899s # const gchar *const *invalidated_properties) 899s # { 899s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 899s # guint n; 899s # const gchar *key; 899s # GVariantIter *iter; 899s # _ExtendedGDBusPropertyInfo *info; 899s # g_variant_get (changed_properties, "a{sv}", &iter); 899s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 899s # g_datalist_remove_data (&proxy->priv->qdata, key); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # g_variant_iter_free (iter); 899s # for (n = 0; invalidated_properties[n] != NULL; n++) 899s # { 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 899s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 899s # if (info != NULL) 899s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 899s # } 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 899s # #else 899s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 899s # #endif 899s # 899s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusProxyClass *proxy_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 899s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 899s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 899s # 899s # proxy_class = G_DBUS_PROXY_CLASS (klass); 899s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 899s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_sync: 899s # * @connection: A #GDBusConnection. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_sync ( 899s # GDBusConnection *connection, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 899s # * @user_data: User data to pass to @callback. 899s # * 899s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 899s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 899s # */ 899s # void 899s # org_project_useful_interface_proxy_new_for_bus ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GAsyncReadyCallback callback, 899s # gpointer user_data) 899s # { 899s # g_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); 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_finish: 899s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 899s # * @error: Return location for error or %NULL 899s # * 899s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_finish ( 899s # GAsyncResult *res, 899s # GError **error) 899s # { 899s # GObject *ret; 899s # GObject *source_object; 899s # source_object = g_async_result_get_source_object (res); 899s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 899s # g_object_unref (source_object); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_proxy_new_for_bus_sync: 899s # * @bus_type: A #GBusType. 899s # * @flags: Flags from the #GDBusProxyFlags enumeration. 899s # * @name: A bus name (well-known or unique). 899s # * @object_path: An object path. 899s # * @cancellable: (nullable): A #GCancellable or %NULL. 899s # * @error: Return location for error or %NULL 899s # * 899s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 899s # * 899s # * The calling thread is blocked until a reply is received. 899s # * 899s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_proxy_new_for_bus_sync ( 899s # GBusType bus_type, 899s # GDBusProxyFlags flags, 899s # const gchar *name, 899s # const gchar *object_path, 899s # GCancellable *cancellable, 899s # GError **error) 899s # { 899s # GInitable *ret; 899s # 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); 899s # if (ret != NULL) 899s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 899s # else 899s # return NULL; 899s # } 899s # 899s # 899s # /* ------------------------------------------------------------------------ */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeleton: 899s # * 899s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 899s # */ 899s # 899s # /** 899s # * OrgProjectUsefulInterfaceSkeletonClass: 899s # * @parent_class: The parent class. 899s # * 899s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 899s # */ 899s # 899s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 899s # { 899s # GValue *properties; 899s # GList *changed_properties; 899s # GSource *changed_properties_idle_source; 899s # GMainContext *context; 899s # GMutex lock; 899s # }; 899s # 899s # static void 899s # _org_project_useful_interface_skeleton_handle_method_call ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name, 899s # const gchar *method_name, 899s # GVariant *parameters, 899s # GDBusMethodInvocation *invocation, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # _ExtendedGDBusMethodInfo *info; 899s # GVariantIter iter; 899s # GVariant *child; 899s # GValue *paramv; 899s # gsize num_params; 899s # guint num_extra; 899s # gsize n; 899s # guint signal_id; 899s # GValue return_value = G_VALUE_INIT; 899s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 899s # g_assert (info != NULL); 899s # num_params = g_variant_n_children (parameters); 899s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 899s # n = 0; 899s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_set_object (¶mv[n++], skeleton); 899s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 899s # g_value_set_object (¶mv[n++], invocation); 899s # if (info->pass_fdlist) 899s # { 899s # #ifdef G_OS_UNIX 899s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 899s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 899s # #else 899s # g_assert_not_reached (); 899s # #endif 899s # } 899s # g_variant_iter_init (&iter, parameters); 899s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 899s # { 899s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 899s # if (arg_info->use_gvariant) 899s # { 899s # g_value_init (¶mv[n], G_TYPE_VARIANT); 899s # g_value_set_variant (¶mv[n], child); 899s # n++; 899s # } 899s # else 899s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 899s # g_variant_unref (child); 899s # } 899s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 899s # g_value_init (&return_value, G_TYPE_BOOLEAN); 899s # g_signal_emitv (paramv, signal_id, 0, &return_value); 899s # if (!g_value_get_boolean (&return_value)) 899s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 899s # g_value_unset (&return_value); 899s # for (n = 0; n < num_params + num_extra; n++) 899s # g_value_unset (¶mv[n]); 899s # g_free (paramv); 899s # } 899s # 899s # static GVariant * 899s # _org_project_useful_interface_skeleton_handle_get_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # GVariant *ret; 899s # ret = NULL; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # g_value_init (&value, pspec->value_type); 899s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 899s # g_value_unset (&value); 899s # } 899s # return ret; 899s # } 899s # 899s # static gboolean 899s # _org_project_useful_interface_skeleton_handle_set_property ( 899s # GDBusConnection *connection G_GNUC_UNUSED, 899s # const gchar *sender G_GNUC_UNUSED, 899s # const gchar *object_path G_GNUC_UNUSED, 899s # const gchar *interface_name G_GNUC_UNUSED, 899s # const gchar *property_name, 899s # GVariant *variant, 899s # GError **error, 899s # gpointer user_data) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 899s # GValue value = G_VALUE_INIT; 899s # GParamSpec *pspec; 899s # _ExtendedGDBusPropertyInfo *info; 899s # gboolean ret; 899s # ret = FALSE; 899s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 899s # g_assert (info != NULL); 899s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 899s # if (pspec == NULL) 899s # { 899s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 899s # } 899s # else 899s # { 899s # if (info->use_gvariant) 899s # g_value_set_variant (&value, variant); 899s # else 899s # g_dbus_gvariant_to_gvalue (variant, &value); 899s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 899s # g_value_unset (&value); 899s # ret = TRUE; 899s # } 899s # return ret; 899s # } 899s # 899s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 899s # { 899s # _org_project_useful_interface_skeleton_handle_method_call, 899s # _org_project_useful_interface_skeleton_handle_get_property, 899s # _org_project_useful_interface_skeleton_handle_set_property, 899s # {NULL} 899s # }; 899s # 899s # static GDBusInterfaceInfo * 899s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return org_project_useful_interface_interface_info (); 899s # } 899s # 899s # static GDBusInterfaceVTable * 899s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 899s # { 899s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 899s # } 899s # 899s # static GVariant * 899s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 899s # 899s # GVariantBuilder builder; 899s # guint n; 899s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 899s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 899s # goto out; 899s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 899s # { 899s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 899s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 899s # { 899s # GVariant *value; 899s # 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); 899s # if (value != NULL) 899s # { 899s # g_variant_take_ref (value); 899s # g_variant_builder_add (&builder, "{sv}", info->name, value); 899s # g_variant_unref (value); 899s # } 899s # } 899s # } 899s # out: 899s # return g_variant_builder_end (&builder); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #else 899s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 899s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 899s # 899s # #endif 899s # static void 899s # org_project_useful_interface_skeleton_finalize (GObject *object) 899s # { 899s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 899s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 899s # if (skeleton->priv->changed_properties_idle_source != NULL) 899s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 899s # g_main_context_unref (skeleton->priv->context); 899s # g_mutex_clear (&skeleton->priv->lock); 899s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 899s # { 899s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 899s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 899s # #else 899s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 899s # #endif 899s # 899s # g_mutex_init (&skeleton->priv->lock); 899s # skeleton->priv->context = g_main_context_ref_thread_default (); 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 899s # { 899s # GObjectClass *gobject_class; 899s # GDBusInterfaceSkeletonClass *skeleton_class; 899s # 899s # gobject_class = G_OBJECT_CLASS (klass); 899s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 899s # 899s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 899s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 899s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 899s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 899s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 899s # 899s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 899s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 899s # #endif 899s # } 899s # 899s # static void 899s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 899s # { 899s # } 899s # 899s # /** 899s # * org_project_useful_interface_skeleton_new: 899s # * 899s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 899s # * 899s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 899s # */ 899s # OrgProjectUsefulInterface * 899s # org_project_useful_interface_skeleton_new (void) 899s # { 899s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 899s # } 900s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 900s # tmpdir: /tmp/tmpl85npgk2 900s # codegen: /usr/bin/gdbus-codegen 900s # /tmp/tmpl85npgk2/tmp6v4z25us.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl85npgk2/tmp6v4z25us.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (void *data1, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.UsefulInterface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectUsefulInterface 900s # * @title: OrgProjectUsefulInterface 900s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 900s # { 900s # { 900s # -1, 900s # (gchar *) "arg_b", 900s # (gchar *) "b", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgMethodB", 900s # NULL, 900s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 900s # NULL 900s # }, 900s # "handle-single-arg-method-b", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.UsefulInterface", 900s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-useful-interface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_useful_interface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_useful_interface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_useful_interface_method_marshal_single_arg_method_b ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectUsefulInterface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * 900s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-single-arg-method-b", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_useful_interface_method_marshal_single_arg_method_b, 900s # G_TYPE_BOOLEAN, 900s # 1, 900s # G_TYPE_DBUS_METHOD_INVOCATION); 900s # 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_b: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_useful_interface_call_single_arg_method_b ( 900s # OrgProjectUsefulInterface *proxy, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodB", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_b_finish: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_b_finish ( 900s # OrgProjectUsefulInterface *proxy, 900s # gboolean *out_arg_b, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(b)", 900s # out_arg_b); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_b_sync: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_b_sync ( 900s # OrgProjectUsefulInterface *proxy, 900s # gboolean *out_arg_b, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodB", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(b)", 900s # out_arg_b); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_complete_single_arg_method_b: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * @arg_b: Parameter to return. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_useful_interface_complete_single_arg_method_b ( 900s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation, 900s # gboolean arg_b) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("(b)", 900s # arg_b)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxy: 900s # * 900s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 900s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 900s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeleton: 900s # * 900s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_useful_interface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_useful_interface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_useful_interface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 900s # { 900s # _org_project_useful_interface_skeleton_handle_method_call, 900s # _org_project_useful_interface_skeleton_handle_get_property, 900s # _org_project_useful_interface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_useful_interface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 900s # } 900s # /tmp/tmpl85npgk2/tmp9svs7qby.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl85npgk2/tmp9svs7qby.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (void *data1, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.UsefulInterface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectUsefulInterface 900s # * @title: OrgProjectUsefulInterface 900s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 900s # { 900s # { 900s # -1, 900s # (gchar *) "arg_y", 900s # (gchar *) "y", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgMethodY", 900s # NULL, 900s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 900s # NULL 900s # }, 900s # "handle-single-arg-method-y", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.UsefulInterface", 900s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-useful-interface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_useful_interface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_useful_interface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_useful_interface_method_marshal_single_arg_method_y ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectUsefulInterface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * 900s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-single-arg-method-y", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_useful_interface_method_marshal_single_arg_method_y, 900s # G_TYPE_BOOLEAN, 900s # 1, 900s # G_TYPE_DBUS_METHOD_INVOCATION); 900s # 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_y: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_useful_interface_call_single_arg_method_y ( 900s # OrgProjectUsefulInterface *proxy, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodY", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_y_finish: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_y_finish ( 900s # OrgProjectUsefulInterface *proxy, 900s # guchar *out_arg_y, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(y)", 900s # out_arg_y); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_y_sync: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_y_sync ( 900s # OrgProjectUsefulInterface *proxy, 900s # guchar *out_arg_y, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodY", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(y)", 900s # out_arg_y); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_complete_single_arg_method_y: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * @arg_y: Parameter to return. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_useful_interface_complete_single_arg_method_y ( 900s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation, 900s # guchar arg_y) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("(y)", 900s # arg_y)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxy: 900s # * 900s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 900s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 900s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeleton: 900s # * 900s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_useful_interface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_useful_interface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_useful_interface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 900s # { 900s # _org_project_useful_interface_skeleton_handle_method_call, 900s # _org_project_useful_interface_skeleton_handle_get_property, 900s # _org_project_useful_interface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_useful_interface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 900s # } 900s # /tmp/tmpl85npgk2/tmprb8e0d5u.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl85npgk2/tmprb8e0d5u.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (void *data1, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.UsefulInterface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectUsefulInterface 900s # * @title: OrgProjectUsefulInterface 900s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 900s # { 900s # { 900s # -1, 900s # (gchar *) "arg_n", 900s # (gchar *) "n", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgMethodN", 900s # NULL, 900s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 900s # NULL 900s # }, 900s # "handle-single-arg-method-n", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.UsefulInterface", 900s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-useful-interface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_useful_interface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_useful_interface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_useful_interface_method_marshal_single_arg_method_n ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectUsefulInterface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * 900s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-single-arg-method-n", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_useful_interface_method_marshal_single_arg_method_n, 900s # G_TYPE_BOOLEAN, 900s # 1, 900s # G_TYPE_DBUS_METHOD_INVOCATION); 900s # 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_n: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_useful_interface_call_single_arg_method_n ( 900s # OrgProjectUsefulInterface *proxy, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodN", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_n_finish: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_n_finish ( 900s # OrgProjectUsefulInterface *proxy, 900s # gint16 *out_arg_n, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(n)", 900s # out_arg_n); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_n_sync: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_n_sync ( 900s # OrgProjectUsefulInterface *proxy, 900s # gint16 *out_arg_n, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodN", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(n)", 900s # out_arg_n); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_complete_single_arg_method_n: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * @arg_n: Parameter to return. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_useful_interface_complete_single_arg_method_n ( 900s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation, 900s # gint16 arg_n) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("(n)", 900s # arg_n)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxy: 900s # * 900s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 900s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 900s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeleton: 900s # * 900s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_useful_interface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_useful_interface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_useful_interface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 900s # { 900s # _org_project_useful_interface_skeleton_handle_method_call, 900s # _org_project_useful_interface_skeleton_handle_get_property, 900s # _org_project_useful_interface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_useful_interface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 900s # } 900s # /tmp/tmpl85npgk2/tmpaf6rxgac.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl85npgk2/tmpaf6rxgac.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (void *data1, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.UsefulInterface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectUsefulInterface 900s # * @title: OrgProjectUsefulInterface 900s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 900s # { 900s # { 900s # -1, 900s # (gchar *) "arg_q", 900s # (gchar *) "q", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgMethodQ", 900s # NULL, 900s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 900s # NULL 900s # }, 900s # "handle-single-arg-method-q", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.UsefulInterface", 900s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-useful-interface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_useful_interface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_useful_interface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_useful_interface_method_marshal_single_arg_method_q ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectUsefulInterface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * 900s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-single-arg-method-q", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_useful_interface_method_marshal_single_arg_method_q, 900s # G_TYPE_BOOLEAN, 900s # 1, 900s # G_TYPE_DBUS_METHOD_INVOCATION); 900s # 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_q: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_useful_interface_call_single_arg_method_q ( 900s # OrgProjectUsefulInterface *proxy, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodQ", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_q_finish: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_q_finish ( 900s # OrgProjectUsefulInterface *proxy, 900s # guint16 *out_arg_q, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(q)", 900s # out_arg_q); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_q_sync: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_q_sync ( 900s # OrgProjectUsefulInterface *proxy, 900s # guint16 *out_arg_q, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodQ", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(q)", 900s # out_arg_q); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_complete_single_arg_method_q: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * @arg_q: Parameter to return. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_useful_interface_complete_single_arg_method_q ( 900s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation, 900s # guint16 arg_q) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("(q)", 900s # arg_q)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxy: 900s # * 900s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 900s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 900s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeleton: 900s # * 900s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_useful_interface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_useful_interface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_useful_interface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 900s # { 900s # _org_project_useful_interface_skeleton_handle_method_call, 900s # _org_project_useful_interface_skeleton_handle_get_property, 900s # _org_project_useful_interface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_useful_interface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 900s # } 900s # /tmp/tmpl85npgk2/tmppnxtegzk.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl85npgk2/tmppnxtegzk.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (void *data1, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.UsefulInterface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectUsefulInterface 900s # * @title: OrgProjectUsefulInterface 900s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 900s # { 900s # { 900s # -1, 900s # (gchar *) "arg_i", 900s # (gchar *) "i", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgMethodI", 900s # NULL, 900s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 900s # NULL 900s # }, 900s # "handle-single-arg-method-i", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.UsefulInterface", 900s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-useful-interface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_useful_interface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_useful_interface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_useful_interface_method_marshal_single_arg_method_i ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectUsefulInterface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * 900s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-single-arg-method-i", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_useful_interface_method_marshal_single_arg_method_i, 900s # G_TYPE_BOOLEAN, 900s # 1, 900s # G_TYPE_DBUS_METHOD_INVOCATION); 900s # 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_i: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_useful_interface_call_single_arg_method_i ( 900s # OrgProjectUsefulInterface *proxy, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodI", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_i_finish: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_i_finish ( 900s # OrgProjectUsefulInterface *proxy, 900s # gint *out_arg_i, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(i)", 900s # out_arg_i); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_i_sync: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_i_sync ( 900s # OrgProjectUsefulInterface *proxy, 900s # gint *out_arg_i, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodI", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(i)", 900s # out_arg_i); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_complete_single_arg_method_i: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * @arg_i: Parameter to return. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_useful_interface_complete_single_arg_method_i ( 900s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation, 900s # gint arg_i) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("(i)", 900s # arg_i)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxy: 900s # * 900s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 900s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 900s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeleton: 900s # * 900s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_useful_interface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_useful_interface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_useful_interface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 900s # { 900s # _org_project_useful_interface_skeleton_handle_method_call, 900s # _org_project_useful_interface_skeleton_handle_get_property, 900s # _org_project_useful_interface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_useful_interface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 900s # } 900s # /tmp/tmpl85npgk2/tmpwulckm8b.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl85npgk2/tmpwulckm8b.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (void *data1, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.UsefulInterface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectUsefulInterface 900s # * @title: OrgProjectUsefulInterface 900s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 900s # { 900s # { 900s # -1, 900s # (gchar *) "arg_u", 900s # (gchar *) "u", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgMethodU", 900s # NULL, 900s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 900s # NULL 900s # }, 900s # "handle-single-arg-method-u", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.UsefulInterface", 900s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-useful-interface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_useful_interface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_useful_interface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_useful_interface_method_marshal_single_arg_method_u ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectUsefulInterface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * 900s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-single-arg-method-u", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_useful_interface_method_marshal_single_arg_method_u, 900s # G_TYPE_BOOLEAN, 900s # 1, 900s # G_TYPE_DBUS_METHOD_INVOCATION); 900s # 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_u: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_useful_interface_call_single_arg_method_u ( 900s # OrgProjectUsefulInterface *proxy, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodU", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_u_finish: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_u_finish ( 900s # OrgProjectUsefulInterface *proxy, 900s # guint *out_arg_u, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(u)", 900s # out_arg_u); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_u_sync: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_u_sync ( 900s # OrgProjectUsefulInterface *proxy, 900s # guint *out_arg_u, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodU", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(u)", 900s # out_arg_u); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_complete_single_arg_method_u: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * @arg_u: Parameter to return. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_useful_interface_complete_single_arg_method_u ( 900s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation, 900s # guint arg_u) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("(u)", 900s # arg_u)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxy: 900s # * 900s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 900s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 900s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeleton: 900s # * 900s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_useful_interface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_useful_interface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_useful_interface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 900s # { 900s # _org_project_useful_interface_skeleton_handle_method_call, 900s # _org_project_useful_interface_skeleton_handle_get_property, 900s # _org_project_useful_interface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_useful_interface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 900s # } 900s # /tmp/tmpl85npgk2/tmpjxlc7t7r.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl85npgk2/tmpjxlc7t7r.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (void *data1, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.UsefulInterface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectUsefulInterface 900s # * @title: OrgProjectUsefulInterface 900s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 900s # { 900s # { 900s # -1, 900s # (gchar *) "arg_x", 900s # (gchar *) "x", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgMethodX", 900s # NULL, 900s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 900s # NULL 900s # }, 900s # "handle-single-arg-method-x", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.UsefulInterface", 900s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-useful-interface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_useful_interface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_useful_interface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_useful_interface_method_marshal_single_arg_method_x ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectUsefulInterface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * 900s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-single-arg-method-x", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_useful_interface_method_marshal_single_arg_method_x, 900s # G_TYPE_BOOLEAN, 900s # 1, 900s # G_TYPE_DBUS_METHOD_INVOCATION); 900s # 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_x: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_useful_interface_call_single_arg_method_x ( 900s # OrgProjectUsefulInterface *proxy, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodX", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_x_finish: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_x_finish ( 900s # OrgProjectUsefulInterface *proxy, 900s # gint64 *out_arg_x, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(x)", 900s # out_arg_x); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_x_sync: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_x_sync ( 900s # OrgProjectUsefulInterface *proxy, 900s # gint64 *out_arg_x, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodX", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(x)", 900s # out_arg_x); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_complete_single_arg_method_x: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * @arg_x: Parameter to return. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_useful_interface_complete_single_arg_method_x ( 900s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation, 900s # gint64 arg_x) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("(x)", 900s # arg_x)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxy: 900s # * 900s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 900s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 900s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeleton: 900s # * 900s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_useful_interface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_useful_interface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_useful_interface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 900s # { 900s # _org_project_useful_interface_skeleton_handle_method_call, 900s # _org_project_useful_interface_skeleton_handle_get_property, 900s # _org_project_useful_interface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_useful_interface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 900s # } 900s # /tmp/tmpl85npgk2/tmp5517uz1l.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl85npgk2/tmp5517uz1l.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (void *data1, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.UsefulInterface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectUsefulInterface 900s # * @title: OrgProjectUsefulInterface 900s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 900s # { 900s # { 900s # -1, 900s # (gchar *) "arg_t", 900s # (gchar *) "t", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgMethodT", 900s # NULL, 900s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 900s # NULL 900s # }, 900s # "handle-single-arg-method-t", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.UsefulInterface", 900s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-useful-interface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_useful_interface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_useful_interface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_useful_interface_method_marshal_single_arg_method_t ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectUsefulInterface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * 900s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-single-arg-method-t", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_useful_interface_method_marshal_single_arg_method_t, 900s # G_TYPE_BOOLEAN, 900s # 1, 900s # G_TYPE_DBUS_METHOD_INVOCATION); 900s # 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_t: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_useful_interface_call_single_arg_method_t ( 900s # OrgProjectUsefulInterface *proxy, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodT", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_t_finish: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_t_finish ( 900s # OrgProjectUsefulInterface *proxy, 900s # guint64 *out_arg_t, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(t)", 900s # out_arg_t); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_t_sync: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_t_sync ( 900s # OrgProjectUsefulInterface *proxy, 900s # guint64 *out_arg_t, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodT", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(t)", 900s # out_arg_t); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_complete_single_arg_method_t: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * @arg_t: Parameter to return. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_useful_interface_complete_single_arg_method_t ( 900s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation, 900s # guint64 arg_t) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("(t)", 900s # arg_t)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxy: 900s # * 900s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 900s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 900s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeleton: 900s # * 900s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_useful_interface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_useful_interface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_useful_interface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 900s # { 900s # _org_project_useful_interface_skeleton_handle_method_call, 900s # _org_project_useful_interface_skeleton_handle_get_property, 900s # _org_project_useful_interface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_useful_interface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 900s # } 900s # /tmp/tmpl85npgk2/tmpa57tg1a9.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl85npgk2/tmpa57tg1a9.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (void *data1, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.UsefulInterface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectUsefulInterface 900s # * @title: OrgProjectUsefulInterface 900s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 900s # { 900s # { 900s # -1, 900s # (gchar *) "arg_d", 900s # (gchar *) "d", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgMethodD", 900s # NULL, 900s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 900s # NULL 900s # }, 900s # "handle-single-arg-method-d", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.UsefulInterface", 900s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-useful-interface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_useful_interface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_useful_interface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_useful_interface_method_marshal_single_arg_method_d ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectUsefulInterface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * 900s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-single-arg-method-d", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_useful_interface_method_marshal_single_arg_method_d, 900s # G_TYPE_BOOLEAN, 900s # 1, 900s # G_TYPE_DBUS_METHOD_INVOCATION); 900s # 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_d: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_useful_interface_call_single_arg_method_d ( 900s # OrgProjectUsefulInterface *proxy, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodD", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_d_finish: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_d_finish ( 900s # OrgProjectUsefulInterface *proxy, 900s # gdouble *out_arg_d, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(d)", 900s # out_arg_d); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_d_sync: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_d_sync ( 900s # OrgProjectUsefulInterface *proxy, 900s # gdouble *out_arg_d, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodD", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(d)", 900s # out_arg_d); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_complete_single_arg_method_d: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * @arg_d: Parameter to return. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_useful_interface_complete_single_arg_method_d ( 900s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation, 900s # gdouble arg_d) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("(d)", 900s # arg_d)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxy: 900s # * 900s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 900s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 900s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeleton: 900s # * 900s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_useful_interface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_useful_interface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_useful_interface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 900s # { 900s # _org_project_useful_interface_skeleton_handle_method_call, 900s # _org_project_useful_interface_skeleton_handle_get_property, 900s # _org_project_useful_interface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_useful_interface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 900s # } 900s # /tmp/tmpl85npgk2/tmpxlc3z_4p.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl85npgk2/tmpxlc3z_4p.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (void *data1, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.UsefulInterface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectUsefulInterface 900s # * @title: OrgProjectUsefulInterface 900s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 900s # { 900s # { 900s # -1, 900s # (gchar *) "arg_s", 900s # (gchar *) "s", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgMethodS", 900s # NULL, 900s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 900s # NULL 900s # }, 900s # "handle-single-arg-method-s", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.UsefulInterface", 900s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-useful-interface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_useful_interface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_useful_interface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_useful_interface_method_marshal_single_arg_method_s ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectUsefulInterface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * 900s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-single-arg-method-s", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_useful_interface_method_marshal_single_arg_method_s, 900s # G_TYPE_BOOLEAN, 900s # 1, 900s # G_TYPE_DBUS_METHOD_INVOCATION); 900s # 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_s: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_useful_interface_call_single_arg_method_s ( 900s # OrgProjectUsefulInterface *proxy, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodS", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_s_finish: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_s_finish ( 900s # OrgProjectUsefulInterface *proxy, 900s # gchar **out_arg_s, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(s)", 900s # out_arg_s); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_s_sync: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_s_sync ( 900s # OrgProjectUsefulInterface *proxy, 900s # gchar **out_arg_s, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodS", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(s)", 900s # out_arg_s); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_complete_single_arg_method_s: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * @arg_s: Parameter to return. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_useful_interface_complete_single_arg_method_s ( 900s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation, 900s # const gchar *arg_s) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("(s)", 900s # arg_s)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxy: 900s # * 900s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 900s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 900s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeleton: 900s # * 900s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_useful_interface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_useful_interface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_useful_interface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 900s # { 900s # _org_project_useful_interface_skeleton_handle_method_call, 900s # _org_project_useful_interface_skeleton_handle_get_property, 900s # _org_project_useful_interface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_useful_interface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 900s # } 900s # /tmp/tmpl85npgk2/tmp_m78_s56.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl85npgk2/tmp_m78_s56.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (void *data1, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.UsefulInterface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectUsefulInterface 900s # * @title: OrgProjectUsefulInterface 900s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 900s # { 900s # { 900s # -1, 900s # (gchar *) "arg_o", 900s # (gchar *) "o", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgMethodO", 900s # NULL, 900s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 900s # NULL 900s # }, 900s # "handle-single-arg-method-o", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.UsefulInterface", 900s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-useful-interface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_useful_interface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_useful_interface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_useful_interface_method_marshal_single_arg_method_o ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectUsefulInterface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * 900s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-single-arg-method-o", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_useful_interface_method_marshal_single_arg_method_o, 900s # G_TYPE_BOOLEAN, 900s # 1, 900s # G_TYPE_DBUS_METHOD_INVOCATION); 900s # 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_o: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_useful_interface_call_single_arg_method_o ( 900s # OrgProjectUsefulInterface *proxy, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodO", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_o_finish: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_o_finish ( 900s # OrgProjectUsefulInterface *proxy, 900s # gchar **out_arg_o, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(o)", 900s # out_arg_o); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_o_sync: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_o_sync ( 900s # OrgProjectUsefulInterface *proxy, 900s # gchar **out_arg_o, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodO", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(o)", 900s # out_arg_o); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_complete_single_arg_method_o: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * @arg_o: Parameter to return. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_useful_interface_complete_single_arg_method_o ( 900s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation, 900s # const gchar *arg_o) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("(o)", 900s # arg_o)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxy: 900s # * 900s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 900s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 900s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeleton: 900s # * 900s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_useful_interface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_useful_interface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_useful_interface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 900s # { 900s # _org_project_useful_interface_skeleton_handle_method_call, 900s # _org_project_useful_interface_skeleton_handle_get_property, 900s # _org_project_useful_interface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_useful_interface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 900s # } 900s # /tmp/tmpl85npgk2/tmpg2xca23j.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl85npgk2/tmpg2xca23j.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (void *data1, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.UsefulInterface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectUsefulInterface 900s # * @title: OrgProjectUsefulInterface 900s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 900s # { 900s # { 900s # -1, 900s # (gchar *) "arg_g", 900s # (gchar *) "g", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgMethodG", 900s # NULL, 900s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 900s # NULL 900s # }, 900s # "handle-single-arg-method-g", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.UsefulInterface", 900s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-useful-interface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_useful_interface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_useful_interface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_useful_interface_method_marshal_single_arg_method_g ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectUsefulInterface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * 900s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-single-arg-method-g", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_useful_interface_method_marshal_single_arg_method_g, 900s # G_TYPE_BOOLEAN, 900s # 1, 900s # G_TYPE_DBUS_METHOD_INVOCATION); 900s # 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_g: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_useful_interface_call_single_arg_method_g ( 900s # OrgProjectUsefulInterface *proxy, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodG", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_g_finish: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_g_finish ( 900s # OrgProjectUsefulInterface *proxy, 900s # gchar **out_arg_g, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(g)", 900s # out_arg_g); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_g_sync: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_g_sync ( 900s # OrgProjectUsefulInterface *proxy, 900s # gchar **out_arg_g, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodG", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(g)", 900s # out_arg_g); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_complete_single_arg_method_g: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * @arg_g: Parameter to return. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_useful_interface_complete_single_arg_method_g ( 900s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation, 900s # const gchar *arg_g) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("(g)", 900s # arg_g)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxy: 900s # * 900s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 900s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 900s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeleton: 900s # * 900s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_useful_interface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_useful_interface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_useful_interface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 900s # { 900s # _org_project_useful_interface_skeleton_handle_method_call, 900s # _org_project_useful_interface_skeleton_handle_get_property, 900s # _org_project_useful_interface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_useful_interface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 900s # } 900s # /tmp/tmpl85npgk2/tmp_zhc_lw4.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl85npgk2/tmp_zhc_lw4.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (void *data1, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.UsefulInterface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectUsefulInterface 900s # * @title: OrgProjectUsefulInterface 900s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 900s # { 900s # { 900s # -1, 900s # (gchar *) "arg_h", 900s # (gchar *) "h", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgMethodH", 900s # NULL, 900s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 900s # NULL 900s # }, 900s # "handle-single-arg-method-h", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.UsefulInterface", 900s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-useful-interface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_useful_interface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_useful_interface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_useful_interface_method_marshal_single_arg_method_h ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectUsefulInterface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * 900s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-single-arg-method-h", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_useful_interface_method_marshal_single_arg_method_h, 900s # G_TYPE_BOOLEAN, 900s # 1, 900s # G_TYPE_DBUS_METHOD_INVOCATION); 900s # 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_h: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_useful_interface_call_single_arg_method_h ( 900s # OrgProjectUsefulInterface *proxy, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodH", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_h_finish: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_h_finish ( 900s # OrgProjectUsefulInterface *proxy, 900s # GVariant **out_arg_h, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(@h)", 900s # out_arg_h); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_h_sync: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_h_sync ( 900s # OrgProjectUsefulInterface *proxy, 900s # GVariant **out_arg_h, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodH", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(@h)", 900s # out_arg_h); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_complete_single_arg_method_h: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * @arg_h: Parameter to return. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_useful_interface_complete_single_arg_method_h ( 900s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation, 900s # GVariant *arg_h) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("(@h)", 900s # arg_h)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxy: 900s # * 900s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 900s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 900s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeleton: 900s # * 900s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_useful_interface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_useful_interface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_useful_interface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 900s # { 900s # _org_project_useful_interface_skeleton_handle_method_call, 900s # _org_project_useful_interface_skeleton_handle_get_property, 900s # _org_project_useful_interface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_useful_interface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 900s # } 900s # /tmp/tmpl85npgk2/tmpc_14v2rm.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl85npgk2/tmpc_14v2rm.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (void *data1, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.UsefulInterface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectUsefulInterface 900s # * @title: OrgProjectUsefulInterface 900s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 900s # { 900s # { 900s # -1, 900s # (gchar *) "arg_ay", 900s # (gchar *) "ay", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgMethodAy", 900s # NULL, 900s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 900s # NULL 900s # }, 900s # "handle-single-arg-method-ay", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.UsefulInterface", 900s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-useful-interface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_useful_interface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_useful_interface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectUsefulInterface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * 900s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-single-arg-method-ay", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_useful_interface_method_marshal_single_arg_method_ay, 900s # G_TYPE_BOOLEAN, 900s # 1, 900s # G_TYPE_DBUS_METHOD_INVOCATION); 900s # 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_ay: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_useful_interface_call_single_arg_method_ay ( 900s # OrgProjectUsefulInterface *proxy, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodAy", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_ay_finish: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_ay_finish ( 900s # OrgProjectUsefulInterface *proxy, 900s # gchar **out_arg_ay, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(^ay)", 900s # out_arg_ay); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_ay_sync: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_ay_sync ( 900s # OrgProjectUsefulInterface *proxy, 900s # gchar **out_arg_ay, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodAy", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(^ay)", 900s # out_arg_ay); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_complete_single_arg_method_ay: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * @arg_ay: Parameter to return. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_useful_interface_complete_single_arg_method_ay ( 900s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation, 900s # const gchar *arg_ay) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("(^ay)", 900s # arg_ay)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxy: 900s # * 900s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 900s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 900s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeleton: 900s # * 900s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_useful_interface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_useful_interface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_useful_interface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 900s # { 900s # _org_project_useful_interface_skeleton_handle_method_call, 900s # _org_project_useful_interface_skeleton_handle_get_property, 900s # _org_project_useful_interface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_useful_interface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 900s # } 900s # /tmp/tmpl85npgk2/tmpfd9bv2ed.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl85npgk2/tmpfd9bv2ed.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (void *data1, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.UsefulInterface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectUsefulInterface 900s # * @title: OrgProjectUsefulInterface 900s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 900s # { 900s # { 900s # -1, 900s # (gchar *) "arg_as", 900s # (gchar *) "as", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgMethodAs", 900s # NULL, 900s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 900s # NULL 900s # }, 900s # "handle-single-arg-method-as", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.UsefulInterface", 900s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-useful-interface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_useful_interface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_useful_interface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_useful_interface_method_marshal_single_arg_method_as ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectUsefulInterface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * 900s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-single-arg-method-as", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_useful_interface_method_marshal_single_arg_method_as, 900s # G_TYPE_BOOLEAN, 900s # 1, 900s # G_TYPE_DBUS_METHOD_INVOCATION); 900s # 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_as: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_useful_interface_call_single_arg_method_as ( 900s # OrgProjectUsefulInterface *proxy, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodAs", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_as_finish: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_as_finish ( 900s # OrgProjectUsefulInterface *proxy, 900s # gchar ***out_arg_as, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(^as)", 900s # out_arg_as); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_as_sync: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_as_sync ( 900s # OrgProjectUsefulInterface *proxy, 900s # gchar ***out_arg_as, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodAs", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(^as)", 900s # out_arg_as); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_complete_single_arg_method_as: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * @arg_as: Parameter to return. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_useful_interface_complete_single_arg_method_as ( 900s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation, 900s # const gchar *const *arg_as) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("(^as)", 900s # arg_as)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxy: 900s # * 900s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 900s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 900s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeleton: 900s # * 900s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_useful_interface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_useful_interface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_useful_interface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 900s # { 900s # _org_project_useful_interface_skeleton_handle_method_call, 900s # _org_project_useful_interface_skeleton_handle_get_property, 900s # _org_project_useful_interface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_useful_interface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 900s # } 900s # /tmp/tmpl85npgk2/tmpu0yjjau3.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl85npgk2/tmpu0yjjau3.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (void *data1, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.UsefulInterface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectUsefulInterface 900s # * @title: OrgProjectUsefulInterface 900s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 900s # { 900s # { 900s # -1, 900s # (gchar *) "arg_ao", 900s # (gchar *) "ao", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgMethodAo", 900s # NULL, 900s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 900s # NULL 900s # }, 900s # "handle-single-arg-method-ao", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.UsefulInterface", 900s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-useful-interface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_useful_interface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_useful_interface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectUsefulInterface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * 900s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-single-arg-method-ao", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_useful_interface_method_marshal_single_arg_method_ao, 900s # G_TYPE_BOOLEAN, 900s # 1, 900s # G_TYPE_DBUS_METHOD_INVOCATION); 900s # 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_ao: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_useful_interface_call_single_arg_method_ao ( 900s # OrgProjectUsefulInterface *proxy, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodAo", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_ao_finish: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_ao_finish ( 900s # OrgProjectUsefulInterface *proxy, 900s # gchar ***out_arg_ao, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(^ao)", 900s # out_arg_ao); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_ao_sync: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_ao_sync ( 900s # OrgProjectUsefulInterface *proxy, 900s # gchar ***out_arg_ao, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodAo", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(^ao)", 900s # out_arg_ao); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_complete_single_arg_method_ao: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * @arg_ao: Parameter to return. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_useful_interface_complete_single_arg_method_ao ( 900s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation, 900s # const gchar *const *arg_ao) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("(^ao)", 900s # arg_ao)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxy: 900s # * 900s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 900s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 900s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeleton: 900s # * 900s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_useful_interface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_useful_interface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_useful_interface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 900s # { 900s # _org_project_useful_interface_skeleton_handle_method_call, 900s # _org_project_useful_interface_skeleton_handle_get_property, 900s # _org_project_useful_interface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_useful_interface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 900s # } 900s # /tmp/tmpl85npgk2/tmpct_lr1z1.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl85npgk2/tmpct_lr1z1.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (void *data1, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.UsefulInterface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectUsefulInterface 900s # * @title: OrgProjectUsefulInterface 900s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 900s # { 900s # { 900s # -1, 900s # (gchar *) "arg_aay", 900s # (gchar *) "aay", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgMethodAay", 900s # NULL, 900s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 900s # NULL 900s # }, 900s # "handle-single-arg-method-aay", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.UsefulInterface", 900s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-useful-interface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_useful_interface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_useful_interface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectUsefulInterface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * 900s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-single-arg-method-aay", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_useful_interface_method_marshal_single_arg_method_aay, 900s # G_TYPE_BOOLEAN, 900s # 1, 900s # G_TYPE_DBUS_METHOD_INVOCATION); 900s # 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_aay: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_useful_interface_call_single_arg_method_aay ( 900s # OrgProjectUsefulInterface *proxy, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodAay", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_aay_finish: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_aay_finish ( 900s # OrgProjectUsefulInterface *proxy, 900s # gchar ***out_arg_aay, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(^aay)", 900s # out_arg_aay); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_aay_sync: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_aay_sync ( 900s # OrgProjectUsefulInterface *proxy, 900s # gchar ***out_arg_aay, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodAay", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(^aay)", 900s # out_arg_aay); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_complete_single_arg_method_aay: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * @arg_aay: Parameter to return. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_useful_interface_complete_single_arg_method_aay ( 900s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation, 900s # const gchar *const *arg_aay) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("(^aay)", 900s # arg_aay)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxy: 900s # * 900s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 900s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 900s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeleton: 900s # * 900s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_useful_interface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_useful_interface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_useful_interface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 900s # { 900s # _org_project_useful_interface_skeleton_handle_method_call, 900s # _org_project_useful_interface_skeleton_handle_get_property, 900s # _org_project_useful_interface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_useful_interface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 900s # } 900s # /tmp/tmpl85npgk2/tmpoljeowtn.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl85npgk2/tmpoljeowtn.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (void *data1, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.UsefulInterface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectUsefulInterface 900s # * @title: OrgProjectUsefulInterface 900s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 900s # { 900s # { 900s # -1, 900s # (gchar *) "arg_asv", 900s # (gchar *) "a{sv}", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgMethodAsv", 900s # NULL, 900s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 900s # NULL 900s # }, 900s # "handle-single-arg-method-asv", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 900s # { 900s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.UsefulInterface", 900s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-useful-interface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_useful_interface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_useful_interface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectUsefulInterface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * 900s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-single-arg-method-asv", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_useful_interface_method_marshal_single_arg_method_asv, 900s # G_TYPE_BOOLEAN, 900s # 1, 900s # G_TYPE_DBUS_METHOD_INVOCATION); 900s # 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_asv: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_useful_interface_call_single_arg_method_asv ( 900s # OrgProjectUsefulInterface *proxy, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodAsv", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_asv_finish: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_asv_finish ( 900s # OrgProjectUsefulInterface *proxy, 900s # GVariant **out_arg_asv, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(@a{sv})", 900s # out_arg_asv); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_call_single_arg_method_asv_sync: 900s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 900s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_useful_interface_call_single_arg_method_asv_sync ( 900s # OrgProjectUsefulInterface *proxy, 900s # GVariant **out_arg_asv, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "SingleArgMethodAsv", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(@a{sv})", 900s # out_arg_asv); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_complete_single_arg_method_asv: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * @arg_asv: Parameter to return. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_useful_interface_complete_single_arg_method_asv ( 900s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation, 900s # GVariant *arg_asv) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("(@a{sv})", 900s # arg_asv)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxy: 900s # * 900s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 900s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 900s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeleton: 900s # * 900s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_useful_interface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_useful_interface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_useful_interface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 900s # { 900s # _org_project_useful_interface_skeleton_handle_method_call, 900s # _org_project_useful_interface_skeleton_handle_get_property, 900s # _org_project_useful_interface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_useful_interface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 900s # } 900s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 900s # tmpdir: /tmp/tmpnig9nkcu 900s # codegen: /usr/bin/gdbus-codegen 900s # /tmp/tmpnig9nkcu/tmpehmt83u8.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnig9nkcu/tmpehmt83u8.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 900s # (void *data1, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # gboolean arg_an_b, 900s # guchar arg_an_y, 900s # gint16 arg_an_n, 900s # guint16 arg_an_q, 900s # gint arg_an_i, 900s # guint arg_an_u, 900s # gint64 arg_an_x, 900s # guint64 arg_an_t, 900s # gdouble arg_an_d, 900s # const gchar *arg_an_s, 900s # const gchar *arg_an_o, 900s # const gchar *arg_an_g, 900s # GVariant *arg_an_h, 900s # const gchar *arg_an_ay, 900s # const gchar *const *arg_an_as, 900s # const gchar *const *arg_an_ao, 900s # const gchar *const *arg_an_aay, 900s # GVariant *arg_an_asv, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 20); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # g_marshal_value_peek_boolean (param_values + 2), 900s # g_marshal_value_peek_uchar (param_values + 3), 900s # g_marshal_value_peek_int (param_values + 4), 900s # g_marshal_value_peek_uint (param_values + 5), 900s # g_marshal_value_peek_int (param_values + 6), 900s # g_marshal_value_peek_uint (param_values + 7), 900s # g_marshal_value_peek_int64 (param_values + 8), 900s # g_marshal_value_peek_uint64 (param_values + 9), 900s # g_marshal_value_peek_double (param_values + 10), 900s # g_marshal_value_peek_string (param_values + 11), 900s # g_marshal_value_peek_string (param_values + 12), 900s # g_marshal_value_peek_string (param_values + 13), 900s # g_marshal_value_peek_variant (param_values + 14), 900s # g_marshal_value_peek_string (param_values + 15), 900s # g_marshal_value_peek_boxed (param_values + 16), 900s # g_marshal_value_peek_boxed (param_values + 17), 900s # g_marshal_value_peek_boxed (param_values + 18), 900s # g_marshal_value_peek_variant (param_values + 19), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.CallableIface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectCallableIface 900s # * @title: OrgProjectCallableIface 900s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.CallableIface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_b", 900s # (gchar *) "b", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_y", 900s # (gchar *) "y", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_n", 900s # (gchar *) "n", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_q", 900s # (gchar *) "q", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_i", 900s # (gchar *) "i", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_u", 900s # (gchar *) "u", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_x", 900s # (gchar *) "x", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_t", 900s # (gchar *) "t", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_d", 900s # (gchar *) "d", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_s", 900s # (gchar *) "s", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_o", 900s # (gchar *) "o", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_g", 900s # (gchar *) "g", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_h", 900s # (gchar *) "h", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_ay", 900s # (gchar *) "ay", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_as", 900s # (gchar *) "as", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_ao", 900s # (gchar *) "ao", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_aay", 900s # (gchar *) "aay", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_asv", 900s # (gchar *) "a{sv}", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 900s # { 900s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 900s # { 900s # { 900s # -1, 900s # (gchar *) "MethodWithManyArgs", 900s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 900s # NULL, 900s # NULL 900s # }, 900s # "handle-method-with-many-args", 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_b", 900s # (gchar *) "b", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_y", 900s # (gchar *) "y", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_n", 900s # (gchar *) "n", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_q", 900s # (gchar *) "q", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_i", 900s # (gchar *) "i", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_u", 900s # (gchar *) "u", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_x", 900s # (gchar *) "x", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_t", 900s # (gchar *) "t", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_d", 900s # (gchar *) "d", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_s", 900s # (gchar *) "s", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_o", 900s # (gchar *) "o", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_g", 900s # (gchar *) "g", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_h", 900s # (gchar *) "h", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_ay", 900s # (gchar *) "ay", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_as", 900s # (gchar *) "as", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_ao", 900s # (gchar *) "ao", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_aay", 900s # (gchar *) "aay", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_asv", 900s # (gchar *) "a{sv}", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 900s # { 900s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 900s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 900s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 900s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 900s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 900s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 900s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 900s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 900s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 900s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 900s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 900s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 900s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 900s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 900s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 900s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 900s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 900s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SameMethodWithManyArgs", 900s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 900s # NULL, 900s # NULL 900s # }, 900s # "handle-same-method-with-many-args", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 900s # { 900s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 900s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.CallableIface", 900s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-callable-iface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_callable_iface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_callable_iface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_callable_iface_method_marshal_method_with_many_args ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _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, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # inline static void 900s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _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, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectCallableIface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 900s # */ 900s # 900s # /** 900s # * OrgProjectCallableIfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 900s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.CallableIface. 900s # */ 900s # 900s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectCallableIface::handle-method-with-many-args: 900s # * @object: A #OrgProjectCallableIface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * @arg_an_b: Argument passed by remote caller. 900s # * @arg_an_y: Argument passed by remote caller. 900s # * @arg_an_n: Argument passed by remote caller. 900s # * @arg_an_q: Argument passed by remote caller. 900s # * @arg_an_i: Argument passed by remote caller. 900s # * @arg_an_u: Argument passed by remote caller. 900s # * @arg_an_x: Argument passed by remote caller. 900s # * @arg_an_t: Argument passed by remote caller. 900s # * @arg_an_d: Argument passed by remote caller. 900s # * @arg_an_s: Argument passed by remote caller. 900s # * @arg_an_o: Argument passed by remote caller. 900s # * @arg_an_g: Argument passed by remote caller. 900s # * @arg_an_h: Argument passed by remote caller. 900s # * @arg_an_ay: Argument passed by remote caller. 900s # * @arg_an_as: Argument passed by remote caller. 900s # * @arg_an_ao: Argument passed by remote caller. 900s # * @arg_an_aay: Argument passed by remote caller. 900s # * @arg_an_asv: Argument passed by remote caller. 900s # * 900s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-method-with-many-args", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_callable_iface_method_marshal_method_with_many_args, 900s # G_TYPE_BOOLEAN, 900s # 19, 900s # 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); 900s # 900s # /** 900s # * OrgProjectCallableIface::handle-same-method-with-many-args: 900s # * @object: A #OrgProjectCallableIface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * @arg_an_b: Argument passed by remote caller. 900s # * @arg_an_y: Argument passed by remote caller. 900s # * @arg_an_n: Argument passed by remote caller. 900s # * @arg_an_q: Argument passed by remote caller. 900s # * @arg_an_i: Argument passed by remote caller. 900s # * @arg_an_u: Argument passed by remote caller. 900s # * @arg_an_x: Argument passed by remote caller. 900s # * @arg_an_t: Argument passed by remote caller. 900s # * @arg_an_d: Argument passed by remote caller. 900s # * @arg_an_s: Argument passed by remote caller. 900s # * @arg_an_o: Argument passed by remote caller. 900s # * @arg_an_g: Argument passed by remote caller. 900s # * @arg_an_h: Argument passed by remote caller. 900s # * @arg_an_ay: Argument passed by remote caller. 900s # * @arg_an_as: Argument passed by remote caller. 900s # * @arg_an_ao: Argument passed by remote caller. 900s # * @arg_an_aay: Argument passed by remote caller. 900s # * @arg_an_asv: Argument passed by remote caller. 900s # * 900s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-same-method-with-many-args", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_callable_iface_method_marshal_same_method_with_many_args, 900s # G_TYPE_BOOLEAN, 900s # 19, 900s # 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); 900s # 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_call_method_with_many_args: 900s # * @proxy: A #OrgProjectCallableIfaceProxy. 900s # * @arg_an_b: Argument to pass with the method invocation. 900s # * @arg_an_y: Argument to pass with the method invocation. 900s # * @arg_an_n: Argument to pass with the method invocation. 900s # * @arg_an_q: Argument to pass with the method invocation. 900s # * @arg_an_i: Argument to pass with the method invocation. 900s # * @arg_an_u: Argument to pass with the method invocation. 900s # * @arg_an_x: Argument to pass with the method invocation. 900s # * @arg_an_t: Argument to pass with the method invocation. 900s # * @arg_an_d: Argument to pass with the method invocation. 900s # * @arg_an_s: Argument to pass with the method invocation. 900s # * @arg_an_o: Argument to pass with the method invocation. 900s # * @arg_an_g: Argument to pass with the method invocation. 900s # * @arg_an_h: Argument to pass with the method invocation. 900s # * @arg_an_ay: Argument to pass with the method invocation. 900s # * @arg_an_as: Argument to pass with the method invocation. 900s # * @arg_an_ao: Argument to pass with the method invocation. 900s # * @arg_an_aay: Argument to pass with the method invocation. 900s # * @arg_an_asv: Argument to pass with the method invocation. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 900s # * 900s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_callable_iface_call_method_with_many_args ( 900s # OrgProjectCallableIface *proxy, 900s # gboolean arg_an_b, 900s # guchar arg_an_y, 900s # gint16 arg_an_n, 900s # guint16 arg_an_q, 900s # gint arg_an_i, 900s # guint arg_an_u, 900s # gint64 arg_an_x, 900s # guint64 arg_an_t, 900s # gdouble arg_an_d, 900s # const gchar *arg_an_s, 900s # const gchar *arg_an_o, 900s # const gchar *arg_an_g, 900s # GVariant *arg_an_h, 900s # const gchar *arg_an_ay, 900s # const gchar *const *arg_an_as, 900s # const gchar *const *arg_an_ao, 900s # const gchar *const *arg_an_aay, 900s # GVariant *arg_an_asv, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "MethodWithManyArgs", 900s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 900s # arg_an_b, 900s # arg_an_y, 900s # arg_an_n, 900s # arg_an_q, 900s # arg_an_i, 900s # arg_an_u, 900s # arg_an_x, 900s # arg_an_t, 900s # arg_an_d, 900s # arg_an_s, 900s # arg_an_o, 900s # arg_an_g, 900s # arg_an_h, 900s # arg_an_ay, 900s # arg_an_as, 900s # arg_an_ao, 900s # arg_an_aay, 900s # arg_an_asv), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_call_method_with_many_args_finish: 900s # * @proxy: A #OrgProjectCallableIfaceProxy. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_callable_iface_call_method_with_many_args_finish ( 900s # OrgProjectCallableIface *proxy, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "()"); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_call_method_with_many_args_sync: 900s # * @proxy: A #OrgProjectCallableIfaceProxy. 900s # * @arg_an_b: Argument to pass with the method invocation. 900s # * @arg_an_y: Argument to pass with the method invocation. 900s # * @arg_an_n: Argument to pass with the method invocation. 900s # * @arg_an_q: Argument to pass with the method invocation. 900s # * @arg_an_i: Argument to pass with the method invocation. 900s # * @arg_an_u: Argument to pass with the method invocation. 900s # * @arg_an_x: Argument to pass with the method invocation. 900s # * @arg_an_t: Argument to pass with the method invocation. 900s # * @arg_an_d: Argument to pass with the method invocation. 900s # * @arg_an_s: Argument to pass with the method invocation. 900s # * @arg_an_o: Argument to pass with the method invocation. 900s # * @arg_an_g: Argument to pass with the method invocation. 900s # * @arg_an_h: Argument to pass with the method invocation. 900s # * @arg_an_ay: Argument to pass with the method invocation. 900s # * @arg_an_as: Argument to pass with the method invocation. 900s # * @arg_an_ao: Argument to pass with the method invocation. 900s # * @arg_an_aay: Argument to pass with the method invocation. 900s # * @arg_an_asv: Argument to pass with the method invocation. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_callable_iface_call_method_with_many_args_sync ( 900s # OrgProjectCallableIface *proxy, 900s # gboolean arg_an_b, 900s # guchar arg_an_y, 900s # gint16 arg_an_n, 900s # guint16 arg_an_q, 900s # gint arg_an_i, 900s # guint arg_an_u, 900s # gint64 arg_an_x, 900s # guint64 arg_an_t, 900s # gdouble arg_an_d, 900s # const gchar *arg_an_s, 900s # const gchar *arg_an_o, 900s # const gchar *arg_an_g, 900s # GVariant *arg_an_h, 900s # const gchar *arg_an_ay, 900s # const gchar *const *arg_an_as, 900s # const gchar *const *arg_an_ao, 900s # const gchar *const *arg_an_aay, 900s # GVariant *arg_an_asv, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "MethodWithManyArgs", 900s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 900s # arg_an_b, 900s # arg_an_y, 900s # arg_an_n, 900s # arg_an_q, 900s # arg_an_i, 900s # arg_an_u, 900s # arg_an_x, 900s # arg_an_t, 900s # arg_an_d, 900s # arg_an_s, 900s # arg_an_o, 900s # arg_an_g, 900s # arg_an_h, 900s # arg_an_ay, 900s # arg_an_as, 900s # arg_an_ao, 900s # arg_an_aay, 900s # arg_an_asv), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "()"); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_call_same_method_with_many_args: 900s # * @proxy: A #OrgProjectCallableIfaceProxy. 900s # * @arg_an_b: Argument to pass with the method invocation. 900s # * @arg_an_y: Argument to pass with the method invocation. 900s # * @arg_an_n: Argument to pass with the method invocation. 900s # * @arg_an_q: Argument to pass with the method invocation. 900s # * @arg_an_i: Argument to pass with the method invocation. 900s # * @arg_an_u: Argument to pass with the method invocation. 900s # * @arg_an_x: Argument to pass with the method invocation. 900s # * @arg_an_t: Argument to pass with the method invocation. 900s # * @arg_an_d: Argument to pass with the method invocation. 900s # * @arg_an_s: Argument to pass with the method invocation. 900s # * @arg_an_o: Argument to pass with the method invocation. 900s # * @arg_an_g: Argument to pass with the method invocation. 900s # * @arg_an_h: Argument to pass with the method invocation. 900s # * @arg_an_ay: Argument to pass with the method invocation. 900s # * @arg_an_as: Argument to pass with the method invocation. 900s # * @arg_an_ao: Argument to pass with the method invocation. 900s # * @arg_an_aay: Argument to pass with the method invocation. 900s # * @arg_an_asv: Argument to pass with the method invocation. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 900s # * 900s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_callable_iface_call_same_method_with_many_args ( 900s # OrgProjectCallableIface *proxy, 900s # gboolean arg_an_b, 900s # guchar arg_an_y, 900s # gint16 arg_an_n, 900s # guint16 arg_an_q, 900s # gint arg_an_i, 900s # guint arg_an_u, 900s # gint64 arg_an_x, 900s # guint64 arg_an_t, 900s # gdouble arg_an_d, 900s # const gchar *arg_an_s, 900s # const gchar *arg_an_o, 900s # const gchar *arg_an_g, 900s # GVariant *arg_an_h, 900s # const gchar *arg_an_ay, 900s # const gchar *const *arg_an_as, 900s # const gchar *const *arg_an_ao, 900s # const gchar *const *arg_an_aay, 900s # GVariant *arg_an_asv, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "SameMethodWithManyArgs", 900s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 900s # arg_an_b, 900s # arg_an_y, 900s # arg_an_n, 900s # arg_an_q, 900s # arg_an_i, 900s # arg_an_u, 900s # arg_an_x, 900s # arg_an_t, 900s # arg_an_d, 900s # arg_an_s, 900s # arg_an_o, 900s # arg_an_g, 900s # arg_an_h, 900s # arg_an_ay, 900s # arg_an_as, 900s # arg_an_ao, 900s # arg_an_aay, 900s # arg_an_asv), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_call_same_method_with_many_args_finish: 900s # * @proxy: A #OrgProjectCallableIfaceProxy. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_callable_iface_call_same_method_with_many_args_finish ( 900s # OrgProjectCallableIface *proxy, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "()"); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_call_same_method_with_many_args_sync: 900s # * @proxy: A #OrgProjectCallableIfaceProxy. 900s # * @arg_an_b: Argument to pass with the method invocation. 900s # * @arg_an_y: Argument to pass with the method invocation. 900s # * @arg_an_n: Argument to pass with the method invocation. 900s # * @arg_an_q: Argument to pass with the method invocation. 900s # * @arg_an_i: Argument to pass with the method invocation. 900s # * @arg_an_u: Argument to pass with the method invocation. 900s # * @arg_an_x: Argument to pass with the method invocation. 900s # * @arg_an_t: Argument to pass with the method invocation. 900s # * @arg_an_d: Argument to pass with the method invocation. 900s # * @arg_an_s: Argument to pass with the method invocation. 900s # * @arg_an_o: Argument to pass with the method invocation. 900s # * @arg_an_g: Argument to pass with the method invocation. 900s # * @arg_an_h: Argument to pass with the method invocation. 900s # * @arg_an_ay: Argument to pass with the method invocation. 900s # * @arg_an_as: Argument to pass with the method invocation. 900s # * @arg_an_ao: Argument to pass with the method invocation. 900s # * @arg_an_aay: Argument to pass with the method invocation. 900s # * @arg_an_asv: Argument to pass with the method invocation. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_callable_iface_call_same_method_with_many_args_sync ( 900s # OrgProjectCallableIface *proxy, 900s # gboolean arg_an_b, 900s # guchar arg_an_y, 900s # gint16 arg_an_n, 900s # guint16 arg_an_q, 900s # gint arg_an_i, 900s # guint arg_an_u, 900s # gint64 arg_an_x, 900s # guint64 arg_an_t, 900s # gdouble arg_an_d, 900s # const gchar *arg_an_s, 900s # const gchar *arg_an_o, 900s # const gchar *arg_an_g, 900s # GVariant *arg_an_h, 900s # const gchar *arg_an_ay, 900s # const gchar *const *arg_an_as, 900s # const gchar *const *arg_an_ao, 900s # const gchar *const *arg_an_aay, 900s # GVariant *arg_an_asv, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "SameMethodWithManyArgs", 900s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 900s # arg_an_b, 900s # arg_an_y, 900s # arg_an_n, 900s # arg_an_q, 900s # arg_an_i, 900s # arg_an_u, 900s # arg_an_x, 900s # arg_an_t, 900s # arg_an_d, 900s # arg_an_s, 900s # arg_an_o, 900s # arg_an_g, 900s # arg_an_h, 900s # arg_an_ay, 900s # arg_an_as, 900s # arg_an_ao, 900s # arg_an_aay, 900s # arg_an_asv), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "()"); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_complete_method_with_many_args: 900s # * @object: A #OrgProjectCallableIface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_callable_iface_complete_method_with_many_args ( 900s # OrgProjectCallableIface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("()")); 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_complete_same_method_with_many_args: 900s # * @object: A #OrgProjectCallableIface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_callable_iface_complete_same_method_with_many_args ( 900s # OrgProjectCallableIface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("()")); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectCallableIfaceProxy: 900s # * 900s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectCallableIfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectCallableIfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectCallableIfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_callable_iface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 900s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 900s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_callable_iface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # 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); 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectCallableIface * 900s # org_project_callable_iface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_CALLABLE_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectCallableIface * 900s # org_project_callable_iface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_CALLABLE_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_callable_iface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_callable_iface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # 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); 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectCallableIface * 900s # org_project_callable_iface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_CALLABLE_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectCallableIface * 900s # org_project_callable_iface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_CALLABLE_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectCallableIfaceSkeleton: 900s # * 900s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectCallableIfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectCallableIfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectCallableIfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_callable_iface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_callable_iface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_callable_iface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 900s # { 900s # _org_project_callable_iface_skeleton_handle_method_call, 900s # _org_project_callable_iface_skeleton_handle_get_property, 900s # _org_project_callable_iface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_callable_iface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_callable_iface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectCallableIface * 900s # org_project_callable_iface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.OtherCallableIface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectOtherCallableIface 900s # * @title: OrgProjectOtherCallableIface 900s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_b", 900s # (gchar *) "b", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_y", 900s # (gchar *) "y", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_n", 900s # (gchar *) "n", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_q", 900s # (gchar *) "q", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_i", 900s # (gchar *) "i", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_u", 900s # (gchar *) "u", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_x", 900s # (gchar *) "x", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_t", 900s # (gchar *) "t", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_d", 900s # (gchar *) "d", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_s", 900s # (gchar *) "s", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_o", 900s # (gchar *) "o", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_g", 900s # (gchar *) "g", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_h", 900s # (gchar *) "h", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_ay", 900s # (gchar *) "ay", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_as", 900s # (gchar *) "as", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_ao", 900s # (gchar *) "ao", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_aay", 900s # (gchar *) "aay", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_asv", 900s # (gchar *) "a{sv}", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 900s # { 900s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 900s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 900s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 900s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 900s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 900s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 900s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 900s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 900s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 900s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 900s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 900s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 900s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 900s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 900s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 900s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 900s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 900s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 900s # { 900s # { 900s # -1, 900s # (gchar *) "MethodWithManyArgs", 900s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 900s # NULL, 900s # NULL 900s # }, 900s # "handle-method-with-many-args", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 900s # { 900s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.OtherCallableIface", 900s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-other-callable-iface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_other_callable_iface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_other_callable_iface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_other_callable_iface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _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, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectOtherCallableIface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 900s # */ 900s # 900s # /** 900s # * OrgProjectOtherCallableIfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 900s # */ 900s # 900s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 900s # * @object: A #OrgProjectOtherCallableIface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * @arg_an_b: Argument passed by remote caller. 900s # * @arg_an_y: Argument passed by remote caller. 900s # * @arg_an_n: Argument passed by remote caller. 900s # * @arg_an_q: Argument passed by remote caller. 900s # * @arg_an_i: Argument passed by remote caller. 900s # * @arg_an_u: Argument passed by remote caller. 900s # * @arg_an_x: Argument passed by remote caller. 900s # * @arg_an_t: Argument passed by remote caller. 900s # * @arg_an_d: Argument passed by remote caller. 900s # * @arg_an_s: Argument passed by remote caller. 900s # * @arg_an_o: Argument passed by remote caller. 900s # * @arg_an_g: Argument passed by remote caller. 900s # * @arg_an_h: Argument passed by remote caller. 900s # * @arg_an_ay: Argument passed by remote caller. 900s # * @arg_an_as: Argument passed by remote caller. 900s # * @arg_an_ao: Argument passed by remote caller. 900s # * @arg_an_aay: Argument passed by remote caller. 900s # * @arg_an_asv: Argument passed by remote caller. 900s # * 900s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-method-with-many-args", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_other_callable_iface_method_marshal_method_with_many_args, 900s # G_TYPE_BOOLEAN, 900s # 19, 900s # 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); 900s # 900s # } 900s # 900s # /** 900s # * org_project_other_callable_iface_call_method_with_many_args: 900s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 900s # * @arg_an_b: Argument to pass with the method invocation. 900s # * @arg_an_y: Argument to pass with the method invocation. 900s # * @arg_an_n: Argument to pass with the method invocation. 900s # * @arg_an_q: Argument to pass with the method invocation. 900s # * @arg_an_i: Argument to pass with the method invocation. 900s # * @arg_an_u: Argument to pass with the method invocation. 900s # * @arg_an_x: Argument to pass with the method invocation. 900s # * @arg_an_t: Argument to pass with the method invocation. 900s # * @arg_an_d: Argument to pass with the method invocation. 900s # * @arg_an_s: Argument to pass with the method invocation. 900s # * @arg_an_o: Argument to pass with the method invocation. 900s # * @arg_an_g: Argument to pass with the method invocation. 900s # * @arg_an_h: Argument to pass with the method invocation. 900s # * @arg_an_ay: Argument to pass with the method invocation. 900s # * @arg_an_as: Argument to pass with the method invocation. 900s # * @arg_an_ao: Argument to pass with the method invocation. 900s # * @arg_an_aay: Argument to pass with the method invocation. 900s # * @arg_an_asv: Argument to pass with the method invocation. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 900s # * 900s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_other_callable_iface_call_method_with_many_args ( 900s # OrgProjectOtherCallableIface *proxy, 900s # gboolean arg_an_b, 900s # guchar arg_an_y, 900s # gint16 arg_an_n, 900s # guint16 arg_an_q, 900s # gint arg_an_i, 900s # guint arg_an_u, 900s # gint64 arg_an_x, 900s # guint64 arg_an_t, 900s # gdouble arg_an_d, 900s # const gchar *arg_an_s, 900s # const gchar *arg_an_o, 900s # const gchar *arg_an_g, 900s # GVariant *arg_an_h, 900s # const gchar *arg_an_ay, 900s # const gchar *const *arg_an_as, 900s # const gchar *const *arg_an_ao, 900s # const gchar *const *arg_an_aay, 900s # GVariant *arg_an_asv, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "MethodWithManyArgs", 900s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 900s # arg_an_b, 900s # arg_an_y, 900s # arg_an_n, 900s # arg_an_q, 900s # arg_an_i, 900s # arg_an_u, 900s # arg_an_x, 900s # arg_an_t, 900s # arg_an_d, 900s # arg_an_s, 900s # arg_an_o, 900s # arg_an_g, 900s # arg_an_h, 900s # arg_an_ay, 900s # arg_an_as, 900s # arg_an_ao, 900s # arg_an_aay, 900s # arg_an_asv), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_other_callable_iface_call_method_with_many_args_finish: 900s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_other_callable_iface_call_method_with_many_args_finish ( 900s # OrgProjectOtherCallableIface *proxy, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "()"); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_other_callable_iface_call_method_with_many_args_sync: 900s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 900s # * @arg_an_b: Argument to pass with the method invocation. 900s # * @arg_an_y: Argument to pass with the method invocation. 900s # * @arg_an_n: Argument to pass with the method invocation. 900s # * @arg_an_q: Argument to pass with the method invocation. 900s # * @arg_an_i: Argument to pass with the method invocation. 900s # * @arg_an_u: Argument to pass with the method invocation. 900s # * @arg_an_x: Argument to pass with the method invocation. 900s # * @arg_an_t: Argument to pass with the method invocation. 900s # * @arg_an_d: Argument to pass with the method invocation. 900s # * @arg_an_s: Argument to pass with the method invocation. 900s # * @arg_an_o: Argument to pass with the method invocation. 900s # * @arg_an_g: Argument to pass with the method invocation. 900s # * @arg_an_h: Argument to pass with the method invocation. 900s # * @arg_an_ay: Argument to pass with the method invocation. 900s # * @arg_an_as: Argument to pass with the method invocation. 900s # * @arg_an_ao: Argument to pass with the method invocation. 900s # * @arg_an_aay: Argument to pass with the method invocation. 900s # * @arg_an_asv: Argument to pass with the method invocation. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_other_callable_iface_call_method_with_many_args_sync ( 900s # OrgProjectOtherCallableIface *proxy, 900s # gboolean arg_an_b, 900s # guchar arg_an_y, 900s # gint16 arg_an_n, 900s # guint16 arg_an_q, 900s # gint arg_an_i, 900s # guint arg_an_u, 900s # gint64 arg_an_x, 900s # guint64 arg_an_t, 900s # gdouble arg_an_d, 900s # const gchar *arg_an_s, 900s # const gchar *arg_an_o, 900s # const gchar *arg_an_g, 900s # GVariant *arg_an_h, 900s # const gchar *arg_an_ay, 900s # const gchar *const *arg_an_as, 900s # const gchar *const *arg_an_ao, 900s # const gchar *const *arg_an_aay, 900s # GVariant *arg_an_asv, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "MethodWithManyArgs", 900s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 900s # arg_an_b, 900s # arg_an_y, 900s # arg_an_n, 900s # arg_an_q, 900s # arg_an_i, 900s # arg_an_u, 900s # arg_an_x, 900s # arg_an_t, 900s # arg_an_d, 900s # arg_an_s, 900s # arg_an_o, 900s # arg_an_g, 900s # arg_an_h, 900s # arg_an_ay, 900s # arg_an_as, 900s # arg_an_ao, 900s # arg_an_aay, 900s # arg_an_asv), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "()"); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_other_callable_iface_complete_method_with_many_args: 900s # * @object: A #OrgProjectOtherCallableIface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_other_callable_iface_complete_method_with_many_args ( 900s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("()")); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectOtherCallableIfaceProxy: 900s # * 900s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectOtherCallableIfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectOtherCallableIfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_other_callable_iface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 900s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 900s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_other_callable_iface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_other_callable_iface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # 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); 900s # } 900s # 900s # /** 900s # * org_project_other_callable_iface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectOtherCallableIface * 900s # org_project_other_callable_iface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_other_callable_iface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectOtherCallableIface * 900s # org_project_other_callable_iface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_other_callable_iface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_other_callable_iface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # 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); 900s # } 900s # 900s # /** 900s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectOtherCallableIface * 900s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectOtherCallableIface * 900s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectOtherCallableIfaceSkeleton: 900s # * 900s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectOtherCallableIfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_other_callable_iface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_other_callable_iface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_other_callable_iface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 900s # { 900s # _org_project_other_callable_iface_skeleton_handle_method_call, 900s # _org_project_other_callable_iface_skeleton_handle_get_property, 900s # _org_project_other_callable_iface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_other_callable_iface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_other_callable_iface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectOtherCallableIface * 900s # org_project_other_callable_iface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 900s # } 900s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 900s # tmpdir: /tmp/tmp2_lw3zj0 900s # codegen: /usr/bin/gdbus-codegen 900s # /tmp/tmp2_lw3zj0/tmp98ifjbl7.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2_lw3zj0/tmp98ifjbl7.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (void *data1, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.CallableIface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectCallableIface 900s # * @title: OrgProjectCallableIface 900s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for org.project.CallableIface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_b", 900s # (gchar *) "b", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_y", 900s # (gchar *) "y", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_n", 900s # (gchar *) "n", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_q", 900s # (gchar *) "q", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_i", 900s # (gchar *) "i", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_u", 900s # (gchar *) "u", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_x", 900s # (gchar *) "x", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_t", 900s # (gchar *) "t", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_d", 900s # (gchar *) "d", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_s", 900s # (gchar *) "s", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_o", 900s # (gchar *) "o", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_g", 900s # (gchar *) "g", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_h", 900s # (gchar *) "h", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_ay", 900s # (gchar *) "ay", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_as", 900s # (gchar *) "as", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_ao", 900s # (gchar *) "ao", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_aay", 900s # (gchar *) "aay", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_asv", 900s # (gchar *) "a{sv}", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 900s # { 900s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 900s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 900s # { 900s # { 900s # -1, 900s # (gchar *) "MethodWithManyArgs", 900s # NULL, 900s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 900s # NULL 900s # }, 900s # "handle-method-with-many-args", 900s # FALSE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 900s # { 900s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.CallableIface", 900s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-callable-iface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_callable_iface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_callable_iface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_callable_iface_method_marshal_method_with_many_args ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectCallableIface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 900s # */ 900s # 900s # /** 900s # * OrgProjectCallableIfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.CallableIface. 900s # */ 900s # 900s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * OrgProjectCallableIface::handle-method-with-many-args: 900s # * @object: A #OrgProjectCallableIface. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * 900s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-method-with-many-args", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # org_project_callable_iface_method_marshal_method_with_many_args, 900s # G_TYPE_BOOLEAN, 900s # 1, 900s # G_TYPE_DBUS_METHOD_INVOCATION); 900s # 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_call_method_with_many_args: 900s # * @proxy: A #OrgProjectCallableIfaceProxy. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 900s # * 900s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # org_project_callable_iface_call_method_with_many_args ( 900s # OrgProjectCallableIface *proxy, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 900s # "MethodWithManyArgs", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_call_method_with_many_args_finish: 900s # * @proxy: A #OrgProjectCallableIfaceProxy. 900s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 900s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 900s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 900s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_callable_iface_call_method_with_many_args_finish ( 900s # OrgProjectCallableIface *proxy, 900s # gboolean *out_an_b, 900s # guchar *out_an_y, 900s # gint16 *out_an_n, 900s # guint16 *out_an_q, 900s # gint *out_an_i, 900s # guint *out_an_u, 900s # gint64 *out_an_x, 900s # guint64 *out_an_t, 900s # gdouble *out_an_d, 900s # gchar **out_an_s, 900s # gchar **out_an_o, 900s # gchar **out_an_g, 900s # GVariant **out_an_h, 900s # gchar **out_an_ay, 900s # gchar ***out_an_as, 900s # gchar ***out_an_ao, 900s # gchar ***out_an_aay, 900s # GVariant **out_an_asv, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 900s # out_an_b, 900s # out_an_y, 900s # out_an_n, 900s # out_an_q, 900s # out_an_i, 900s # out_an_u, 900s # out_an_x, 900s # out_an_t, 900s # out_an_d, 900s # out_an_s, 900s # out_an_o, 900s # out_an_g, 900s # out_an_h, 900s # out_an_ay, 900s # out_an_as, 900s # out_an_ao, 900s # out_an_aay, 900s # out_an_asv); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_call_method_with_many_args_sync: 900s # * @proxy: A #OrgProjectCallableIfaceProxy. 900s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 900s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 900s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 900s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # org_project_callable_iface_call_method_with_many_args_sync ( 900s # OrgProjectCallableIface *proxy, 900s # gboolean *out_an_b, 900s # guchar *out_an_y, 900s # gint16 *out_an_n, 900s # guint16 *out_an_q, 900s # gint *out_an_i, 900s # guint *out_an_u, 900s # gint64 *out_an_x, 900s # guint64 *out_an_t, 900s # gdouble *out_an_d, 900s # gchar **out_an_s, 900s # gchar **out_an_o, 900s # gchar **out_an_g, 900s # GVariant **out_an_h, 900s # gchar **out_an_ay, 900s # gchar ***out_an_as, 900s # gchar ***out_an_ao, 900s # gchar ***out_an_aay, 900s # GVariant **out_an_asv, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 900s # "MethodWithManyArgs", 900s # g_variant_new ("()"), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 900s # out_an_b, 900s # out_an_y, 900s # out_an_n, 900s # out_an_q, 900s # out_an_i, 900s # out_an_u, 900s # out_an_x, 900s # out_an_t, 900s # out_an_d, 900s # out_an_s, 900s # out_an_o, 900s # out_an_g, 900s # out_an_h, 900s # out_an_ay, 900s # out_an_as, 900s # out_an_ao, 900s # out_an_aay, 900s # out_an_asv); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_complete_method_with_many_args: 900s # * @object: A #OrgProjectCallableIface. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * @an_b: Parameter to return. 900s # * @an_y: Parameter to return. 900s # * @an_n: Parameter to return. 900s # * @an_q: Parameter to return. 900s # * @an_i: Parameter to return. 900s # * @an_u: Parameter to return. 900s # * @an_x: Parameter to return. 900s # * @an_t: Parameter to return. 900s # * @an_d: Parameter to return. 900s # * @an_s: Parameter to return. 900s # * @an_o: Parameter to return. 900s # * @an_g: Parameter to return. 900s # * @an_h: Parameter to return. 900s # * @an_ay: Parameter to return. 900s # * @an_as: Parameter to return. 900s # * @an_ao: Parameter to return. 900s # * @an_aay: Parameter to return. 900s # * @an_asv: Parameter to return. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # org_project_callable_iface_complete_method_with_many_args ( 900s # OrgProjectCallableIface *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation, 900s # gboolean an_b, 900s # guchar an_y, 900s # gint16 an_n, 900s # guint16 an_q, 900s # gint an_i, 900s # guint an_u, 900s # gint64 an_x, 900s # guint64 an_t, 900s # gdouble an_d, 900s # const gchar *an_s, 900s # const gchar *an_o, 900s # const gchar *an_g, 900s # GVariant *an_h, 900s # const gchar *an_ay, 900s # const gchar *const *an_as, 900s # const gchar *const *an_ao, 900s # const gchar *const *an_aay, 900s # GVariant *an_asv) 900s # { 900s # g_dbus_method_invocation_return_value (invocation, 900s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 900s # an_b, 900s # an_y, 900s # an_n, 900s # an_q, 900s # an_i, 900s # an_u, 900s # an_x, 900s # an_t, 900s # an_d, 900s # an_s, 900s # an_o, 900s # an_g, 900s # an_h, 900s # an_ay, 900s # an_as, 900s # an_ao, 900s # an_aay, 900s # an_asv)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectCallableIfaceProxy: 900s # * 900s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectCallableIfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectCallableIfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectCallableIfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_callable_iface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 900s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 900s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_callable_iface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # 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); 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectCallableIface * 900s # org_project_callable_iface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_CALLABLE_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectCallableIface * 900s # org_project_callable_iface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_CALLABLE_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_callable_iface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_callable_iface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # 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); 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectCallableIface * 900s # org_project_callable_iface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_CALLABLE_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectCallableIface * 900s # org_project_callable_iface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_CALLABLE_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectCallableIfaceSkeleton: 900s # * 900s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectCallableIfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectCallableIfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectCallableIfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_callable_iface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_callable_iface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_callable_iface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 900s # { 900s # _org_project_callable_iface_skeleton_handle_method_call, 900s # _org_project_callable_iface_skeleton_handle_get_property, 900s # _org_project_callable_iface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_callable_iface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_callable_iface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_callable_iface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectCallableIface * 900s # org_project_callable_iface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 900s # } 900s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 900s # tmpdir: /tmp/tmpixje7ieu 900s # codegen: /usr/bin/gdbus-codegen 900s # /tmp/tmpixje7ieu/tmpi0duq1co.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixje7ieu/tmpi0duq1co.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 900s # (void *data1, 900s # GUnixFDList *arg_fd_list, 900s # GDBusMethodInvocation *arg_method_invocation, 900s # const gchar *arg_greeting, 900s # void *data2); 900s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # gboolean v_return; 900s # 900s # g_return_if_fail (return_value != NULL); 900s # g_return_if_fail (n_param_values == 4); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # v_return = 900s # callback (data1, 900s # g_marshal_value_peek_object (param_values + 1), 900s # g_marshal_value_peek_object (param_values + 2), 900s # g_marshal_value_peek_string (param_values + 3), 900s # data2); 900s # 900s # g_value_set_boolean (return_value, v_return); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface test.FDPassing 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:TestFDPassing 900s # * @title: TestFDPassing 900s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 900s # * 900s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 900s # */ 900s # 900s # /* ---- Introspection data for test.FDPassing ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 900s # { 900s # { 900s # -1, 900s # (gchar *) "greeting", 900s # (gchar *) "s", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 900s # { 900s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 900s # { 900s # { 900s # -1, 900s # (gchar *) "response", 900s # (gchar *) "s", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 900s # { 900s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 900s # { 900s # { 900s # -1, 900s # (gchar *) "HelloFD", 900s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 900s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 900s # NULL 900s # }, 900s # "handle-hello-fd", 900s # TRUE 900s # }; 900s # 900s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 900s # { 900s # &_test_fdpassing_method_info_hello_fd.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "test.FDPassing", 900s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 900s # NULL, 900s # NULL, 900s # NULL 900s # }, 900s # "test-fdpassing", 900s # }; 900s # 900s # 900s # /** 900s # * test_fdpassing_interface_info: 900s # * 900s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # test_fdpassing_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * test_fdpassing_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # test_fdpassing_method_marshal_hello_fd ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * TestFDPassing: 900s # * 900s # * Abstract interface type for the D-Bus interface test.FDPassing. 900s # */ 900s # 900s # /** 900s # * TestFDPassingIface: 900s # * @parent_iface: The parent interface. 900s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 900s # * 900s # * Virtual table for the D-Bus interface test.FDPassing. 900s # */ 900s # 900s # typedef TestFDPassingIface TestFDPassingInterface; 900s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 900s # 900s # static void 900s # test_fdpassing_default_init (TestFDPassingIface *iface) 900s # { 900s # /* GObject signals for incoming D-Bus method calls: */ 900s # /** 900s # * TestFDPassing::handle-hello-fd: 900s # * @object: A #TestFDPassing. 900s # * @invocation: A #GDBusMethodInvocation. 900s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 900s # * @arg_greeting: Argument passed by remote caller. 900s # * 900s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 900s # * 900s # * 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. 900s # * 900s # * 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. 900s # */ 900s # g_signal_new ("handle-hello-fd", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 900s # g_signal_accumulator_true_handled, 900s # NULL, 900s # test_fdpassing_method_marshal_hello_fd, 900s # G_TYPE_BOOLEAN, 900s # 3, 900s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 900s # 900s # } 900s # 900s # /** 900s # * test_fdpassing_call_hello_fd: 900s # * @proxy: A #TestFDPassingProxy. 900s # * @arg_greeting: Argument to pass with the method invocation. 900s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 900s # * 900s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 900s # */ 900s # void 900s # test_fdpassing_call_hello_fd ( 900s # TestFDPassing *proxy, 900s # const gchar *arg_greeting, 900s # GUnixFDList *fd_list, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 900s # "HelloFD", 900s # g_variant_new ("(s)", 900s # arg_greeting), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # fd_list, 900s # cancellable, 900s # callback, 900s # user_data); 900s # } 900s # 900s # /** 900s # * test_fdpassing_call_hello_fd_finish: 900s # * @proxy: A #TestFDPassingProxy. 900s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # test_fdpassing_call_hello_fd_finish ( 900s # TestFDPassing *proxy, 900s # gchar **out_response, 900s # GUnixFDList **out_fd_list, 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(s)", 900s # out_response); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * test_fdpassing_call_hello_fd_sync: 900s # * @proxy: A #TestFDPassingProxy. 900s # * @arg_greeting: Argument to pass with the method invocation. 900s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 900s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 900s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL. 900s # * 900s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 900s # * 900s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 900s # * 900s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 900s # */ 900s # gboolean 900s # test_fdpassing_call_hello_fd_sync ( 900s # TestFDPassing *proxy, 900s # const gchar *arg_greeting, 900s # GUnixFDList *fd_list, 900s # gchar **out_response, 900s # GUnixFDList **out_fd_list, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GVariant *_ret; 900s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 900s # "HelloFD", 900s # g_variant_new ("(s)", 900s # arg_greeting), 900s # G_DBUS_CALL_FLAGS_NONE, 900s # -1, 900s # fd_list, 900s # out_fd_list, 900s # cancellable, 900s # error); 900s # if (_ret == NULL) 900s # goto _out; 900s # g_variant_get (_ret, 900s # "(s)", 900s # out_response); 900s # g_variant_unref (_ret); 900s # _out: 900s # return _ret != NULL; 900s # } 900s # 900s # /** 900s # * test_fdpassing_complete_hello_fd: 900s # * @object: A #TestFDPassing. 900s # * @invocation: (transfer full): A #GDBusMethodInvocation. 900s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 900s # * @response: Parameter to return. 900s # * 900s # * 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. 900s # * 900s # * This method will free @invocation, you cannot use it afterwards. 900s # */ 900s # void 900s # test_fdpassing_complete_hello_fd ( 900s # TestFDPassing *object G_GNUC_UNUSED, 900s # GDBusMethodInvocation *invocation, 900s # GUnixFDList *fd_list, 900s # const gchar *response) 900s # { 900s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 900s # g_variant_new ("(s)", 900s # response), 900s # fd_list); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * TestFDPassingProxy: 900s # * 900s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * TestFDPassingProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #TestFDPassingProxy. 900s # */ 900s # 900s # struct _TestFDPassingProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (TestFDPassingProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # test_fdpassing_proxy_finalize (GObject *object) 900s # { 900s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 900s # } 900s # 900s # static void 900s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = test_fdpassing_proxy_finalize; 900s # gobject_class->get_property = test_fdpassing_proxy_get_property; 900s # gobject_class->set_property = test_fdpassing_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 900s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * test_fdpassing_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # test_fdpassing_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # 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); 900s # } 900s # 900s # /** 900s # * test_fdpassing_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with test_fdpassing_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # TestFDPassing * 900s # test_fdpassing_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return TEST_FDPASSING (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * test_fdpassing_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # TestFDPassing * 900s # test_fdpassing_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return TEST_FDPASSING (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * test_fdpassing_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # test_fdpassing_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # 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); 900s # } 900s # 900s # /** 900s # * test_fdpassing_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # TestFDPassing * 900s # test_fdpassing_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return TEST_FDPASSING (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * test_fdpassing_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # TestFDPassing * 900s # test_fdpassing_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return TEST_FDPASSING (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * TestFDPassingSkeleton: 900s # * 900s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * TestFDPassingSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #TestFDPassingSkeleton. 900s # */ 900s # 900s # struct _TestFDPassingSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _test_fdpassing_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _test_fdpassing_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _test_fdpassing_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 900s # { 900s # _test_fdpassing_skeleton_handle_method_call, 900s # _test_fdpassing_skeleton_handle_get_property, 900s # _test_fdpassing_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return test_fdpassing_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (TestFDPassingSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # test_fdpassing_skeleton_finalize (GObject *object) 900s # { 900s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * test_fdpassing_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 900s # * 900s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 900s # */ 900s # TestFDPassing * 900s # test_fdpassing_skeleton_new (void) 900s # { 900s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 900s # } 900s ok 15 __main__.TestCodegen.test_generate_rst 900s # tmpdir: /tmp/tmpzlrw7hyw 900s # codegen: /usr/bin/gdbus-codegen 900s # /tmp/tmpzlrw7hyw/tmp_iik8rvk.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzlrw7hyw/tmp_iik8rvk.xml', '--generate-rst', 'test'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: 900s ok 16 __main__.TestCodegen.test_generate_rst_method 900s # tmpdir: /tmp/tmpu3l9ah4a 900s # codegen: /usr/bin/gdbus-codegen 900s # /tmp/tmpu3l9ah4a/tmp88qty_0k.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu3l9ah4a/tmp88qty_0k.xml', '--generate-rst', 'test'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: 900s ok 17 __main__.TestCodegen.test_generate_rst_property 900s # tmpdir: /tmp/tmpc9fgjs0p 900s # codegen: /usr/bin/gdbus-codegen 900s # /tmp/tmpc9fgjs0p/tmpfafldvcs.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc9fgjs0p/tmpfafldvcs.xml', '--generate-rst', 'test'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: 900s ok 18 __main__.TestCodegen.test_generate_rst_signal 900s # tmpdir: /tmp/tmp8b4_yxh0 900s # codegen: /usr/bin/gdbus-codegen 900s # /tmp/tmp8b4_yxh0/tmp2r5g70my.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8b4_yxh0/tmp2r5g70my.xml', '--generate-rst', 'test'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: 900s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 900s # tmpdir: /tmp/tmpcjx_uhkp 900s # codegen: /usr/bin/gdbus-codegen 900s # /tmp/tmpcjx_uhkp/tmpc6wymlmb.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcjx_uhkp/tmpc6wymlmb.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 900s # GClosure *closure, 900s # GValue *return_value G_GNUC_UNUSED, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 900s # (void *data1, 900s # gboolean arg_an_b, 900s # guchar arg_an_y, 900s # gint16 arg_an_n, 900s # guint16 arg_an_q, 900s # gint arg_an_i, 900s # guint arg_an_u, 900s # gint64 arg_an_x, 900s # guint64 arg_an_t, 900s # gdouble arg_an_d, 900s # const gchar *arg_an_s, 900s # const gchar *arg_an_o, 900s # const gchar *arg_an_g, 900s # GVariant *arg_an_h, 900s # const gchar *arg_an_ay, 900s # const gchar *const *arg_an_as, 900s # const gchar *const *arg_an_ao, 900s # const gchar *const *arg_an_aay, 900s # GVariant *arg_an_asv, 900s # void *data2); 900s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # 900s # g_return_if_fail (n_param_values == 19); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # callback (data1, 900s # g_marshal_value_peek_boolean (param_values + 1), 900s # g_marshal_value_peek_uchar (param_values + 2), 900s # g_marshal_value_peek_int (param_values + 3), 900s # g_marshal_value_peek_uint (param_values + 4), 900s # g_marshal_value_peek_int (param_values + 5), 900s # g_marshal_value_peek_uint (param_values + 6), 900s # g_marshal_value_peek_int64 (param_values + 7), 900s # g_marshal_value_peek_uint64 (param_values + 8), 900s # g_marshal_value_peek_double (param_values + 9), 900s # g_marshal_value_peek_string (param_values + 10), 900s # g_marshal_value_peek_string (param_values + 11), 900s # g_marshal_value_peek_string (param_values + 12), 900s # g_marshal_value_peek_variant (param_values + 13), 900s # g_marshal_value_peek_string (param_values + 14), 900s # g_marshal_value_peek_boxed (param_values + 15), 900s # g_marshal_value_peek_boxed (param_values + 16), 900s # g_marshal_value_peek_boxed (param_values + 17), 900s # g_marshal_value_peek_variant (param_values + 18), 900s # data2); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.SignalingIface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectSignalingIface 900s # * @title: OrgProjectSignalingIface 900s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 900s # */ 900s # 900s # enum 900s # { 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 900s # }; 900s # 900s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 900s # 900s # /* ---- Introspection data for org.project.SignalingIface ---- */ 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_b", 900s # (gchar *) "b", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_y", 900s # (gchar *) "y", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_n", 900s # (gchar *) "n", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_q", 900s # (gchar *) "q", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_i", 900s # (gchar *) "i", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_u", 900s # (gchar *) "u", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_x", 900s # (gchar *) "x", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_t", 900s # (gchar *) "t", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_d", 900s # (gchar *) "d", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_s", 900s # (gchar *) "s", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_o", 900s # (gchar *) "o", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_g", 900s # (gchar *) "g", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_h", 900s # (gchar *) "h", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_ay", 900s # (gchar *) "ay", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_as", 900s # (gchar *) "as", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_ao", 900s # (gchar *) "ao", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_aay", 900s # (gchar *) "aay", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_asv", 900s # (gchar *) "a{sv}", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 900s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 900s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 900s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 900s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 900s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 900s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 900s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 900s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 900s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 900s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 900s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 900s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 900s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 900s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 900s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 900s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 900s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SignalWithManyArgs", 900s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 900s # NULL 900s # }, 900s # "signal-with-many-args" 900s # }; 900s # 900s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.SignalingIface", 900s # NULL, 900s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-signaling-iface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_signaling_iface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_signaling_iface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectSignalingIface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 900s # */ 900s # 900s # /** 900s # * OrgProjectSignalingIfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.SignalingIface. 900s # */ 900s # 900s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 900s # { 900s # /* GObject signals for received D-Bus signals: */ 900s # /** 900s # * OrgProjectSignalingIface::signal-with-many-args: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_b: Argument. 900s # * @arg_an_y: Argument. 900s # * @arg_an_n: Argument. 900s # * @arg_an_q: Argument. 900s # * @arg_an_i: Argument. 900s # * @arg_an_u: Argument. 900s # * @arg_an_x: Argument. 900s # * @arg_an_t: Argument. 900s # * @arg_an_d: Argument. 900s # * @arg_an_s: Argument. 900s # * @arg_an_o: Argument. 900s # * @arg_an_g: Argument. 900s # * @arg_an_h: Argument. 900s # * @arg_an_ay: Argument. 900s # * @arg_an_as: Argument. 900s # * @arg_an_ao: Argument. 900s # * @arg_an_aay: Argument. 900s # * @arg_an_asv: Argument. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 900s # g_signal_new ("signal-with-many-args", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 900s # G_TYPE_NONE, 900s # 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); 900s # 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_signal_with_many_args: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_b: Argument to pass with the signal. 900s # * @arg_an_y: Argument to pass with the signal. 900s # * @arg_an_n: Argument to pass with the signal. 900s # * @arg_an_q: Argument to pass with the signal. 900s # * @arg_an_i: Argument to pass with the signal. 900s # * @arg_an_u: Argument to pass with the signal. 900s # * @arg_an_x: Argument to pass with the signal. 900s # * @arg_an_t: Argument to pass with the signal. 900s # * @arg_an_d: Argument to pass with the signal. 900s # * @arg_an_s: Argument to pass with the signal. 900s # * @arg_an_o: Argument to pass with the signal. 900s # * @arg_an_g: Argument to pass with the signal. 900s # * @arg_an_h: Argument to pass with the signal. 900s # * @arg_an_ay: Argument to pass with the signal. 900s # * @arg_an_as: Argument to pass with the signal. 900s # * @arg_an_ao: Argument to pass with the signal. 900s # * @arg_an_aay: Argument to pass with the signal. 900s # * @arg_an_asv: Argument to pass with the signal. 900s # * 900s # * Emits the "SignalWithManyArgs" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_signal_with_many_args ( 900s # OrgProjectSignalingIface *object, 900s # gboolean arg_an_b, 900s # guchar arg_an_y, 900s # gint16 arg_an_n, 900s # guint16 arg_an_q, 900s # gint arg_an_i, 900s # guint arg_an_u, 900s # gint64 arg_an_x, 900s # guint64 arg_an_t, 900s # gdouble arg_an_d, 900s # const gchar *arg_an_s, 900s # const gchar *arg_an_o, 900s # const gchar *arg_an_g, 900s # GVariant *arg_an_h, 900s # const gchar *arg_an_ay, 900s # const gchar *const *arg_an_as, 900s # const gchar *const *arg_an_ao, 900s # const gchar *const *arg_an_aay, 900s # GVariant *arg_an_asv) 900s # { 900s # 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); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectSignalingIfaceProxy: 900s # * 900s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectSignalingIfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectSignalingIfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectSignalingIfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_signaling_iface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 900s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 900s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_signaling_iface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # 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); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectSignalingIface * 900s # org_project_signaling_iface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_SIGNALING_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectSignalingIface * 900s # org_project_signaling_iface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_SIGNALING_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_signaling_iface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_signaling_iface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # 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); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectSignalingIface * 900s # org_project_signaling_iface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_SIGNALING_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectSignalingIface * 900s # org_project_signaling_iface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_SIGNALING_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectSignalingIfaceSkeleton: 900s # * 900s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectSignalingIfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectSignalingIfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_signaling_iface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_signaling_iface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_signaling_iface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 900s # { 900s # _org_project_signaling_iface_skeleton_handle_method_call, 900s # _org_project_signaling_iface_skeleton_handle_get_property, 900s # _org_project_signaling_iface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_signaling_iface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 900s # OrgProjectSignalingIface *object, 900s # gboolean arg_an_b, 900s # guchar arg_an_y, 900s # gint16 arg_an_n, 900s # guint16 arg_an_q, 900s # gint arg_an_i, 900s # guint arg_an_u, 900s # gint64 arg_an_x, 900s # guint64 arg_an_t, 900s # gdouble arg_an_d, 900s # const gchar *arg_an_s, 900s # const gchar *arg_an_o, 900s # const gchar *arg_an_g, 900s # GVariant *arg_an_h, 900s # const gchar *arg_an_ay, 900s # const gchar *const *arg_an_as, 900s # const gchar *const *arg_an_ao, 900s # const gchar *const *arg_an_aay, 900s # GVariant *arg_an_asv) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 900s # arg_an_b, 900s # arg_an_y, 900s # arg_an_n, 900s # arg_an_q, 900s # arg_an_i, 900s # arg_an_u, 900s # arg_an_x, 900s # arg_an_t, 900s # arg_an_d, 900s # arg_an_s, 900s # arg_an_o, 900s # arg_an_g, 900s # arg_an_h, 900s # arg_an_ay, 900s # arg_an_as, 900s # arg_an_ao, 900s # arg_an_aay, 900s # arg_an_asv)); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_signaling_iface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 900s # { 900s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectSignalingIface * 900s # org_project_signaling_iface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 900s # } 900s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 900s # tmpdir: /tmp/tmp1lymhc2k 900s # codegen: /usr/bin/gdbus-codegen 900s # /tmp/tmp1lymhc2k/tmpu1ok66wx.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1lymhc2k/tmpu1ok66wx.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_VOID__INT64 ( 900s # GClosure *closure, 900s # GValue *return_value G_GNUC_UNUSED, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 900s # (void *data1, 900s # gint64 arg_an_x, 900s # void *data2); 900s # _GDbusCodegenMarshalVoid_Int64Func callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # callback (data1, 900s # g_marshal_value_peek_int64 (param_values + 1), 900s # data2); 900s # } 900s # 900s # static void 900s # _g_dbus_codegen_marshal_VOID__UINT64 ( 900s # GClosure *closure, 900s # GValue *return_value G_GNUC_UNUSED, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint G_GNUC_UNUSED, 900s # void *marshal_data) 900s # { 900s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 900s # (void *data1, 900s # guint64 arg_an_t, 900s # void *data2); 900s # _GDbusCodegenMarshalVoid_Uint64Func callback; 900s # GCClosure *cc = (GCClosure*) closure; 900s # void *data1, *data2; 900s # 900s # g_return_if_fail (n_param_values == 2); 900s # 900s # if (G_CCLOSURE_SWAP_DATA (closure)) 900s # { 900s # data1 = closure->data; 900s # data2 = g_value_peek_pointer (param_values + 0); 900s # } 900s # else 900s # { 900s # data1 = g_value_peek_pointer (param_values + 0); 900s # data2 = closure->data; 900s # } 900s # 900s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 900s # (marshal_data ? marshal_data : cc->callback); 900s # 900s # callback (data1, 900s # g_marshal_value_peek_uint64 (param_values + 1), 900s # data2); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.SignalingIface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectSignalingIface 900s # * @title: OrgProjectSignalingIface 900s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 900s # */ 900s # 900s # enum 900s # { 900s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 900s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 900s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 900s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 900s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 900s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 900s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 900s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 900s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 900s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 900s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 900s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 900s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 900s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 900s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 900s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 900s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 900s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 900s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 900s # }; 900s # 900s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 900s # 900s # /* ---- Introspection data for org.project.SignalingIface ---- */ 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 900s # { 900s # { 900s # -1, 900s # (gchar *) "NoArgSignal", 900s # NULL, 900s # NULL 900s # }, 900s # "no-arg-signal" 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_b", 900s # (gchar *) "b", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgSignalB", 900s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 900s # NULL 900s # }, 900s # "single-arg-signal-b" 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_y", 900s # (gchar *) "y", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgSignalY", 900s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 900s # NULL 900s # }, 900s # "single-arg-signal-y" 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_n", 900s # (gchar *) "n", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgSignalN", 900s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 900s # NULL 900s # }, 900s # "single-arg-signal-n" 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_q", 900s # (gchar *) "q", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgSignalQ", 900s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 900s # NULL 900s # }, 900s # "single-arg-signal-q" 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_i", 900s # (gchar *) "i", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgSignalI", 900s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 900s # NULL 900s # }, 900s # "single-arg-signal-i" 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_u", 900s # (gchar *) "u", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgSignalU", 900s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 900s # NULL 900s # }, 900s # "single-arg-signal-u" 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_x", 900s # (gchar *) "x", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgSignalX", 900s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 900s # NULL 900s # }, 900s # "single-arg-signal-x" 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_t", 900s # (gchar *) "t", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgSignalT", 900s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 900s # NULL 900s # }, 900s # "single-arg-signal-t" 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_d", 900s # (gchar *) "d", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgSignalD", 900s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 900s # NULL 900s # }, 900s # "single-arg-signal-d" 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_s", 900s # (gchar *) "s", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgSignalS", 900s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 900s # NULL 900s # }, 900s # "single-arg-signal-s" 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_o", 900s # (gchar *) "o", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgSignalO", 900s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 900s # NULL 900s # }, 900s # "single-arg-signal-o" 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_g", 900s # (gchar *) "g", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgSignalG", 900s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 900s # NULL 900s # }, 900s # "single-arg-signal-g" 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_h", 900s # (gchar *) "h", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgSignalH", 900s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 900s # NULL 900s # }, 900s # "single-arg-signal-h" 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_ay", 900s # (gchar *) "ay", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgSignalAY", 900s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 900s # NULL 900s # }, 900s # "single-arg-signal-ay" 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_as", 900s # (gchar *) "as", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgSignalAS", 900s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 900s # NULL 900s # }, 900s # "single-arg-signal-as" 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_ao", 900s # (gchar *) "ao", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgSignalAO", 900s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 900s # NULL 900s # }, 900s # "single-arg-signal-ao" 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_aay", 900s # (gchar *) "aay", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgSignalAAY", 900s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 900s # NULL 900s # }, 900s # "single-arg-signal-aay" 900s # }; 900s # 900s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 900s # { 900s # { 900s # -1, 900s # (gchar *) "an_asv", 900s # (gchar *) "a{sv}", 900s # NULL 900s # }, 900s # FALSE 900s # }; 900s # 900s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SingleArgSignalASV", 900s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 900s # NULL 900s # }, 900s # "single-arg-signal-asv" 900s # }; 900s # 900s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 900s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.SignalingIface", 900s # NULL, 900s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-signaling-iface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_signaling_iface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_signaling_iface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__VOID (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__BOOLEAN (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__UCHAR (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__INT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__UINT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__INT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__UINT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__DOUBLE (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__STRING (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__STRING (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__STRING (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__VARIANT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__STRING (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__BOXED (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__BOXED (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__BOXED (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__VARIANT (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectSignalingIface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 900s # */ 900s # 900s # /** 900s # * OrgProjectSignalingIfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 900s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 900s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 900s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 900s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 900s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 900s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 900s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 900s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 900s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 900s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 900s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 900s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 900s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 900s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 900s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 900s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 900s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 900s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.SignalingIface. 900s # */ 900s # 900s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 900s # { 900s # /* GObject signals for received D-Bus signals: */ 900s # /** 900s # * OrgProjectSignalingIface::no-arg-signal: 900s # * @object: A #OrgProjectSignalingIface. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 900s # g_signal_new ("no-arg-signal", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_no_arg_signal, 900s # G_TYPE_NONE, 900s # 0); 900s # 900s # /** 900s # * OrgProjectSignalingIface::single-arg-signal-b: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_b: Argument. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 900s # g_signal_new ("single-arg-signal-b", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 900s # G_TYPE_NONE, 900s # 1, G_TYPE_BOOLEAN); 900s # 900s # /** 900s # * OrgProjectSignalingIface::single-arg-signal-y: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_y: Argument. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 900s # g_signal_new ("single-arg-signal-y", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 900s # G_TYPE_NONE, 900s # 1, G_TYPE_UCHAR); 900s # 900s # /** 900s # * OrgProjectSignalingIface::single-arg-signal-n: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_n: Argument. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 900s # g_signal_new ("single-arg-signal-n", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 900s # G_TYPE_NONE, 900s # 1, G_TYPE_INT); 900s # 900s # /** 900s # * OrgProjectSignalingIface::single-arg-signal-q: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_q: Argument. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 900s # g_signal_new ("single-arg-signal-q", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 900s # G_TYPE_NONE, 900s # 1, G_TYPE_UINT); 900s # 900s # /** 900s # * OrgProjectSignalingIface::single-arg-signal-i: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_i: Argument. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 900s # g_signal_new ("single-arg-signal-i", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 900s # G_TYPE_NONE, 900s # 1, G_TYPE_INT); 900s # 900s # /** 900s # * OrgProjectSignalingIface::single-arg-signal-u: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_u: Argument. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 900s # g_signal_new ("single-arg-signal-u", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 900s # G_TYPE_NONE, 900s # 1, G_TYPE_UINT); 900s # 900s # /** 900s # * OrgProjectSignalingIface::single-arg-signal-x: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_x: Argument. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 900s # g_signal_new ("single-arg-signal-x", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 900s # G_TYPE_NONE, 900s # 1, G_TYPE_INT64); 900s # 900s # /** 900s # * OrgProjectSignalingIface::single-arg-signal-t: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_t: Argument. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 900s # g_signal_new ("single-arg-signal-t", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 900s # G_TYPE_NONE, 900s # 1, G_TYPE_UINT64); 900s # 900s # /** 900s # * OrgProjectSignalingIface::single-arg-signal-d: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_d: Argument. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 900s # g_signal_new ("single-arg-signal-d", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 900s # G_TYPE_NONE, 900s # 1, G_TYPE_DOUBLE); 900s # 900s # /** 900s # * OrgProjectSignalingIface::single-arg-signal-s: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_s: Argument. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 900s # g_signal_new ("single-arg-signal-s", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 900s # G_TYPE_NONE, 900s # 1, G_TYPE_STRING); 900s # 900s # /** 900s # * OrgProjectSignalingIface::single-arg-signal-o: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_o: Argument. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 900s # g_signal_new ("single-arg-signal-o", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 900s # G_TYPE_NONE, 900s # 1, G_TYPE_STRING); 900s # 900s # /** 900s # * OrgProjectSignalingIface::single-arg-signal-g: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_g: Argument. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 900s # g_signal_new ("single-arg-signal-g", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 900s # G_TYPE_NONE, 900s # 1, G_TYPE_STRING); 900s # 900s # /** 900s # * OrgProjectSignalingIface::single-arg-signal-h: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_h: Argument. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 900s # g_signal_new ("single-arg-signal-h", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 900s # G_TYPE_NONE, 900s # 1, G_TYPE_VARIANT); 900s # 900s # /** 900s # * OrgProjectSignalingIface::single-arg-signal-ay: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_ay: Argument. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 900s # g_signal_new ("single-arg-signal-ay", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 900s # G_TYPE_NONE, 900s # 1, G_TYPE_STRING); 900s # 900s # /** 900s # * OrgProjectSignalingIface::single-arg-signal-as: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_as: Argument. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 900s # g_signal_new ("single-arg-signal-as", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 900s # G_TYPE_NONE, 900s # 1, G_TYPE_STRV); 900s # 900s # /** 900s # * OrgProjectSignalingIface::single-arg-signal-ao: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_ao: Argument. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 900s # g_signal_new ("single-arg-signal-ao", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 900s # G_TYPE_NONE, 900s # 1, G_TYPE_STRV); 900s # 900s # /** 900s # * OrgProjectSignalingIface::single-arg-signal-aay: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_aay: Argument. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 900s # g_signal_new ("single-arg-signal-aay", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 900s # G_TYPE_NONE, 900s # 1, G_TYPE_STRV); 900s # 900s # /** 900s # * OrgProjectSignalingIface::single-arg-signal-asv: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_asv: Argument. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 900s # g_signal_new ("single-arg-signal-asv", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 900s # G_TYPE_NONE, 900s # 1, G_TYPE_VARIANT); 900s # 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_no_arg_signal: 900s # * @object: A #OrgProjectSignalingIface. 900s # * 900s # * Emits the "NoArgSignal" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_no_arg_signal ( 900s # OrgProjectSignalingIface *object) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_single_arg_signal_b: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_b: Argument to pass with the signal. 900s # * 900s # * Emits the "SingleArgSignalB" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_single_arg_signal_b ( 900s # OrgProjectSignalingIface *object, 900s # gboolean arg_an_b) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_single_arg_signal_y: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_y: Argument to pass with the signal. 900s # * 900s # * Emits the "SingleArgSignalY" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_single_arg_signal_y ( 900s # OrgProjectSignalingIface *object, 900s # guchar arg_an_y) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_single_arg_signal_n: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_n: Argument to pass with the signal. 900s # * 900s # * Emits the "SingleArgSignalN" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_single_arg_signal_n ( 900s # OrgProjectSignalingIface *object, 900s # gint16 arg_an_n) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_single_arg_signal_q: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_q: Argument to pass with the signal. 900s # * 900s # * Emits the "SingleArgSignalQ" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_single_arg_signal_q ( 900s # OrgProjectSignalingIface *object, 900s # guint16 arg_an_q) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_single_arg_signal_i: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_i: Argument to pass with the signal. 900s # * 900s # * Emits the "SingleArgSignalI" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_single_arg_signal_i ( 900s # OrgProjectSignalingIface *object, 900s # gint arg_an_i) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_single_arg_signal_u: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_u: Argument to pass with the signal. 900s # * 900s # * Emits the "SingleArgSignalU" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_single_arg_signal_u ( 900s # OrgProjectSignalingIface *object, 900s # guint arg_an_u) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_single_arg_signal_x: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_x: Argument to pass with the signal. 900s # * 900s # * Emits the "SingleArgSignalX" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_single_arg_signal_x ( 900s # OrgProjectSignalingIface *object, 900s # gint64 arg_an_x) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_single_arg_signal_t: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_t: Argument to pass with the signal. 900s # * 900s # * Emits the "SingleArgSignalT" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_single_arg_signal_t ( 900s # OrgProjectSignalingIface *object, 900s # guint64 arg_an_t) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_single_arg_signal_d: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_d: Argument to pass with the signal. 900s # * 900s # * Emits the "SingleArgSignalD" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_single_arg_signal_d ( 900s # OrgProjectSignalingIface *object, 900s # gdouble arg_an_d) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_single_arg_signal_s: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_s: Argument to pass with the signal. 900s # * 900s # * Emits the "SingleArgSignalS" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_single_arg_signal_s ( 900s # OrgProjectSignalingIface *object, 900s # const gchar *arg_an_s) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_single_arg_signal_o: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_o: Argument to pass with the signal. 900s # * 900s # * Emits the "SingleArgSignalO" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_single_arg_signal_o ( 900s # OrgProjectSignalingIface *object, 900s # const gchar *arg_an_o) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_single_arg_signal_g: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_g: Argument to pass with the signal. 900s # * 900s # * Emits the "SingleArgSignalG" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_single_arg_signal_g ( 900s # OrgProjectSignalingIface *object, 900s # const gchar *arg_an_g) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_single_arg_signal_h: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_h: Argument to pass with the signal. 900s # * 900s # * Emits the "SingleArgSignalH" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_single_arg_signal_h ( 900s # OrgProjectSignalingIface *object, 900s # GVariant *arg_an_h) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_single_arg_signal_ay: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_ay: Argument to pass with the signal. 900s # * 900s # * Emits the "SingleArgSignalAY" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_single_arg_signal_ay ( 900s # OrgProjectSignalingIface *object, 900s # const gchar *arg_an_ay) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_single_arg_signal_as: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_as: Argument to pass with the signal. 900s # * 900s # * Emits the "SingleArgSignalAS" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_single_arg_signal_as ( 900s # OrgProjectSignalingIface *object, 900s # const gchar *const *arg_an_as) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_single_arg_signal_ao: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_ao: Argument to pass with the signal. 900s # * 900s # * Emits the "SingleArgSignalAO" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_single_arg_signal_ao ( 900s # OrgProjectSignalingIface *object, 900s # const gchar *const *arg_an_ao) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_single_arg_signal_aay: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_aay: Argument to pass with the signal. 900s # * 900s # * Emits the "SingleArgSignalAAY" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_single_arg_signal_aay ( 900s # OrgProjectSignalingIface *object, 900s # const gchar *const *arg_an_aay) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_single_arg_signal_asv: 900s # * @object: A #OrgProjectSignalingIface. 900s # * @arg_an_asv: Argument to pass with the signal. 900s # * 900s # * Emits the "SingleArgSignalASV" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_single_arg_signal_asv ( 900s # OrgProjectSignalingIface *object, 900s # GVariant *arg_an_asv) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectSignalingIfaceProxy: 900s # * 900s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectSignalingIfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectSignalingIfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectSignalingIfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_signaling_iface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 900s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 900s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_signaling_iface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # 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); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectSignalingIface * 900s # org_project_signaling_iface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_SIGNALING_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectSignalingIface * 900s # org_project_signaling_iface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_SIGNALING_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_signaling_iface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_signaling_iface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # 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); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectSignalingIface * 900s # org_project_signaling_iface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_SIGNALING_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectSignalingIface * 900s # org_project_signaling_iface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_SIGNALING_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectSignalingIfaceSkeleton: 900s # * 900s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectSignalingIfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectSignalingIfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_signaling_iface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_signaling_iface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_signaling_iface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 900s # { 900s # _org_project_signaling_iface_skeleton_handle_method_call, 900s # _org_project_signaling_iface_skeleton_handle_get_property, 900s # _org_project_signaling_iface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_signaling_iface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_no_arg_signal ( 900s # OrgProjectSignalingIface *object) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 900s # OrgProjectSignalingIface *object, 900s # gboolean arg_an_b) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 900s # arg_an_b)); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 900s # OrgProjectSignalingIface *object, 900s # guchar arg_an_y) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 900s # arg_an_y)); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 900s # OrgProjectSignalingIface *object, 900s # gint16 arg_an_n) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 900s # arg_an_n)); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 900s # OrgProjectSignalingIface *object, 900s # guint16 arg_an_q) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 900s # arg_an_q)); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 900s # OrgProjectSignalingIface *object, 900s # gint arg_an_i) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 900s # arg_an_i)); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 900s # OrgProjectSignalingIface *object, 900s # guint arg_an_u) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 900s # arg_an_u)); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 900s # OrgProjectSignalingIface *object, 900s # gint64 arg_an_x) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 900s # arg_an_x)); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 900s # OrgProjectSignalingIface *object, 900s # guint64 arg_an_t) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 900s # arg_an_t)); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 900s # OrgProjectSignalingIface *object, 900s # gdouble arg_an_d) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 900s # arg_an_d)); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 900s # OrgProjectSignalingIface *object, 900s # const gchar *arg_an_s) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 900s # arg_an_s)); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 900s # OrgProjectSignalingIface *object, 900s # const gchar *arg_an_o) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 900s # arg_an_o)); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 900s # OrgProjectSignalingIface *object, 900s # const gchar *arg_an_g) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 900s # arg_an_g)); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 900s # OrgProjectSignalingIface *object, 900s # GVariant *arg_an_h) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 900s # arg_an_h)); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 900s # OrgProjectSignalingIface *object, 900s # const gchar *arg_an_ay) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 900s # arg_an_ay)); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 900s # OrgProjectSignalingIface *object, 900s # const gchar *const *arg_an_as) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 900s # arg_an_as)); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 900s # OrgProjectSignalingIface *object, 900s # const gchar *const *arg_an_ao) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 900s # arg_an_ao)); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 900s # OrgProjectSignalingIface *object, 900s # const gchar *const *arg_an_aay) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 900s # arg_an_aay)); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 900s # OrgProjectSignalingIface *object, 900s # GVariant *arg_an_asv) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 900s # arg_an_asv)); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_signaling_iface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 900s # { 900s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 900s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 900s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 900s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 900s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 900s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 900s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 900s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 900s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 900s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 900s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 900s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 900s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 900s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 900s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 900s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 900s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 900s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 900s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectSignalingIface * 900s # org_project_signaling_iface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 900s # } 900s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 900s # tmpdir: /tmp/tmpf718ygf9 900s # codegen: /usr/bin/gdbus-codegen 900s # /tmp/tmpf718ygf9/tmp_47v4f79.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf718ygf9/tmp_47v4f79.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.UsefulInterface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectUsefulInterface 900s # * @title: OrgProjectUsefulInterface 900s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 900s # */ 900s # 900s # enum 900s # { 900s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 900s # }; 900s # 900s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 900s # 900s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SimpleSignal", 900s # NULL, 900s # NULL 900s # }, 900s # "simple-signal" 900s # }; 900s # 900s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 900s # { 900s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.UsefulInterface", 900s # NULL, 900s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-useful-interface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_useful_interface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_useful_interface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_useful_interface_signal_marshal_simple_signal ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__VOID (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectUsefulInterface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 900s # */ 900s # 900s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 900s # { 900s # /* GObject signals for received D-Bus signals: */ 900s # /** 900s # * OrgProjectUsefulInterface::simple-signal: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 900s # g_signal_new ("simple-signal", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 900s # NULL, 900s # NULL, 900s # org_project_useful_interface_signal_marshal_simple_signal, 900s # G_TYPE_NONE, 900s # 0); 900s # 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_emit_simple_signal: 900s # * @object: A #OrgProjectUsefulInterface. 900s # * 900s # * Emits the "SimpleSignal" D-Bus signal. 900s # */ 900s # void 900s # org_project_useful_interface_emit_simple_signal ( 900s # OrgProjectUsefulInterface *object) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxy: 900s # * 900s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 900s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 900s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_useful_interface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # g_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); 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeleton: 900s # * 900s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectUsefulInterfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_useful_interface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_useful_interface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_useful_interface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 900s # { 900s # _org_project_useful_interface_skeleton_handle_method_call, 900s # _org_project_useful_interface_skeleton_handle_get_property, 900s # _org_project_useful_interface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_useful_interface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # _org_project_useful_interface_on_signal_simple_signal ( 900s # OrgProjectUsefulInterface *object) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_useful_interface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 900s # { 900s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 900s # } 900s # 900s # /** 900s # * org_project_useful_interface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectUsefulInterface * 900s # org_project_useful_interface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.OtherIface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectOtherIface 900s # * @title: OrgProjectOtherIface 900s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 900s # */ 900s # 900s # enum 900s # { 900s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 900s # }; 900s # 900s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 900s # 900s # /* ---- Introspection data for org.project.OtherIface ---- */ 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SimpleSignal", 900s # NULL, 900s # NULL 900s # }, 900s # "simple-signal" 900s # }; 900s # 900s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 900s # { 900s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.OtherIface", 900s # NULL, 900s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-other-iface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_other_iface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_other_iface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_other_iface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_other_iface_signal_marshal_simple_signal ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__VOID (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectOtherIface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 900s # */ 900s # 900s # /** 900s # * OrgProjectOtherIfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.OtherIface. 900s # */ 900s # 900s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 900s # { 900s # /* GObject signals for received D-Bus signals: */ 900s # /** 900s # * OrgProjectOtherIface::simple-signal: 900s # * @object: A #OrgProjectOtherIface. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 900s # g_signal_new ("simple-signal", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 900s # NULL, 900s # NULL, 900s # org_project_other_iface_signal_marshal_simple_signal, 900s # G_TYPE_NONE, 900s # 0); 900s # 900s # } 900s # 900s # /** 900s # * org_project_other_iface_emit_simple_signal: 900s # * @object: A #OrgProjectOtherIface. 900s # * 900s # * Emits the "SimpleSignal" D-Bus signal. 900s # */ 900s # void 900s # org_project_other_iface_emit_simple_signal ( 900s # OrgProjectOtherIface *object) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectOtherIfaceProxy: 900s # * 900s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectOtherIfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectOtherIfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectOtherIfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_other_iface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 900s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 900s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_other_iface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_other_iface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # 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); 900s # } 900s # 900s # /** 900s # * org_project_other_iface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_other_iface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectOtherIface * 900s # org_project_other_iface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_OTHER_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_other_iface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectOtherIface * 900s # org_project_other_iface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_OTHER_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_other_iface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_other_iface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # 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); 900s # } 900s # 900s # /** 900s # * org_project_other_iface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectOtherIface * 900s # org_project_other_iface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_OTHER_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_other_iface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectOtherIface * 900s # org_project_other_iface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_OTHER_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectOtherIfaceSkeleton: 900s # * 900s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectOtherIfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectOtherIfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectOtherIfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_other_iface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_other_iface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_other_iface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 900s # { 900s # _org_project_other_iface_skeleton_handle_method_call, 900s # _org_project_other_iface_skeleton_handle_get_property, 900s # _org_project_other_iface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_other_iface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # _org_project_other_iface_on_signal_simple_signal ( 900s # OrgProjectOtherIface *object) 900s # { 900s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_other_iface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 900s # { 900s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 900s # } 900s # 900s # /** 900s # * org_project_other_iface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectOtherIface * 900s # org_project_other_iface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 900s # } 900s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 900s # tmpdir: /tmp/tmp8qexno8q 900s # codegen: /usr/bin/gdbus-codegen 900s # /tmp/tmp8qexno8q/tmp2d6hba_r.xml: 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # 900s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8qexno8q/tmp2d6hba_r.xml', '--output', '-', '--body'] 900s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 900s # Output: /* 900s # * This file is generated by gdbus-codegen, do not modify it. 900s # * 900s # * The license of this code is the same as for the D-Bus interface description 900s # * it was derived from. Note that it links to GLib, so must comply with the 900s # * LGPL linking clauses. 900s # */ 900s # 900s # #ifdef HAVE_CONFIG_H 900s # # include "config.h" 900s # #endif 900s # 900s # #include 900s # #ifdef G_OS_UNIX 900s # # include 900s # #endif 900s # 900s # #ifdef G_ENABLE_DEBUG 900s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 900s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 900s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 900s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 900s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 900s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 900s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 900s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 900s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 900s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 900s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 900s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 900s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 900s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 900s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 900s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 900s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 900s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 900s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 900s # #else /* !G_ENABLE_DEBUG */ 900s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 900s # * Do not access GValues directly in your code. Instead, use the 900s # * g_value_get_*() functions 900s # */ 900s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 900s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 900s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 900s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 900s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 900s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 900s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 900s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 900s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 900s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 900s # #endif /* !G_ENABLE_DEBUG */ 900s # 900s # typedef struct 900s # { 900s # GDBusArgInfo parent_struct; 900s # gboolean use_gvariant; 900s # } _ExtendedGDBusArgInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusMethodInfo parent_struct; 900s # const gchar *signal_name; 900s # gboolean pass_fdlist; 900s # } _ExtendedGDBusMethodInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusSignalInfo parent_struct; 900s # const gchar *signal_name; 900s # } _ExtendedGDBusSignalInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusPropertyInfo parent_struct; 900s # const gchar *hyphen_name; 900s # guint use_gvariant : 1; 900s # guint emits_changed_signal : 1; 900s # } _ExtendedGDBusPropertyInfo; 900s # 900s # typedef struct 900s # { 900s # GDBusInterfaceInfo parent_struct; 900s # const gchar *hyphen_name; 900s # } _ExtendedGDBusInterfaceInfo; 900s # 900s # typedef struct 900s # { 900s # const _ExtendedGDBusPropertyInfo *info; 900s # guint prop_id; 900s # GValue orig_value; /* the value before the change */ 900s # } ChangedProperty; 900s # 900s # static void 900s # _changed_property_free (ChangedProperty *data) 900s # { 900s # g_value_unset (&data->orig_value); 900s # g_free (data); 900s # } 900s # 900s # static gboolean 900s # _g_strv_equal0 (gchar **a, gchar **b) 900s # { 900s # gboolean ret = FALSE; 900s # guint n; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # if (g_strv_length (a) != g_strv_length (b)) 900s # goto out; 900s # for (n = 0; a[n] != NULL; n++) 900s # if (g_strcmp0 (a[n], b[n]) != 0) 900s # goto out; 900s # ret = TRUE; 900s # out: 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _g_variant_equal0 (GVariant *a, GVariant *b) 900s # { 900s # gboolean ret = FALSE; 900s # if (a == NULL && b == NULL) 900s # { 900s # ret = TRUE; 900s # goto out; 900s # } 900s # if (a == NULL || b == NULL) 900s # goto out; 900s # ret = g_variant_equal (a, b); 900s # out: 900s # return ret; 900s # } 900s # 900s # G_GNUC_UNUSED static gboolean 900s # _g_value_equal (const GValue *a, const GValue *b) 900s # { 900s # gboolean ret = FALSE; 900s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 900s # switch (G_VALUE_TYPE (a)) 900s # { 900s # case G_TYPE_BOOLEAN: 900s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 900s # break; 900s # case G_TYPE_UCHAR: 900s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 900s # break; 900s # case G_TYPE_INT: 900s # ret = (g_value_get_int (a) == g_value_get_int (b)); 900s # break; 900s # case G_TYPE_UINT: 900s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 900s # break; 900s # case G_TYPE_INT64: 900s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 900s # break; 900s # case G_TYPE_UINT64: 900s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 900s # break; 900s # case G_TYPE_DOUBLE: 900s # { 900s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 900s # gdouble da = g_value_get_double (a); 900s # gdouble db = g_value_get_double (b); 900s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 900s # } 900s # break; 900s # case G_TYPE_STRING: 900s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 900s # break; 900s # case G_TYPE_VARIANT: 900s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 900s # break; 900s # default: 900s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 900s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 900s # else 900s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 900s # break; 900s # } 900s # return ret; 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.SignalingIface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectSignalingIface 900s # * @title: OrgProjectSignalingIface 900s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 900s # */ 900s # 900s # enum 900s # { 900s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 900s # }; 900s # 900s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 900s # 900s # /* ---- Introspection data for org.project.SignalingIface ---- */ 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SimpleSignal", 900s # NULL, 900s # NULL 900s # }, 900s # "simple-signal" 900s # }; 900s # 900s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 900s # { 900s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.SignalingIface", 900s # NULL, 900s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-signaling-iface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_signaling_iface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_signaling_iface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_signaling_iface_signal_marshal_simple_signal ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__VOID (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectSignalingIface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 900s # */ 900s # 900s # /** 900s # * OrgProjectSignalingIfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.SignalingIface. 900s # */ 900s # 900s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 900s # { 900s # /* GObject signals for received D-Bus signals: */ 900s # /** 900s # * OrgProjectSignalingIface::simple-signal: 900s # * @object: A #OrgProjectSignalingIface. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 900s # g_signal_new ("simple-signal", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 900s # NULL, 900s # NULL, 900s # org_project_signaling_iface_signal_marshal_simple_signal, 900s # G_TYPE_NONE, 900s # 0); 900s # 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_emit_simple_signal: 900s # * @object: A #OrgProjectSignalingIface. 900s # * 900s # * Emits the "SimpleSignal" D-Bus signal. 900s # */ 900s # void 900s # org_project_signaling_iface_emit_simple_signal ( 900s # OrgProjectSignalingIface *object) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectSignalingIfaceProxy: 900s # * 900s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectSignalingIfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectSignalingIfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectSignalingIfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_signaling_iface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 900s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 900s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_signaling_iface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # 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); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectSignalingIface * 900s # org_project_signaling_iface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_SIGNALING_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectSignalingIface * 900s # org_project_signaling_iface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_SIGNALING_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_signaling_iface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_signaling_iface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # 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); 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectSignalingIface * 900s # org_project_signaling_iface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_SIGNALING_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectSignalingIface * 900s # org_project_signaling_iface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_SIGNALING_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectSignalingIfaceSkeleton: 900s # * 900s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectSignalingIfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectSignalingIfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_signaling_iface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_signaling_iface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_signaling_iface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 900s # { 900s # _org_project_signaling_iface_skeleton_handle_method_call, 900s # _org_project_signaling_iface_skeleton_handle_get_property, 900s # _org_project_signaling_iface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_signaling_iface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # _org_project_signaling_iface_on_signal_simple_signal ( 900s # OrgProjectSignalingIface *object) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_signaling_iface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 900s # { 900s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 900s # } 900s # 900s # /** 900s # * org_project_signaling_iface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectSignalingIface * 900s # org_project_signaling_iface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ 900s # * Code for interface org.project.OtherSignalingIface 900s # * ------------------------------------------------------------------------ 900s # */ 900s # 900s # /** 900s # * SECTION:OrgProjectOtherSignalingIface 900s # * @title: OrgProjectOtherSignalingIface 900s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 900s # * 900s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 900s # */ 900s # 900s # enum 900s # { 900s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 900s # }; 900s # 900s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 900s # 900s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 900s # 900s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 900s # { 900s # { 900s # -1, 900s # (gchar *) "SimpleSignal", 900s # NULL, 900s # NULL 900s # }, 900s # "simple-signal" 900s # }; 900s # 900s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 900s # { 900s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 900s # NULL 900s # }; 900s # 900s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 900s # { 900s # { 900s # -1, 900s # (gchar *) "org.project.OtherSignalingIface", 900s # NULL, 900s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 900s # NULL, 900s # NULL 900s # }, 900s # "org-project-other-signaling-iface", 900s # }; 900s # 900s # 900s # /** 900s # * org_project_other_signaling_iface_interface_info: 900s # * 900s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 900s # * 900s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 900s # */ 900s # GDBusInterfaceInfo * 900s # org_project_other_signaling_iface_interface_info (void) 900s # { 900s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 900s # } 900s # 900s # /** 900s # * org_project_other_signaling_iface_override_properties: 900s # * @klass: The class structure for a #GObject derived class. 900s # * @property_id_begin: The property id to assign to the first overridden property. 900s # * 900s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 900s # * The properties are overridden in the order they are defined. 900s # * 900s # * Returns: The last property id. 900s # */ 900s # guint 900s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 900s # { 900s # return property_id_begin - 1; 900s # } 900s # 900s # 900s # inline static void 900s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 900s # GClosure *closure, 900s # GValue *return_value, 900s # unsigned int n_param_values, 900s # const GValue *param_values, 900s # void *invocation_hint, 900s # void *marshal_data) 900s # { 900s # g_cclosure_marshal_VOID__VOID (closure, 900s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 900s # } 900s # 900s # 900s # /** 900s # * OrgProjectOtherSignalingIface: 900s # * 900s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 900s # */ 900s # 900s # /** 900s # * OrgProjectOtherSignalingIfaceIface: 900s # * @parent_iface: The parent interface. 900s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 900s # * 900s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 900s # */ 900s # 900s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 900s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 900s # 900s # static void 900s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 900s # { 900s # /* GObject signals for received D-Bus signals: */ 900s # /** 900s # * OrgProjectOtherSignalingIface::simple-signal: 900s # * @object: A #OrgProjectOtherSignalingIface. 900s # * 900s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 900s # * 900s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 900s # */ 900s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 900s # g_signal_new ("simple-signal", 900s # G_TYPE_FROM_INTERFACE (iface), 900s # G_SIGNAL_RUN_LAST, 900s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 900s # NULL, 900s # NULL, 900s # org_project_other_signaling_iface_signal_marshal_simple_signal, 900s # G_TYPE_NONE, 900s # 0); 900s # 900s # } 900s # 900s # /** 900s # * org_project_other_signaling_iface_emit_simple_signal: 900s # * @object: A #OrgProjectOtherSignalingIface. 900s # * 900s # * Emits the "SimpleSignal" D-Bus signal. 900s # */ 900s # void 900s # org_project_other_signaling_iface_emit_simple_signal ( 900s # OrgProjectOtherSignalingIface *object) 900s # { 900s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 900s # } 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectOtherSignalingIfaceProxy: 900s # * 900s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectOtherSignalingIfaceProxyClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 900s # */ 900s # 900s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 900s # { 900s # GData *qdata; 900s # }; 900s # 900s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 900s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 900s # { 900s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 900s # g_datalist_clear (&proxy->priv->qdata); 900s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 900s # guint prop_id G_GNUC_UNUSED, 900s # const GValue *value G_GNUC_UNUSED, 900s # GParamSpec *pspec G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 900s # const gchar *sender_name G_GNUC_UNUSED, 900s # const gchar *signal_name, 900s # GVariant *parameters) 900s # { 900s # _ExtendedGDBusSignalInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # gsize n; 900s # guint signal_id; 900s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 900s # if (info == NULL) 900s # return; 900s # num_params = g_variant_n_children (parameters); 900s # paramv = g_new0 (GValue, num_params + 1); 900s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 900s # g_value_set_object (¶mv[0], proxy); 900s # g_variant_iter_init (&iter, parameters); 900s # n = 1; 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 900s # g_signal_emitv (paramv, signal_id, 0, NULL); 900s # for (n = 0; n < num_params + 1; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static void 900s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 900s # GVariant *changed_properties, 900s # const gchar *const *invalidated_properties) 900s # { 900s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 900s # guint n; 900s # const gchar *key; 900s # GVariantIter *iter; 900s # _ExtendedGDBusPropertyInfo *info; 900s # g_variant_get (changed_properties, "a{sv}", &iter); 900s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 900s # g_datalist_remove_data (&proxy->priv->qdata, key); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # g_variant_iter_free (iter); 900s # for (n = 0; invalidated_properties[n] != NULL; n++) 900s # { 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 900s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 900s # if (info != NULL) 900s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 900s # } 900s # } 900s # 900s # static void 900s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 900s # #else 900s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 900s # #endif 900s # 900s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 900s # } 900s # 900s # static void 900s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusProxyClass *proxy_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 900s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 900s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 900s # 900s # proxy_class = G_DBUS_PROXY_CLASS (klass); 900s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 900s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # /** 900s # * org_project_other_signaling_iface_proxy_new: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 900s # * 900s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_other_signaling_iface_proxy_new ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # 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); 900s # } 900s # 900s # /** 900s # * org_project_other_signaling_iface_proxy_new_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectOtherSignalingIface * 900s # org_project_other_signaling_iface_proxy_new_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_other_signaling_iface_proxy_new_sync: 900s # * @connection: A #GDBusConnection. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectOtherSignalingIface * 900s # org_project_other_signaling_iface_proxy_new_sync ( 900s # GDBusConnection *connection, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /** 900s # * org_project_other_signaling_iface_proxy_new_for_bus: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 900s # * @user_data: User data to pass to @callback. 900s # * 900s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 900s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 900s # * 900s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 900s # */ 900s # void 900s # org_project_other_signaling_iface_proxy_new_for_bus ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GAsyncReadyCallback callback, 900s # gpointer user_data) 900s # { 900s # 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); 900s # } 900s # 900s # /** 900s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 900s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 900s # * @error: Return location for error or %NULL 900s # * 900s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 900s # * 900s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectOtherSignalingIface * 900s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 900s # GAsyncResult *res, 900s # GError **error) 900s # { 900s # GObject *ret; 900s # GObject *source_object; 900s # source_object = g_async_result_get_source_object (res); 900s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 900s # g_object_unref (source_object); 900s # if (ret != NULL) 900s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # /** 900s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 900s # * @bus_type: A #GBusType. 900s # * @flags: Flags from the #GDBusProxyFlags enumeration. 900s # * @name: A bus name (well-known or unique). 900s # * @object_path: An object path. 900s # * @cancellable: (nullable): A #GCancellable or %NULL. 900s # * @error: Return location for error or %NULL 900s # * 900s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 900s # * 900s # * The calling thread is blocked until a reply is received. 900s # * 900s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 900s # * 900s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 900s # */ 900s # OrgProjectOtherSignalingIface * 900s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 900s # GBusType bus_type, 900s # GDBusProxyFlags flags, 900s # const gchar *name, 900s # const gchar *object_path, 900s # GCancellable *cancellable, 900s # GError **error) 900s # { 900s # GInitable *ret; 900s # 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); 900s # if (ret != NULL) 900s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 900s # else 900s # return NULL; 900s # } 900s # 900s # 900s # /* ------------------------------------------------------------------------ */ 900s # 900s # /** 900s # * OrgProjectOtherSignalingIfaceSkeleton: 900s # * 900s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 900s # */ 900s # 900s # /** 900s # * OrgProjectOtherSignalingIfaceSkeletonClass: 900s # * @parent_class: The parent class. 900s # * 900s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 900s # */ 900s # 900s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 900s # { 900s # GValue *properties; 900s # GList *changed_properties; 900s # GSource *changed_properties_idle_source; 900s # GMainContext *context; 900s # GMutex lock; 900s # }; 900s # 900s # static void 900s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name, 900s # const gchar *method_name, 900s # GVariant *parameters, 900s # GDBusMethodInvocation *invocation, 900s # gpointer user_data) 900s # { 900s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 900s # _ExtendedGDBusMethodInfo *info; 900s # GVariantIter iter; 900s # GVariant *child; 900s # GValue *paramv; 900s # gsize num_params; 900s # guint num_extra; 900s # gsize n; 900s # guint signal_id; 900s # GValue return_value = G_VALUE_INIT; 900s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 900s # g_assert (info != NULL); 900s # num_params = g_variant_n_children (parameters); 900s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 900s # n = 0; 900s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 900s # g_value_set_object (¶mv[n++], skeleton); 900s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 900s # g_value_set_object (¶mv[n++], invocation); 900s # if (info->pass_fdlist) 900s # { 900s # #ifdef G_OS_UNIX 900s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 900s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 900s # #else 900s # g_assert_not_reached (); 900s # #endif 900s # } 900s # g_variant_iter_init (&iter, parameters); 900s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 900s # { 900s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 900s # if (arg_info->use_gvariant) 900s # { 900s # g_value_init (¶mv[n], G_TYPE_VARIANT); 900s # g_value_set_variant (¶mv[n], child); 900s # n++; 900s # } 900s # else 900s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 900s # g_variant_unref (child); 900s # } 900s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 900s # g_value_init (&return_value, G_TYPE_BOOLEAN); 900s # g_signal_emitv (paramv, signal_id, 0, &return_value); 900s # if (!g_value_get_boolean (&return_value)) 900s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 900s # g_value_unset (&return_value); 900s # for (n = 0; n < num_params + num_extra; n++) 900s # g_value_unset (¶mv[n]); 900s # g_free (paramv); 900s # } 900s # 900s # static GVariant * 900s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # GVariant *ret; 900s # ret = NULL; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # g_value_init (&value, pspec->value_type); 900s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 900s # g_value_unset (&value); 900s # } 900s # return ret; 900s # } 900s # 900s # static gboolean 900s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 900s # GDBusConnection *connection G_GNUC_UNUSED, 900s # const gchar *sender G_GNUC_UNUSED, 900s # const gchar *object_path G_GNUC_UNUSED, 900s # const gchar *interface_name G_GNUC_UNUSED, 900s # const gchar *property_name, 900s # GVariant *variant, 900s # GError **error, 900s # gpointer user_data) 900s # { 900s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 900s # GValue value = G_VALUE_INIT; 900s # GParamSpec *pspec; 900s # _ExtendedGDBusPropertyInfo *info; 900s # gboolean ret; 900s # ret = FALSE; 900s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 900s # g_assert (info != NULL); 900s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 900s # if (pspec == NULL) 900s # { 900s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 900s # } 900s # else 900s # { 900s # if (info->use_gvariant) 900s # g_value_set_variant (&value, variant); 900s # else 900s # g_dbus_gvariant_to_gvalue (variant, &value); 900s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 900s # g_value_unset (&value); 900s # ret = TRUE; 900s # } 900s # return ret; 900s # } 900s # 900s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 900s # { 900s # _org_project_other_signaling_iface_skeleton_handle_method_call, 900s # _org_project_other_signaling_iface_skeleton_handle_get_property, 900s # _org_project_other_signaling_iface_skeleton_handle_set_property, 900s # {NULL} 900s # }; 900s # 900s # static GDBusInterfaceInfo * 900s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return org_project_other_signaling_iface_interface_info (); 900s # } 900s # 900s # static GDBusInterfaceVTable * 900s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 900s # { 900s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 900s # } 900s # 900s # static GVariant * 900s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 900s # { 900s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 900s # 900s # GVariantBuilder builder; 900s # guint n; 900s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 900s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 900s # goto out; 900s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 900s # { 900s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 900s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 900s # { 900s # GVariant *value; 900s # 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); 900s # if (value != NULL) 900s # { 900s # g_variant_take_ref (value); 900s # g_variant_builder_add (&builder, "{sv}", info->name, value); 900s # g_variant_unref (value); 900s # } 900s # } 900s # } 900s # out: 900s # return g_variant_builder_end (&builder); 900s # } 900s # 900s # static void 900s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 900s # { 900s # } 900s # 900s # static void 900s # _org_project_other_signaling_iface_on_signal_simple_signal ( 900s # OrgProjectOtherSignalingIface *object) 900s # { 900s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 900s # 900s # GList *connections, *l; 900s # GVariant *signal_variant; 900s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 900s # 900s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 900s # for (l = connections; l != NULL; l = l->next) 900s # { 900s # GDBusConnection *connection = l->data; 900s # g_dbus_connection_emit_signal (connection, 900s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 900s # signal_variant, NULL); 900s # } 900s # g_variant_unref (signal_variant); 900s # g_list_free_full (connections, g_object_unref); 900s # } 900s # 900s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 900s # 900s # #else 900s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 900s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 900s # 900s # #endif 900s # static void 900s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 900s # { 900s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 900s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 900s # if (skeleton->priv->changed_properties_idle_source != NULL) 900s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 900s # g_main_context_unref (skeleton->priv->context); 900s # g_mutex_clear (&skeleton->priv->lock); 900s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 900s # } 900s # 900s # static void 900s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 900s # { 900s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 900s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 900s # #else 900s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 900s # #endif 900s # 900s # g_mutex_init (&skeleton->priv->lock); 900s # skeleton->priv->context = g_main_context_ref_thread_default (); 900s # } 900s # 900s # static void 900s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 900s # { 900s # GObjectClass *gobject_class; 900s # GDBusInterfaceSkeletonClass *skeleton_class; 900s # 900s # gobject_class = G_OBJECT_CLASS (klass); 900s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 900s # 900s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 900s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 900s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 900s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 900s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 900s # 900s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 900s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 900s # #endif 900s # } 900s # 900s # static void 900s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 900s # { 900s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 900s # } 900s # 900s # /** 900s # * org_project_other_signaling_iface_skeleton_new: 900s # * 900s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 900s # * 900s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 900s # */ 900s # OrgProjectOtherSignalingIface * 900s # org_project_other_signaling_iface_skeleton_new (void) 900s # { 900s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 900s # } 901s # Executing: glib/codegen.py.test 901s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 901s # tmpdir: /tmp/tmpolwfuonj 901s # codegen: /usr/bin/gdbus-codegen 901s # /tmp/tmpolwfuonj/tmpk3mmapx5.xml: 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpolwfuonj/tmpk3mmapx5.xml', '--output', '-', '--body'] 901s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: /* 901s # * This file is generated by gdbus-codegen, do not modify it. 901s # * 901s # * The license of this code is the same as for the D-Bus interface description 901s # * it was derived from. Note that it links to GLib, so must comply with the 901s # * LGPL linking clauses. 901s # */ 901s # 901s # #ifdef HAVE_CONFIG_H 901s # # include "config.h" 901s # #endif 901s # 901s # #include 901s # #ifdef G_OS_UNIX 901s # # include 901s # #endif 901s # 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # typedef struct 901s # { 901s # GDBusArgInfo parent_struct; 901s # gboolean use_gvariant; 901s # } _ExtendedGDBusArgInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusMethodInfo parent_struct; 901s # const gchar *signal_name; 901s # gboolean pass_fdlist; 901s # } _ExtendedGDBusMethodInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusSignalInfo parent_struct; 901s # const gchar *signal_name; 901s # } _ExtendedGDBusSignalInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusPropertyInfo parent_struct; 901s # const gchar *hyphen_name; 901s # guint use_gvariant : 1; 901s # guint emits_changed_signal : 1; 901s # } _ExtendedGDBusPropertyInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusInterfaceInfo parent_struct; 901s # const gchar *hyphen_name; 901s # } _ExtendedGDBusInterfaceInfo; 901s # 901s # typedef struct 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # guint prop_id; 901s # GValue orig_value; /* the value before the change */ 901s # } ChangedProperty; 901s # 901s # static void 901s # _changed_property_free (ChangedProperty *data) 901s # { 901s # g_value_unset (&data->orig_value); 901s # g_free (data); 901s # } 901s # 901s # static gboolean 901s # _g_strv_equal0 (gchar **a, gchar **b) 901s # { 901s # gboolean ret = FALSE; 901s # guint n; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # if (g_strv_length (a) != g_strv_length (b)) 901s # goto out; 901s # for (n = 0; a[n] != NULL; n++) 901s # if (g_strcmp0 (a[n], b[n]) != 0) 901s # goto out; 901s # ret = TRUE; 901s # out: 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _g_variant_equal0 (GVariant *a, GVariant *b) 901s # { 901s # gboolean ret = FALSE; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # ret = g_variant_equal (a, b); 901s # out: 901s # return ret; 901s # } 901s # 901s # G_GNUC_UNUSED static gboolean 901s # _g_value_equal (const GValue *a, const GValue *b) 901s # { 901s # gboolean ret = FALSE; 901s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 901s # switch (G_VALUE_TYPE (a)) 901s # { 901s # case G_TYPE_BOOLEAN: 901s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 901s # break; 901s # case G_TYPE_UCHAR: 901s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 901s # break; 901s # case G_TYPE_INT: 901s # ret = (g_value_get_int (a) == g_value_get_int (b)); 901s # break; 901s # case G_TYPE_UINT: 901s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 901s # break; 901s # case G_TYPE_INT64: 901s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 901s # break; 901s # case G_TYPE_UINT64: 901s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 901s # break; 901s # case G_TYPE_DOUBLE: 901s # { 901s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 901s # gdouble da = g_value_get_double (a); 901s # gdouble db = g_value_get_double (b); 901s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 901s # } 901s # break; 901s # case G_TYPE_STRING: 901s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 901s # break; 901s # case G_TYPE_VARIANT: 901s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 901s # break; 901s # default: 901s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 901s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 901s # else 901s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 901s # break; 901s # } 901s # return ret; 901s # } 901s # 901s # /* ------------------------------------------------------------------------ 901s # * Code for interface org.project.SignalingIface 901s # * ------------------------------------------------------------------------ 901s # */ 901s # 901s # /** 901s # * SECTION:OrgProjectSignalingIface 901s # * @title: OrgProjectSignalingIface 901s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 901s # * 901s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 901s # */ 901s # 901s # enum 901s # { 901s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 901s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 901s # }; 901s # 901s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 901s # 901s # /* ---- Introspection data for org.project.SignalingIface ---- */ 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SimpleSignal", 901s # NULL, 901s # NULL 901s # }, 901s # "simple-signal" 901s # }; 901s # 901s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 901s # { 901s # { 901s # -1, 901s # (gchar *) "arg_b", 901s # (gchar *) "b", 901s # NULL 901s # }, 901s # FALSE 901s # }; 901s # 901s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SingleArgSignalB", 901s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 901s # NULL 901s # }, 901s # "single-arg-signal-b" 901s # }; 901s # 901s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 901s # { 901s # { 901s # -1, 901s # (gchar *) "org.project.SignalingIface", 901s # NULL, 901s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 901s # NULL, 901s # NULL 901s # }, 901s # "org-project-signaling-iface", 901s # }; 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_interface_info: 901s # * 901s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 901s # * 901s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 901s # */ 901s # GDBusInterfaceInfo * 901s # org_project_signaling_iface_interface_info (void) 901s # { 901s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_override_properties: 901s # * @klass: The class structure for a #GObject derived class. 901s # * @property_id_begin: The property id to assign to the first overridden property. 901s # * 901s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 901s # * The properties are overridden in the order they are defined. 901s # * 901s # * Returns: The last property id. 901s # */ 901s # guint 901s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 901s # { 901s # return property_id_begin - 1; 901s # } 901s # 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_simple_signal ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__VOID (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__BOOLEAN (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # 901s # /** 901s # * OrgProjectSignalingIface: 901s # * 901s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceIface: 901s # * @parent_iface: The parent interface. 901s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 901s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 901s # * 901s # * Virtual table for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 901s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 901s # 901s # static void 901s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # /* GObject signals for received D-Bus signals: */ 901s # /** 901s # * OrgProjectSignalingIface::simple-signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 901s # g_signal_new ("simple-signal", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_simple_signal, 901s # G_TYPE_NONE, 901s # 0); 901s # 901s # /** 901s # * OrgProjectSignalingIface::single-arg-signal-b: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_b: Argument. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 901s # g_signal_new ("single-arg-signal-b", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 901s # G_TYPE_NONE, 901s # 1, G_TYPE_BOOLEAN); 901s # 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_simple_signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * Emits the "SimpleSignal" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_single_arg_signal_b: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_b: Argument to pass with the signal. 901s # * 901s # * Emits the "SingleArgSignalB" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_single_arg_signal_b ( 901s # OrgProjectSignalingIface *object, 901s # gboolean arg_arg_b) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 901s # } 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxy: 901s # * 901s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxyClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceProxy. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceProxyPrivate 901s # { 901s # GData *qdata; 901s # }; 901s # 901s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_proxy_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 901s # g_datalist_clear (&proxy->priv->qdata); 901s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # const GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 901s # const gchar *sender_name G_GNUC_UNUSED, 901s # const gchar *signal_name, 901s # GVariant *parameters) 901s # { 901s # _ExtendedGDBusSignalInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # gsize n; 901s # guint signal_id; 901s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 901s # if (info == NULL) 901s # return; 901s # num_params = g_variant_n_children (parameters); 901s # paramv = g_new0 (GValue, num_params + 1); 901s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[0], proxy); 901s # g_variant_iter_init (&iter, parameters); 901s # n = 1; 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_signal_emitv (paramv, signal_id, 0, NULL); 901s # for (n = 0; n < num_params + 1; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 901s # GVariant *changed_properties, 901s # const gchar *const *invalidated_properties) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 901s # guint n; 901s # const gchar *key; 901s # GVariantIter *iter; 901s # _ExtendedGDBusPropertyInfo *info; 901s # g_variant_get (changed_properties, "a{sv}", &iter); 901s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 901s # g_datalist_remove_data (&proxy->priv->qdata, key); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # g_variant_iter_free (iter); 901s # for (n = 0; invalidated_properties[n] != NULL; n++) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 901s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 901s # #else 901s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 901s # #endif 901s # 901s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusProxyClass *proxy_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 901s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 901s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 901s # 901s # proxy_class = G_DBUS_PROXY_CLASS (klass); 901s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 901s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_sync: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_sync ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new_for_bus ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_sync: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_sync ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeleton: 901s # * 901s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeletonClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceSkeletonPrivate 901s # { 901s # GValue *properties; 901s # GList *changed_properties; 901s # GSource *changed_properties_idle_source; 901s # GMainContext *context; 901s # GMutex lock; 901s # }; 901s # 901s # static void 901s # _org_project_signaling_iface_skeleton_handle_method_call ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name, 901s # const gchar *method_name, 901s # GVariant *parameters, 901s # GDBusMethodInvocation *invocation, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # _ExtendedGDBusMethodInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # guint num_extra; 901s # gsize n; 901s # guint signal_id; 901s # GValue return_value = G_VALUE_INIT; 901s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 901s # g_assert (info != NULL); 901s # num_params = g_variant_n_children (parameters); 901s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 901s # n = 0; 901s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[n++], skeleton); 901s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 901s # g_value_set_object (¶mv[n++], invocation); 901s # if (info->pass_fdlist) 901s # { 901s # #ifdef G_OS_UNIX 901s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 901s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 901s # #else 901s # g_assert_not_reached (); 901s # #endif 901s # } 901s # g_variant_iter_init (&iter, parameters); 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_init (&return_value, G_TYPE_BOOLEAN); 901s # g_signal_emitv (paramv, signal_id, 0, &return_value); 901s # if (!g_value_get_boolean (&return_value)) 901s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 901s # g_value_unset (&return_value); 901s # for (n = 0; n < num_params + num_extra; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static GVariant * 901s # _org_project_signaling_iface_skeleton_handle_get_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # GVariant *ret; 901s # ret = NULL; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # g_value_init (&value, pspec->value_type); 901s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 901s # g_value_unset (&value); 901s # } 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _org_project_signaling_iface_skeleton_handle_set_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GVariant *variant, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # gboolean ret; 901s # ret = FALSE; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # if (info->use_gvariant) 901s # g_value_set_variant (&value, variant); 901s # else 901s # g_dbus_gvariant_to_gvalue (variant, &value); 901s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # g_value_unset (&value); 901s # ret = TRUE; 901s # } 901s # return ret; 901s # } 901s # 901s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 901s # { 901s # _org_project_signaling_iface_skeleton_handle_method_call, 901s # _org_project_signaling_iface_skeleton_handle_get_property, 901s # _org_project_signaling_iface_skeleton_handle_set_property, 901s # {NULL} 901s # }; 901s # 901s # static GDBusInterfaceInfo * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return org_project_signaling_iface_interface_info (); 901s # } 901s # 901s # static GDBusInterfaceVTable * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 901s # } 901s # 901s # static GVariant * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 901s # 901s # GVariantBuilder builder; 901s # guint n; 901s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 901s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 901s # goto out; 901s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 901s # { 901s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 901s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 901s # { 901s # GVariant *value; 901s # 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); 901s # if (value != NULL) 901s # { 901s # g_variant_take_ref (value); 901s # g_variant_builder_add (&builder, "{sv}", info->name, value); 901s # g_variant_unref (value); 901s # } 901s # } 901s # } 901s # out: 901s # return g_variant_builder_end (&builder); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 901s # OrgProjectSignalingIface *object, 901s # gboolean arg_arg_b) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 901s # arg_arg_b)); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_skeleton_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 901s # if (skeleton->priv->changed_properties_idle_source != NULL) 901s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 901s # g_main_context_unref (skeleton->priv->context); 901s # g_mutex_clear (&skeleton->priv->lock); 901s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 901s # #else 901s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 901s # #endif 901s # 901s # g_mutex_init (&skeleton->priv->lock); 901s # skeleton->priv->context = g_main_context_ref_thread_default (); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusInterfaceSkeletonClass *skeleton_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 901s # 901s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 901s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 901s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 901s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 901s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 901s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_skeleton_new: 901s # * 901s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_skeleton_new (void) 901s # { 901s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 901s # } 901s # /tmp/tmpolwfuonj/tmpofyu4347.xml: 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpolwfuonj/tmpofyu4347.xml', '--output', '-', '--body'] 901s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: /* 901s # * This file is generated by gdbus-codegen, do not modify it. 901s # * 901s # * The license of this code is the same as for the D-Bus interface description 901s # * it was derived from. Note that it links to GLib, so must comply with the 901s # * LGPL linking clauses. 901s # */ 901s # 901s # #ifdef HAVE_CONFIG_H 901s # # include "config.h" 901s # #endif 901s # 901s # #include 901s # #ifdef G_OS_UNIX 901s # # include 901s # #endif 901s # 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # typedef struct 901s # { 901s # GDBusArgInfo parent_struct; 901s # gboolean use_gvariant; 901s # } _ExtendedGDBusArgInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusMethodInfo parent_struct; 901s # const gchar *signal_name; 901s # gboolean pass_fdlist; 901s # } _ExtendedGDBusMethodInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusSignalInfo parent_struct; 901s # const gchar *signal_name; 901s # } _ExtendedGDBusSignalInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusPropertyInfo parent_struct; 901s # const gchar *hyphen_name; 901s # guint use_gvariant : 1; 901s # guint emits_changed_signal : 1; 901s # } _ExtendedGDBusPropertyInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusInterfaceInfo parent_struct; 901s # const gchar *hyphen_name; 901s # } _ExtendedGDBusInterfaceInfo; 901s # 901s # typedef struct 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # guint prop_id; 901s # GValue orig_value; /* the value before the change */ 901s # } ChangedProperty; 901s # 901s # static void 901s # _changed_property_free (ChangedProperty *data) 901s # { 901s # g_value_unset (&data->orig_value); 901s # g_free (data); 901s # } 901s # 901s # static gboolean 901s # _g_strv_equal0 (gchar **a, gchar **b) 901s # { 901s # gboolean ret = FALSE; 901s # guint n; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # if (g_strv_length (a) != g_strv_length (b)) 901s # goto out; 901s # for (n = 0; a[n] != NULL; n++) 901s # if (g_strcmp0 (a[n], b[n]) != 0) 901s # goto out; 901s # ret = TRUE; 901s # out: 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _g_variant_equal0 (GVariant *a, GVariant *b) 901s # { 901s # gboolean ret = FALSE; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # ret = g_variant_equal (a, b); 901s # out: 901s # return ret; 901s # } 901s # 901s # G_GNUC_UNUSED static gboolean 901s # _g_value_equal (const GValue *a, const GValue *b) 901s # { 901s # gboolean ret = FALSE; 901s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 901s # switch (G_VALUE_TYPE (a)) 901s # { 901s # case G_TYPE_BOOLEAN: 901s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 901s # break; 901s # case G_TYPE_UCHAR: 901s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 901s # break; 901s # case G_TYPE_INT: 901s # ret = (g_value_get_int (a) == g_value_get_int (b)); 901s # break; 901s # case G_TYPE_UINT: 901s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 901s # break; 901s # case G_TYPE_INT64: 901s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 901s # break; 901s # case G_TYPE_UINT64: 901s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 901s # break; 901s # case G_TYPE_DOUBLE: 901s # { 901s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 901s # gdouble da = g_value_get_double (a); 901s # gdouble db = g_value_get_double (b); 901s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 901s # } 901s # break; 901s # case G_TYPE_STRING: 901s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 901s # break; 901s # case G_TYPE_VARIANT: 901s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 901s # break; 901s # default: 901s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 901s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 901s # else 901s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 901s # break; 901s # } 901s # return ret; 901s # } 901s # 901s # /* ------------------------------------------------------------------------ 901s # * Code for interface org.project.SignalingIface 901s # * ------------------------------------------------------------------------ 901s # */ 901s # 901s # /** 901s # * SECTION:OrgProjectSignalingIface 901s # * @title: OrgProjectSignalingIface 901s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 901s # * 901s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 901s # */ 901s # 901s # enum 901s # { 901s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 901s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 901s # }; 901s # 901s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 901s # 901s # /* ---- Introspection data for org.project.SignalingIface ---- */ 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SimpleSignal", 901s # NULL, 901s # NULL 901s # }, 901s # "simple-signal" 901s # }; 901s # 901s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 901s # { 901s # { 901s # -1, 901s # (gchar *) "arg_y", 901s # (gchar *) "y", 901s # NULL 901s # }, 901s # FALSE 901s # }; 901s # 901s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SingleArgSignalY", 901s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 901s # NULL 901s # }, 901s # "single-arg-signal-y" 901s # }; 901s # 901s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 901s # { 901s # { 901s # -1, 901s # (gchar *) "org.project.SignalingIface", 901s # NULL, 901s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 901s # NULL, 901s # NULL 901s # }, 901s # "org-project-signaling-iface", 901s # }; 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_interface_info: 901s # * 901s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 901s # * 901s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 901s # */ 901s # GDBusInterfaceInfo * 901s # org_project_signaling_iface_interface_info (void) 901s # { 901s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_override_properties: 901s # * @klass: The class structure for a #GObject derived class. 901s # * @property_id_begin: The property id to assign to the first overridden property. 901s # * 901s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 901s # * The properties are overridden in the order they are defined. 901s # * 901s # * Returns: The last property id. 901s # */ 901s # guint 901s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 901s # { 901s # return property_id_begin - 1; 901s # } 901s # 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_simple_signal ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__VOID (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__UCHAR (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # 901s # /** 901s # * OrgProjectSignalingIface: 901s # * 901s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceIface: 901s # * @parent_iface: The parent interface. 901s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 901s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 901s # * 901s # * Virtual table for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 901s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 901s # 901s # static void 901s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # /* GObject signals for received D-Bus signals: */ 901s # /** 901s # * OrgProjectSignalingIface::simple-signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 901s # g_signal_new ("simple-signal", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_simple_signal, 901s # G_TYPE_NONE, 901s # 0); 901s # 901s # /** 901s # * OrgProjectSignalingIface::single-arg-signal-y: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_y: Argument. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 901s # g_signal_new ("single-arg-signal-y", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 901s # G_TYPE_NONE, 901s # 1, G_TYPE_UCHAR); 901s # 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_simple_signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * Emits the "SimpleSignal" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_single_arg_signal_y: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_y: Argument to pass with the signal. 901s # * 901s # * Emits the "SingleArgSignalY" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_single_arg_signal_y ( 901s # OrgProjectSignalingIface *object, 901s # guchar arg_arg_y) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 901s # } 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxy: 901s # * 901s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxyClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceProxy. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceProxyPrivate 901s # { 901s # GData *qdata; 901s # }; 901s # 901s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_proxy_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 901s # g_datalist_clear (&proxy->priv->qdata); 901s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # const GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 901s # const gchar *sender_name G_GNUC_UNUSED, 901s # const gchar *signal_name, 901s # GVariant *parameters) 901s # { 901s # _ExtendedGDBusSignalInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # gsize n; 901s # guint signal_id; 901s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 901s # if (info == NULL) 901s # return; 901s # num_params = g_variant_n_children (parameters); 901s # paramv = g_new0 (GValue, num_params + 1); 901s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[0], proxy); 901s # g_variant_iter_init (&iter, parameters); 901s # n = 1; 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_signal_emitv (paramv, signal_id, 0, NULL); 901s # for (n = 0; n < num_params + 1; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 901s # GVariant *changed_properties, 901s # const gchar *const *invalidated_properties) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 901s # guint n; 901s # const gchar *key; 901s # GVariantIter *iter; 901s # _ExtendedGDBusPropertyInfo *info; 901s # g_variant_get (changed_properties, "a{sv}", &iter); 901s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 901s # g_datalist_remove_data (&proxy->priv->qdata, key); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # g_variant_iter_free (iter); 901s # for (n = 0; invalidated_properties[n] != NULL; n++) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 901s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 901s # #else 901s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 901s # #endif 901s # 901s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusProxyClass *proxy_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 901s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 901s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 901s # 901s # proxy_class = G_DBUS_PROXY_CLASS (klass); 901s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 901s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_sync: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_sync ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new_for_bus ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_sync: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_sync ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeleton: 901s # * 901s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeletonClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceSkeletonPrivate 901s # { 901s # GValue *properties; 901s # GList *changed_properties; 901s # GSource *changed_properties_idle_source; 901s # GMainContext *context; 901s # GMutex lock; 901s # }; 901s # 901s # static void 901s # _org_project_signaling_iface_skeleton_handle_method_call ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name, 901s # const gchar *method_name, 901s # GVariant *parameters, 901s # GDBusMethodInvocation *invocation, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # _ExtendedGDBusMethodInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # guint num_extra; 901s # gsize n; 901s # guint signal_id; 901s # GValue return_value = G_VALUE_INIT; 901s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 901s # g_assert (info != NULL); 901s # num_params = g_variant_n_children (parameters); 901s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 901s # n = 0; 901s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[n++], skeleton); 901s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 901s # g_value_set_object (¶mv[n++], invocation); 901s # if (info->pass_fdlist) 901s # { 901s # #ifdef G_OS_UNIX 901s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 901s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 901s # #else 901s # g_assert_not_reached (); 901s # #endif 901s # } 901s # g_variant_iter_init (&iter, parameters); 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_init (&return_value, G_TYPE_BOOLEAN); 901s # g_signal_emitv (paramv, signal_id, 0, &return_value); 901s # if (!g_value_get_boolean (&return_value)) 901s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 901s # g_value_unset (&return_value); 901s # for (n = 0; n < num_params + num_extra; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static GVariant * 901s # _org_project_signaling_iface_skeleton_handle_get_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # GVariant *ret; 901s # ret = NULL; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # g_value_init (&value, pspec->value_type); 901s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 901s # g_value_unset (&value); 901s # } 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _org_project_signaling_iface_skeleton_handle_set_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GVariant *variant, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # gboolean ret; 901s # ret = FALSE; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # if (info->use_gvariant) 901s # g_value_set_variant (&value, variant); 901s # else 901s # g_dbus_gvariant_to_gvalue (variant, &value); 901s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # g_value_unset (&value); 901s # ret = TRUE; 901s # } 901s # return ret; 901s # } 901s # 901s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 901s # { 901s # _org_project_signaling_iface_skeleton_handle_method_call, 901s # _org_project_signaling_iface_skeleton_handle_get_property, 901s # _org_project_signaling_iface_skeleton_handle_set_property, 901s # {NULL} 901s # }; 901s # 901s # static GDBusInterfaceInfo * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return org_project_signaling_iface_interface_info (); 901s # } 901s # 901s # static GDBusInterfaceVTable * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 901s # } 901s # 901s # static GVariant * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 901s # 901s # GVariantBuilder builder; 901s # guint n; 901s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 901s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 901s # goto out; 901s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 901s # { 901s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 901s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 901s # { 901s # GVariant *value; 901s # 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); 901s # if (value != NULL) 901s # { 901s # g_variant_take_ref (value); 901s # g_variant_builder_add (&builder, "{sv}", info->name, value); 901s # g_variant_unref (value); 901s # } 901s # } 901s # } 901s # out: 901s # return g_variant_builder_end (&builder); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 901s # OrgProjectSignalingIface *object, 901s # guchar arg_arg_y) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 901s # arg_arg_y)); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_skeleton_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 901s # if (skeleton->priv->changed_properties_idle_source != NULL) 901s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 901s # g_main_context_unref (skeleton->priv->context); 901s # g_mutex_clear (&skeleton->priv->lock); 901s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 901s # #else 901s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 901s # #endif 901s # 901s # g_mutex_init (&skeleton->priv->lock); 901s # skeleton->priv->context = g_main_context_ref_thread_default (); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusInterfaceSkeletonClass *skeleton_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 901s # 901s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 901s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 901s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 901s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 901s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 901s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_skeleton_new: 901s # * 901s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_skeleton_new (void) 901s # { 901s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 901s # } 901s # /tmp/tmpolwfuonj/tmptf2mzwls.xml: 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpolwfuonj/tmptf2mzwls.xml', '--output', '-', '--body'] 901s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: /* 901s # * This file is generated by gdbus-codegen, do not modify it. 901s # * 901s # * The license of this code is the same as for the D-Bus interface description 901s # * it was derived from. Note that it links to GLib, so must comply with the 901s # * LGPL linking clauses. 901s # */ 901s # 901s # #ifdef HAVE_CONFIG_H 901s # # include "config.h" 901s # #endif 901s # 901s # #include 901s # #ifdef G_OS_UNIX 901s # # include 901s # #endif 901s # 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # typedef struct 901s # { 901s # GDBusArgInfo parent_struct; 901s # gboolean use_gvariant; 901s # } _ExtendedGDBusArgInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusMethodInfo parent_struct; 901s # const gchar *signal_name; 901s # gboolean pass_fdlist; 901s # } _ExtendedGDBusMethodInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusSignalInfo parent_struct; 901s # const gchar *signal_name; 901s # } _ExtendedGDBusSignalInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusPropertyInfo parent_struct; 901s # const gchar *hyphen_name; 901s # guint use_gvariant : 1; 901s # guint emits_changed_signal : 1; 901s # } _ExtendedGDBusPropertyInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusInterfaceInfo parent_struct; 901s # const gchar *hyphen_name; 901s # } _ExtendedGDBusInterfaceInfo; 901s # 901s # typedef struct 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # guint prop_id; 901s # GValue orig_value; /* the value before the change */ 901s # } ChangedProperty; 901s # 901s # static void 901s # _changed_property_free (ChangedProperty *data) 901s # { 901s # g_value_unset (&data->orig_value); 901s # g_free (data); 901s # } 901s # 901s # static gboolean 901s # _g_strv_equal0 (gchar **a, gchar **b) 901s # { 901s # gboolean ret = FALSE; 901s # guint n; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # if (g_strv_length (a) != g_strv_length (b)) 901s # goto out; 901s # for (n = 0; a[n] != NULL; n++) 901s # if (g_strcmp0 (a[n], b[n]) != 0) 901s # goto out; 901s # ret = TRUE; 901s # out: 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _g_variant_equal0 (GVariant *a, GVariant *b) 901s # { 901s # gboolean ret = FALSE; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # ret = g_variant_equal (a, b); 901s # out: 901s # return ret; 901s # } 901s # 901s # G_GNUC_UNUSED static gboolean 901s # _g_value_equal (const GValue *a, const GValue *b) 901s # { 901s # gboolean ret = FALSE; 901s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 901s # switch (G_VALUE_TYPE (a)) 901s # { 901s # case G_TYPE_BOOLEAN: 901s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 901s # break; 901s # case G_TYPE_UCHAR: 901s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 901s # break; 901s # case G_TYPE_INT: 901s # ret = (g_value_get_int (a) == g_value_get_int (b)); 901s # break; 901s # case G_TYPE_UINT: 901s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 901s # break; 901s # case G_TYPE_INT64: 901s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 901s # break; 901s # case G_TYPE_UINT64: 901s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 901s # break; 901s # case G_TYPE_DOUBLE: 901s # { 901s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 901s # gdouble da = g_value_get_double (a); 901s # gdouble db = g_value_get_double (b); 901s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 901s # } 901s # break; 901s # case G_TYPE_STRING: 901s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 901s # break; 901s # case G_TYPE_VARIANT: 901s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 901s # break; 901s # default: 901s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 901s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 901s # else 901s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 901s # break; 901s # } 901s # return ret; 901s # } 901s # 901s # /* ------------------------------------------------------------------------ 901s # * Code for interface org.project.SignalingIface 901s # * ------------------------------------------------------------------------ 901s # */ 901s # 901s # /** 901s # * SECTION:OrgProjectSignalingIface 901s # * @title: OrgProjectSignalingIface 901s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 901s # * 901s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 901s # */ 901s # 901s # enum 901s # { 901s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 901s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 901s # }; 901s # 901s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 901s # 901s # /* ---- Introspection data for org.project.SignalingIface ---- */ 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SimpleSignal", 901s # NULL, 901s # NULL 901s # }, 901s # "simple-signal" 901s # }; 901s # 901s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 901s # { 901s # { 901s # -1, 901s # (gchar *) "arg_n", 901s # (gchar *) "n", 901s # NULL 901s # }, 901s # FALSE 901s # }; 901s # 901s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SingleArgSignalN", 901s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 901s # NULL 901s # }, 901s # "single-arg-signal-n" 901s # }; 901s # 901s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 901s # { 901s # { 901s # -1, 901s # (gchar *) "org.project.SignalingIface", 901s # NULL, 901s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 901s # NULL, 901s # NULL 901s # }, 901s # "org-project-signaling-iface", 901s # }; 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_interface_info: 901s # * 901s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 901s # * 901s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 901s # */ 901s # GDBusInterfaceInfo * 901s # org_project_signaling_iface_interface_info (void) 901s # { 901s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_override_properties: 901s # * @klass: The class structure for a #GObject derived class. 901s # * @property_id_begin: The property id to assign to the first overridden property. 901s # * 901s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 901s # * The properties are overridden in the order they are defined. 901s # * 901s # * Returns: The last property id. 901s # */ 901s # guint 901s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 901s # { 901s # return property_id_begin - 1; 901s # } 901s # 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_simple_signal ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__VOID (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__INT (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # 901s # /** 901s # * OrgProjectSignalingIface: 901s # * 901s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceIface: 901s # * @parent_iface: The parent interface. 901s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 901s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 901s # * 901s # * Virtual table for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 901s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 901s # 901s # static void 901s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # /* GObject signals for received D-Bus signals: */ 901s # /** 901s # * OrgProjectSignalingIface::simple-signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 901s # g_signal_new ("simple-signal", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_simple_signal, 901s # G_TYPE_NONE, 901s # 0); 901s # 901s # /** 901s # * OrgProjectSignalingIface::single-arg-signal-n: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_n: Argument. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 901s # g_signal_new ("single-arg-signal-n", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 901s # G_TYPE_NONE, 901s # 1, G_TYPE_INT); 901s # 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_simple_signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * Emits the "SimpleSignal" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_single_arg_signal_n: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_n: Argument to pass with the signal. 901s # * 901s # * Emits the "SingleArgSignalN" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_single_arg_signal_n ( 901s # OrgProjectSignalingIface *object, 901s # gint16 arg_arg_n) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 901s # } 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxy: 901s # * 901s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxyClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceProxy. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceProxyPrivate 901s # { 901s # GData *qdata; 901s # }; 901s # 901s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_proxy_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 901s # g_datalist_clear (&proxy->priv->qdata); 901s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # const GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 901s # const gchar *sender_name G_GNUC_UNUSED, 901s # const gchar *signal_name, 901s # GVariant *parameters) 901s # { 901s # _ExtendedGDBusSignalInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # gsize n; 901s # guint signal_id; 901s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 901s # if (info == NULL) 901s # return; 901s # num_params = g_variant_n_children (parameters); 901s # paramv = g_new0 (GValue, num_params + 1); 901s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[0], proxy); 901s # g_variant_iter_init (&iter, parameters); 901s # n = 1; 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_signal_emitv (paramv, signal_id, 0, NULL); 901s # for (n = 0; n < num_params + 1; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 901s # GVariant *changed_properties, 901s # const gchar *const *invalidated_properties) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 901s # guint n; 901s # const gchar *key; 901s # GVariantIter *iter; 901s # _ExtendedGDBusPropertyInfo *info; 901s # g_variant_get (changed_properties, "a{sv}", &iter); 901s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 901s # g_datalist_remove_data (&proxy->priv->qdata, key); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # g_variant_iter_free (iter); 901s # for (n = 0; invalidated_properties[n] != NULL; n++) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 901s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 901s # #else 901s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 901s # #endif 901s # 901s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusProxyClass *proxy_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 901s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 901s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 901s # 901s # proxy_class = G_DBUS_PROXY_CLASS (klass); 901s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 901s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_sync: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_sync ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new_for_bus ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_sync: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_sync ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeleton: 901s # * 901s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeletonClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceSkeletonPrivate 901s # { 901s # GValue *properties; 901s # GList *changed_properties; 901s # GSource *changed_properties_idle_source; 901s # GMainContext *context; 901s # GMutex lock; 901s # }; 901s # 901s # static void 901s # _org_project_signaling_iface_skeleton_handle_method_call ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name, 901s # const gchar *method_name, 901s # GVariant *parameters, 901s # GDBusMethodInvocation *invocation, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # _ExtendedGDBusMethodInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # guint num_extra; 901s # gsize n; 901s # guint signal_id; 901s # GValue return_value = G_VALUE_INIT; 901s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 901s # g_assert (info != NULL); 901s # num_params = g_variant_n_children (parameters); 901s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 901s # n = 0; 901s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[n++], skeleton); 901s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 901s # g_value_set_object (¶mv[n++], invocation); 901s # if (info->pass_fdlist) 901s # { 901s # #ifdef G_OS_UNIX 901s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 901s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 901s # #else 901s # g_assert_not_reached (); 901s # #endif 901s # } 901s # g_variant_iter_init (&iter, parameters); 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_init (&return_value, G_TYPE_BOOLEAN); 901s # g_signal_emitv (paramv, signal_id, 0, &return_value); 901s # if (!g_value_get_boolean (&return_value)) 901s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 901s # g_value_unset (&return_value); 901s # for (n = 0; n < num_params + num_extra; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static GVariant * 901s # _org_project_signaling_iface_skeleton_handle_get_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # GVariant *ret; 901s # ret = NULL; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # g_value_init (&value, pspec->value_type); 901s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 901s # g_value_unset (&value); 901s # } 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _org_project_signaling_iface_skeleton_handle_set_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GVariant *variant, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # gboolean ret; 901s # ret = FALSE; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # if (info->use_gvariant) 901s # g_value_set_variant (&value, variant); 901s # else 901s # g_dbus_gvariant_to_gvalue (variant, &value); 901s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # g_value_unset (&value); 901s # ret = TRUE; 901s # } 901s # return ret; 901s # } 901s # 901s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 901s # { 901s # _org_project_signaling_iface_skeleton_handle_method_call, 901s # _org_project_signaling_iface_skeleton_handle_get_property, 901s # _org_project_signaling_iface_skeleton_handle_set_property, 901s # {NULL} 901s # }; 901s # 901s # static GDBusInterfaceInfo * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return org_project_signaling_iface_interface_info (); 901s # } 901s # 901s # static GDBusInterfaceVTable * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 901s # } 901s # 901s # static GVariant * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 901s # 901s # GVariantBuilder builder; 901s # guint n; 901s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 901s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 901s # goto out; 901s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 901s # { 901s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 901s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 901s # { 901s # GVariant *value; 901s # 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); 901s # if (value != NULL) 901s # { 901s # g_variant_take_ref (value); 901s # g_variant_builder_add (&builder, "{sv}", info->name, value); 901s # g_variant_unref (value); 901s # } 901s # } 901s # } 901s # out: 901s # return g_variant_builder_end (&builder); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 901s # OrgProjectSignalingIface *object, 901s # gint16 arg_arg_n) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 901s # arg_arg_n)); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_skeleton_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 901s # if (skeleton->priv->changed_properties_idle_source != NULL) 901s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 901s # g_main_context_unref (skeleton->priv->context); 901s # g_mutex_clear (&skeleton->priv->lock); 901s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 901s # #else 901s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 901s # #endif 901s # 901s # g_mutex_init (&skeleton->priv->lock); 901s # skeleton->priv->context = g_main_context_ref_thread_default (); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusInterfaceSkeletonClass *skeleton_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 901s # 901s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 901s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 901s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 901s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 901s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 901s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_skeleton_new: 901s # * 901s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_skeleton_new (void) 901s # { 901s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 901s # } 901s # /tmp/tmpolwfuonj/tmpw19uljt6.xml: 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpolwfuonj/tmpw19uljt6.xml', '--output', '-', '--body'] 901s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: /* 901s # * This file is generated by gdbus-codegen, do not modify it. 901s # * 901s # * The license of this code is the same as for the D-Bus interface description 901s # * it was derived from. Note that it links to GLib, so must comply with the 901s # * LGPL linking clauses. 901s # */ 901s # 901s # #ifdef HAVE_CONFIG_H 901s # # include "config.h" 901s # #endif 901s # 901s # #include 901s # #ifdef G_OS_UNIX 901s # # include 901s # #endif 901s # 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # typedef struct 901s # { 901s # GDBusArgInfo parent_struct; 901s # gboolean use_gvariant; 901s # } _ExtendedGDBusArgInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusMethodInfo parent_struct; 901s # const gchar *signal_name; 901s # gboolean pass_fdlist; 901s # } _ExtendedGDBusMethodInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusSignalInfo parent_struct; 901s # const gchar *signal_name; 901s # } _ExtendedGDBusSignalInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusPropertyInfo parent_struct; 901s # const gchar *hyphen_name; 901s # guint use_gvariant : 1; 901s # guint emits_changed_signal : 1; 901s # } _ExtendedGDBusPropertyInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusInterfaceInfo parent_struct; 901s # const gchar *hyphen_name; 901s # } _ExtendedGDBusInterfaceInfo; 901s # 901s # typedef struct 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # guint prop_id; 901s # GValue orig_value; /* the value before the change */ 901s # } ChangedProperty; 901s # 901s # static void 901s # _changed_property_free (ChangedProperty *data) 901s # { 901s # g_value_unset (&data->orig_value); 901s # g_free (data); 901s # } 901s # 901s # static gboolean 901s # _g_strv_equal0 (gchar **a, gchar **b) 901s # { 901s # gboolean ret = FALSE; 901s # guint n; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # if (g_strv_length (a) != g_strv_length (b)) 901s # goto out; 901s # for (n = 0; a[n] != NULL; n++) 901s # if (g_strcmp0 (a[n], b[n]) != 0) 901s # goto out; 901s # ret = TRUE; 901s # out: 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _g_variant_equal0 (GVariant *a, GVariant *b) 901s # { 901s # gboolean ret = FALSE; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # ret = g_variant_equal (a, b); 901s # out: 901s # return ret; 901s # } 901s # 901s # G_GNUC_UNUSED static gboolean 901s # _g_value_equal (const GValue *a, const GValue *b) 901s # { 901s # gboolean ret = FALSE; 901s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 901s # switch (G_VALUE_TYPE (a)) 901s # { 901s # case G_TYPE_BOOLEAN: 901s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 901s # break; 901s # case G_TYPE_UCHAR: 901s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 901s # break; 901s # case G_TYPE_INT: 901s # ret = (g_value_get_int (a) == g_value_get_int (b)); 901s # break; 901s # case G_TYPE_UINT: 901s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 901s # break; 901s # case G_TYPE_INT64: 901s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 901s # break; 901s # case G_TYPE_UINT64: 901s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 901s # break; 901s # case G_TYPE_DOUBLE: 901s # { 901s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 901s # gdouble da = g_value_get_double (a); 901s # gdouble db = g_value_get_double (b); 901s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 901s # } 901s # break; 901s # case G_TYPE_STRING: 901s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 901s # break; 901s # case G_TYPE_VARIANT: 901s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 901s # break; 901s # default: 901s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 901s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 901s # else 901s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 901s # break; 901s # } 901s # return ret; 901s # } 901s # 901s # /* ------------------------------------------------------------------------ 901s # * Code for interface org.project.SignalingIface 901s # * ------------------------------------------------------------------------ 901s # */ 901s # 901s # /** 901s # * SECTION:OrgProjectSignalingIface 901s # * @title: OrgProjectSignalingIface 901s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 901s # * 901s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 901s # */ 901s # 901s # enum 901s # { 901s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 901s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 901s # }; 901s # 901s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 901s # 901s # /* ---- Introspection data for org.project.SignalingIface ---- */ 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SimpleSignal", 901s # NULL, 901s # NULL 901s # }, 901s # "simple-signal" 901s # }; 901s # 901s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 901s # { 901s # { 901s # -1, 901s # (gchar *) "arg_q", 901s # (gchar *) "q", 901s # NULL 901s # }, 901s # FALSE 901s # }; 901s # 901s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SingleArgSignalQ", 901s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 901s # NULL 901s # }, 901s # "single-arg-signal-q" 901s # }; 901s # 901s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 901s # { 901s # { 901s # -1, 901s # (gchar *) "org.project.SignalingIface", 901s # NULL, 901s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 901s # NULL, 901s # NULL 901s # }, 901s # "org-project-signaling-iface", 901s # }; 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_interface_info: 901s # * 901s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 901s # * 901s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 901s # */ 901s # GDBusInterfaceInfo * 901s # org_project_signaling_iface_interface_info (void) 901s # { 901s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_override_properties: 901s # * @klass: The class structure for a #GObject derived class. 901s # * @property_id_begin: The property id to assign to the first overridden property. 901s # * 901s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 901s # * The properties are overridden in the order they are defined. 901s # * 901s # * Returns: The last property id. 901s # */ 901s # guint 901s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 901s # { 901s # return property_id_begin - 1; 901s # } 901s # 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_simple_signal ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__VOID (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__UINT (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # 901s # /** 901s # * OrgProjectSignalingIface: 901s # * 901s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceIface: 901s # * @parent_iface: The parent interface. 901s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 901s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 901s # * 901s # * Virtual table for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 901s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 901s # 901s # static void 901s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # /* GObject signals for received D-Bus signals: */ 901s # /** 901s # * OrgProjectSignalingIface::simple-signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 901s # g_signal_new ("simple-signal", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_simple_signal, 901s # G_TYPE_NONE, 901s # 0); 901s # 901s # /** 901s # * OrgProjectSignalingIface::single-arg-signal-q: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_q: Argument. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 901s # g_signal_new ("single-arg-signal-q", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 901s # G_TYPE_NONE, 901s # 1, G_TYPE_UINT); 901s # 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_simple_signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * Emits the "SimpleSignal" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_single_arg_signal_q: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_q: Argument to pass with the signal. 901s # * 901s # * Emits the "SingleArgSignalQ" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_single_arg_signal_q ( 901s # OrgProjectSignalingIface *object, 901s # guint16 arg_arg_q) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 901s # } 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxy: 901s # * 901s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxyClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceProxy. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceProxyPrivate 901s # { 901s # GData *qdata; 901s # }; 901s # 901s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_proxy_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 901s # g_datalist_clear (&proxy->priv->qdata); 901s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # const GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 901s # const gchar *sender_name G_GNUC_UNUSED, 901s # const gchar *signal_name, 901s # GVariant *parameters) 901s # { 901s # _ExtendedGDBusSignalInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # gsize n; 901s # guint signal_id; 901s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 901s # if (info == NULL) 901s # return; 901s # num_params = g_variant_n_children (parameters); 901s # paramv = g_new0 (GValue, num_params + 1); 901s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[0], proxy); 901s # g_variant_iter_init (&iter, parameters); 901s # n = 1; 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_signal_emitv (paramv, signal_id, 0, NULL); 901s # for (n = 0; n < num_params + 1; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 901s # GVariant *changed_properties, 901s # const gchar *const *invalidated_properties) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 901s # guint n; 901s # const gchar *key; 901s # GVariantIter *iter; 901s # _ExtendedGDBusPropertyInfo *info; 901s # g_variant_get (changed_properties, "a{sv}", &iter); 901s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 901s # g_datalist_remove_data (&proxy->priv->qdata, key); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # g_variant_iter_free (iter); 901s # for (n = 0; invalidated_properties[n] != NULL; n++) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 901s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 901s # #else 901s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 901s # #endif 901s # 901s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusProxyClass *proxy_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 901s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 901s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 901s # 901s # proxy_class = G_DBUS_PROXY_CLASS (klass); 901s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 901s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_sync: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_sync ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new_for_bus ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_sync: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_sync ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeleton: 901s # * 901s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeletonClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceSkeletonPrivate 901s # { 901s # GValue *properties; 901s # GList *changed_properties; 901s # GSource *changed_properties_idle_source; 901s # GMainContext *context; 901s # GMutex lock; 901s # }; 901s # 901s # static void 901s # _org_project_signaling_iface_skeleton_handle_method_call ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name, 901s # const gchar *method_name, 901s # GVariant *parameters, 901s # GDBusMethodInvocation *invocation, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # _ExtendedGDBusMethodInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # guint num_extra; 901s # gsize n; 901s # guint signal_id; 901s # GValue return_value = G_VALUE_INIT; 901s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 901s # g_assert (info != NULL); 901s # num_params = g_variant_n_children (parameters); 901s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 901s # n = 0; 901s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[n++], skeleton); 901s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 901s # g_value_set_object (¶mv[n++], invocation); 901s # if (info->pass_fdlist) 901s # { 901s # #ifdef G_OS_UNIX 901s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 901s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 901s # #else 901s # g_assert_not_reached (); 901s # #endif 901s # } 901s # g_variant_iter_init (&iter, parameters); 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_init (&return_value, G_TYPE_BOOLEAN); 901s # g_signal_emitv (paramv, signal_id, 0, &return_value); 901s # if (!g_value_get_boolean (&return_value)) 901s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 901s # g_value_unset (&return_value); 901s # for (n = 0; n < num_params + num_extra; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static GVariant * 901s # _org_project_signaling_iface_skeleton_handle_get_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # GVariant *ret; 901s # ret = NULL; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # g_value_init (&value, pspec->value_type); 901s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 901s # g_value_unset (&value); 901s # } 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _org_project_signaling_iface_skeleton_handle_set_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GVariant *variant, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # gboolean ret; 901s # ret = FALSE; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # if (info->use_gvariant) 901s # g_value_set_variant (&value, variant); 901s # else 901s # g_dbus_gvariant_to_gvalue (variant, &value); 901s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # g_value_unset (&value); 901s # ret = TRUE; 901s # } 901s # return ret; 901s # } 901s # 901s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 901s # { 901s # _org_project_signaling_iface_skeleton_handle_method_call, 901s # _org_project_signaling_iface_skeleton_handle_get_property, 901s # _org_project_signaling_iface_skeleton_handle_set_property, 901s # {NULL} 901s # }; 901s # 901s # static GDBusInterfaceInfo * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return org_project_signaling_iface_interface_info (); 901s # } 901s # 901s # static GDBusInterfaceVTable * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 901s # } 901s # 901s # static GVariant * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 901s # 901s # GVariantBuilder builder; 901s # guint n; 901s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 901s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 901s # goto out; 901s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 901s # { 901s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 901s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 901s # { 901s # GVariant *value; 901s # 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); 901s # if (value != NULL) 901s # { 901s # g_variant_take_ref (value); 901s # g_variant_builder_add (&builder, "{sv}", info->name, value); 901s # g_variant_unref (value); 901s # } 901s # } 901s # } 901s # out: 901s # return g_variant_builder_end (&builder); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 901s # OrgProjectSignalingIface *object, 901s # guint16 arg_arg_q) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 901s # arg_arg_q)); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_skeleton_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 901s # if (skeleton->priv->changed_properties_idle_source != NULL) 901s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 901s # g_main_context_unref (skeleton->priv->context); 901s # g_mutex_clear (&skeleton->priv->lock); 901s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 901s # #else 901s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 901s # #endif 901s # 901s # g_mutex_init (&skeleton->priv->lock); 901s # skeleton->priv->context = g_main_context_ref_thread_default (); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusInterfaceSkeletonClass *skeleton_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 901s # 901s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 901s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 901s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 901s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 901s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 901s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_skeleton_new: 901s # * 901s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_skeleton_new (void) 901s # { 901s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 901s # } 901s # /tmp/tmpolwfuonj/tmplbgstij7.xml: 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpolwfuonj/tmplbgstij7.xml', '--output', '-', '--body'] 901s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: /* 901s # * This file is generated by gdbus-codegen, do not modify it. 901s # * 901s # * The license of this code is the same as for the D-Bus interface description 901s # * it was derived from. Note that it links to GLib, so must comply with the 901s # * LGPL linking clauses. 901s # */ 901s # 901s # #ifdef HAVE_CONFIG_H 901s # # include "config.h" 901s # #endif 901s # 901s # #include 901s # #ifdef G_OS_UNIX 901s # # include 901s # #endif 901s # 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # typedef struct 901s # { 901s # GDBusArgInfo parent_struct; 901s # gboolean use_gvariant; 901s # } _ExtendedGDBusArgInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusMethodInfo parent_struct; 901s # const gchar *signal_name; 901s # gboolean pass_fdlist; 901s # } _ExtendedGDBusMethodInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusSignalInfo parent_struct; 901s # const gchar *signal_name; 901s # } _ExtendedGDBusSignalInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusPropertyInfo parent_struct; 901s # const gchar *hyphen_name; 901s # guint use_gvariant : 1; 901s # guint emits_changed_signal : 1; 901s # } _ExtendedGDBusPropertyInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusInterfaceInfo parent_struct; 901s # const gchar *hyphen_name; 901s # } _ExtendedGDBusInterfaceInfo; 901s # 901s # typedef struct 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # guint prop_id; 901s # GValue orig_value; /* the value before the change */ 901s # } ChangedProperty; 901s # 901s # static void 901s # _changed_property_free (ChangedProperty *data) 901s # { 901s # g_value_unset (&data->orig_value); 901s # g_free (data); 901s # } 901s # 901s # static gboolean 901s # _g_strv_equal0 (gchar **a, gchar **b) 901s # { 901s # gboolean ret = FALSE; 901s # guint n; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # if (g_strv_length (a) != g_strv_length (b)) 901s # goto out; 901s # for (n = 0; a[n] != NULL; n++) 901s # if (g_strcmp0 (a[n], b[n]) != 0) 901s # goto out; 901s # ret = TRUE; 901s # out: 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _g_variant_equal0 (GVariant *a, GVariant *b) 901s # { 901s # gboolean ret = FALSE; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # ret = g_variant_equal (a, b); 901s # out: 901s # return ret; 901s # } 901s # 901s # G_GNUC_UNUSED static gboolean 901s # _g_value_equal (const GValue *a, const GValue *b) 901s # { 901s # gboolean ret = FALSE; 901s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 901s # switch (G_VALUE_TYPE (a)) 901s # { 901s # case G_TYPE_BOOLEAN: 901s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 901s # break; 901s # case G_TYPE_UCHAR: 901s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 901s # break; 901s # case G_TYPE_INT: 901s # ret = (g_value_get_int (a) == g_value_get_int (b)); 901s # break; 901s # case G_TYPE_UINT: 901s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 901s # break; 901s # case G_TYPE_INT64: 901s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 901s # break; 901s # case G_TYPE_UINT64: 901s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 901s # break; 901s # case G_TYPE_DOUBLE: 901s # { 901s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 901s # gdouble da = g_value_get_double (a); 901s # gdouble db = g_value_get_double (b); 901s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 901s # } 901s # break; 901s # case G_TYPE_STRING: 901s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 901s # break; 901s # case G_TYPE_VARIANT: 901s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 901s # break; 901s # default: 901s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 901s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 901s # else 901s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 901s # break; 901s # } 901s # return ret; 901s # } 901s # 901s # /* ------------------------------------------------------------------------ 901s # * Code for interface org.project.SignalingIface 901s # * ------------------------------------------------------------------------ 901s # */ 901s # 901s # /** 901s # * SECTION:OrgProjectSignalingIface 901s # * @title: OrgProjectSignalingIface 901s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 901s # * 901s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 901s # */ 901s # 901s # enum 901s # { 901s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 901s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 901s # }; 901s # 901s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 901s # 901s # /* ---- Introspection data for org.project.SignalingIface ---- */ 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SimpleSignal", 901s # NULL, 901s # NULL 901s # }, 901s # "simple-signal" 901s # }; 901s # 901s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 901s # { 901s # { 901s # -1, 901s # (gchar *) "arg_i", 901s # (gchar *) "i", 901s # NULL 901s # }, 901s # FALSE 901s # }; 901s # 901s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SingleArgSignalI", 901s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 901s # NULL 901s # }, 901s # "single-arg-signal-i" 901s # }; 901s # 901s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 901s # { 901s # { 901s # -1, 901s # (gchar *) "org.project.SignalingIface", 901s # NULL, 901s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 901s # NULL, 901s # NULL 901s # }, 901s # "org-project-signaling-iface", 901s # }; 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_interface_info: 901s # * 901s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 901s # * 901s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 901s # */ 901s # GDBusInterfaceInfo * 901s # org_project_signaling_iface_interface_info (void) 901s # { 901s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_override_properties: 901s # * @klass: The class structure for a #GObject derived class. 901s # * @property_id_begin: The property id to assign to the first overridden property. 901s # * 901s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 901s # * The properties are overridden in the order they are defined. 901s # * 901s # * Returns: The last property id. 901s # */ 901s # guint 901s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 901s # { 901s # return property_id_begin - 1; 901s # } 901s # 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_simple_signal ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__VOID (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__INT (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # 901s # /** 901s # * OrgProjectSignalingIface: 901s # * 901s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceIface: 901s # * @parent_iface: The parent interface. 901s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 901s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 901s # * 901s # * Virtual table for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 901s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 901s # 901s # static void 901s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # /* GObject signals for received D-Bus signals: */ 901s # /** 901s # * OrgProjectSignalingIface::simple-signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 901s # g_signal_new ("simple-signal", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_simple_signal, 901s # G_TYPE_NONE, 901s # 0); 901s # 901s # /** 901s # * OrgProjectSignalingIface::single-arg-signal-i: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_i: Argument. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 901s # g_signal_new ("single-arg-signal-i", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 901s # G_TYPE_NONE, 901s # 1, G_TYPE_INT); 901s # 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_simple_signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * Emits the "SimpleSignal" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_single_arg_signal_i: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_i: Argument to pass with the signal. 901s # * 901s # * Emits the "SingleArgSignalI" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_single_arg_signal_i ( 901s # OrgProjectSignalingIface *object, 901s # gint arg_arg_i) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 901s # } 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxy: 901s # * 901s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxyClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceProxy. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceProxyPrivate 901s # { 901s # GData *qdata; 901s # }; 901s # 901s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_proxy_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 901s # g_datalist_clear (&proxy->priv->qdata); 901s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # const GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 901s # const gchar *sender_name G_GNUC_UNUSED, 901s # const gchar *signal_name, 901s # GVariant *parameters) 901s # { 901s # _ExtendedGDBusSignalInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # gsize n; 901s # guint signal_id; 901s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 901s # if (info == NULL) 901s # return; 901s # num_params = g_variant_n_children (parameters); 901s # paramv = g_new0 (GValue, num_params + 1); 901s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[0], proxy); 901s # g_variant_iter_init (&iter, parameters); 901s # n = 1; 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_signal_emitv (paramv, signal_id, 0, NULL); 901s # for (n = 0; n < num_params + 1; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 901s # GVariant *changed_properties, 901s # const gchar *const *invalidated_properties) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 901s # guint n; 901s # const gchar *key; 901s # GVariantIter *iter; 901s # _ExtendedGDBusPropertyInfo *info; 901s # g_variant_get (changed_properties, "a{sv}", &iter); 901s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 901s # g_datalist_remove_data (&proxy->priv->qdata, key); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # g_variant_iter_free (iter); 901s # for (n = 0; invalidated_properties[n] != NULL; n++) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 901s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 901s # #else 901s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 901s # #endif 901s # 901s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusProxyClass *proxy_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 901s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 901s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 901s # 901s # proxy_class = G_DBUS_PROXY_CLASS (klass); 901s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 901s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_sync: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_sync ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new_for_bus ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_sync: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_sync ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeleton: 901s # * 901s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeletonClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceSkeletonPrivate 901s # { 901s # GValue *properties; 901s # GList *changed_properties; 901s # GSource *changed_properties_idle_source; 901s # GMainContext *context; 901s # GMutex lock; 901s # }; 901s # 901s # static void 901s # _org_project_signaling_iface_skeleton_handle_method_call ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name, 901s # const gchar *method_name, 901s # GVariant *parameters, 901s # GDBusMethodInvocation *invocation, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # _ExtendedGDBusMethodInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # guint num_extra; 901s # gsize n; 901s # guint signal_id; 901s # GValue return_value = G_VALUE_INIT; 901s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 901s # g_assert (info != NULL); 901s # num_params = g_variant_n_children (parameters); 901s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 901s # n = 0; 901s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[n++], skeleton); 901s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 901s # g_value_set_object (¶mv[n++], invocation); 901s # if (info->pass_fdlist) 901s # { 901s # #ifdef G_OS_UNIX 901s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 901s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 901s # #else 901s # g_assert_not_reached (); 901s # #endif 901s # } 901s # g_variant_iter_init (&iter, parameters); 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_init (&return_value, G_TYPE_BOOLEAN); 901s # g_signal_emitv (paramv, signal_id, 0, &return_value); 901s # if (!g_value_get_boolean (&return_value)) 901s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 901s # g_value_unset (&return_value); 901s # for (n = 0; n < num_params + num_extra; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static GVariant * 901s # _org_project_signaling_iface_skeleton_handle_get_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # GVariant *ret; 901s # ret = NULL; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # g_value_init (&value, pspec->value_type); 901s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 901s # g_value_unset (&value); 901s # } 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _org_project_signaling_iface_skeleton_handle_set_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GVariant *variant, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # gboolean ret; 901s # ret = FALSE; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # if (info->use_gvariant) 901s # g_value_set_variant (&value, variant); 901s # else 901s # g_dbus_gvariant_to_gvalue (variant, &value); 901s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # g_value_unset (&value); 901s # ret = TRUE; 901s # } 901s # return ret; 901s # } 901s # 901s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 901s # { 901s # _org_project_signaling_iface_skeleton_handle_method_call, 901s # _org_project_signaling_iface_skeleton_handle_get_property, 901s # _org_project_signaling_iface_skeleton_handle_set_property, 901s # {NULL} 901s # }; 901s # 901s # static GDBusInterfaceInfo * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return org_project_signaling_iface_interface_info (); 901s # } 901s # 901s # static GDBusInterfaceVTable * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 901s # } 901s # 901s # static GVariant * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 901s # 901s # GVariantBuilder builder; 901s # guint n; 901s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 901s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 901s # goto out; 901s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 901s # { 901s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 901s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 901s # { 901s # GVariant *value; 901s # 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); 901s # if (value != NULL) 901s # { 901s # g_variant_take_ref (value); 901s # g_variant_builder_add (&builder, "{sv}", info->name, value); 901s # g_variant_unref (value); 901s # } 901s # } 901s # } 901s # out: 901s # return g_variant_builder_end (&builder); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 901s # OrgProjectSignalingIface *object, 901s # gint arg_arg_i) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 901s # arg_arg_i)); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_skeleton_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 901s # if (skeleton->priv->changed_properties_idle_source != NULL) 901s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 901s # g_main_context_unref (skeleton->priv->context); 901s # g_mutex_clear (&skeleton->priv->lock); 901s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 901s # #else 901s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 901s # #endif 901s # 901s # g_mutex_init (&skeleton->priv->lock); 901s # skeleton->priv->context = g_main_context_ref_thread_default (); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusInterfaceSkeletonClass *skeleton_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 901s # 901s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 901s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 901s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 901s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 901s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 901s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_skeleton_new: 901s # * 901s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_skeleton_new (void) 901s # { 901s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 901s # } 901s # /tmp/tmpolwfuonj/tmpqc99pzq5.xml: 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpolwfuonj/tmpqc99pzq5.xml', '--output', '-', '--body'] 901s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: /* 901s # * This file is generated by gdbus-codegen, do not modify it. 901s # * 901s # * The license of this code is the same as for the D-Bus interface description 901s # * it was derived from. Note that it links to GLib, so must comply with the 901s # * LGPL linking clauses. 901s # */ 901s # 901s # #ifdef HAVE_CONFIG_H 901s # # include "config.h" 901s # #endif 901s # 901s # #include 901s # #ifdef G_OS_UNIX 901s # # include 901s # #endif 901s # 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # typedef struct 901s # { 901s # GDBusArgInfo parent_struct; 901s # gboolean use_gvariant; 901s # } _ExtendedGDBusArgInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusMethodInfo parent_struct; 901s # const gchar *signal_name; 901s # gboolean pass_fdlist; 901s # } _ExtendedGDBusMethodInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusSignalInfo parent_struct; 901s # const gchar *signal_name; 901s # } _ExtendedGDBusSignalInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusPropertyInfo parent_struct; 901s # const gchar *hyphen_name; 901s # guint use_gvariant : 1; 901s # guint emits_changed_signal : 1; 901s # } _ExtendedGDBusPropertyInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusInterfaceInfo parent_struct; 901s # const gchar *hyphen_name; 901s # } _ExtendedGDBusInterfaceInfo; 901s # 901s # typedef struct 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # guint prop_id; 901s # GValue orig_value; /* the value before the change */ 901s # } ChangedProperty; 901s # 901s # static void 901s # _changed_property_free (ChangedProperty *data) 901s # { 901s # g_value_unset (&data->orig_value); 901s # g_free (data); 901s # } 901s # 901s # static gboolean 901s # _g_strv_equal0 (gchar **a, gchar **b) 901s # { 901s # gboolean ret = FALSE; 901s # guint n; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # if (g_strv_length (a) != g_strv_length (b)) 901s # goto out; 901s # for (n = 0; a[n] != NULL; n++) 901s # if (g_strcmp0 (a[n], b[n]) != 0) 901s # goto out; 901s # ret = TRUE; 901s # out: 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _g_variant_equal0 (GVariant *a, GVariant *b) 901s # { 901s # gboolean ret = FALSE; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # ret = g_variant_equal (a, b); 901s # out: 901s # return ret; 901s # } 901s # 901s # G_GNUC_UNUSED static gboolean 901s # _g_value_equal (const GValue *a, const GValue *b) 901s # { 901s # gboolean ret = FALSE; 901s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 901s # switch (G_VALUE_TYPE (a)) 901s # { 901s # case G_TYPE_BOOLEAN: 901s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 901s # break; 901s # case G_TYPE_UCHAR: 901s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 901s # break; 901s # case G_TYPE_INT: 901s # ret = (g_value_get_int (a) == g_value_get_int (b)); 901s # break; 901s # case G_TYPE_UINT: 901s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 901s # break; 901s # case G_TYPE_INT64: 901s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 901s # break; 901s # case G_TYPE_UINT64: 901s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 901s # break; 901s # case G_TYPE_DOUBLE: 901s # { 901s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 901s # gdouble da = g_value_get_double (a); 901s # gdouble db = g_value_get_double (b); 901s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 901s # } 901s # break; 901s # case G_TYPE_STRING: 901s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 901s # break; 901s # case G_TYPE_VARIANT: 901s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 901s # break; 901s # default: 901s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 901s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 901s # else 901s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 901s # break; 901s # } 901s # return ret; 901s # } 901s # 901s # /* ------------------------------------------------------------------------ 901s # * Code for interface org.project.SignalingIface 901s # * ------------------------------------------------------------------------ 901s # */ 901s # 901s # /** 901s # * SECTION:OrgProjectSignalingIface 901s # * @title: OrgProjectSignalingIface 901s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 901s # * 901s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 901s # */ 901s # 901s # enum 901s # { 901s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 901s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 901s # }; 901s # 901s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 901s # 901s # /* ---- Introspection data for org.project.SignalingIface ---- */ 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SimpleSignal", 901s # NULL, 901s # NULL 901s # }, 901s # "simple-signal" 901s # }; 901s # 901s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 901s # { 901s # { 901s # -1, 901s # (gchar *) "arg_u", 901s # (gchar *) "u", 901s # NULL 901s # }, 901s # FALSE 901s # }; 901s # 901s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SingleArgSignalU", 901s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 901s # NULL 901s # }, 901s # "single-arg-signal-u" 901s # }; 901s # 901s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 901s # { 901s # { 901s # -1, 901s # (gchar *) "org.project.SignalingIface", 901s # NULL, 901s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 901s # NULL, 901s # NULL 901s # }, 901s # "org-project-signaling-iface", 901s # }; 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_interface_info: 901s # * 901s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 901s # * 901s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 901s # */ 901s # GDBusInterfaceInfo * 901s # org_project_signaling_iface_interface_info (void) 901s # { 901s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_override_properties: 901s # * @klass: The class structure for a #GObject derived class. 901s # * @property_id_begin: The property id to assign to the first overridden property. 901s # * 901s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 901s # * The properties are overridden in the order they are defined. 901s # * 901s # * Returns: The last property id. 901s # */ 901s # guint 901s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 901s # { 901s # return property_id_begin - 1; 901s # } 901s # 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_simple_signal ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__VOID (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__UINT (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # 901s # /** 901s # * OrgProjectSignalingIface: 901s # * 901s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceIface: 901s # * @parent_iface: The parent interface. 901s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 901s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 901s # * 901s # * Virtual table for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 901s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 901s # 901s # static void 901s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # /* GObject signals for received D-Bus signals: */ 901s # /** 901s # * OrgProjectSignalingIface::simple-signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 901s # g_signal_new ("simple-signal", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_simple_signal, 901s # G_TYPE_NONE, 901s # 0); 901s # 901s # /** 901s # * OrgProjectSignalingIface::single-arg-signal-u: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_u: Argument. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 901s # g_signal_new ("single-arg-signal-u", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 901s # G_TYPE_NONE, 901s # 1, G_TYPE_UINT); 901s # 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_simple_signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * Emits the "SimpleSignal" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_single_arg_signal_u: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_u: Argument to pass with the signal. 901s # * 901s # * Emits the "SingleArgSignalU" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_single_arg_signal_u ( 901s # OrgProjectSignalingIface *object, 901s # guint arg_arg_u) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 901s # } 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxy: 901s # * 901s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxyClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceProxy. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceProxyPrivate 901s # { 901s # GData *qdata; 901s # }; 901s # 901s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_proxy_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 901s # g_datalist_clear (&proxy->priv->qdata); 901s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # const GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 901s # const gchar *sender_name G_GNUC_UNUSED, 901s # const gchar *signal_name, 901s # GVariant *parameters) 901s # { 901s # _ExtendedGDBusSignalInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # gsize n; 901s # guint signal_id; 901s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 901s # if (info == NULL) 901s # return; 901s # num_params = g_variant_n_children (parameters); 901s # paramv = g_new0 (GValue, num_params + 1); 901s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[0], proxy); 901s # g_variant_iter_init (&iter, parameters); 901s # n = 1; 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_signal_emitv (paramv, signal_id, 0, NULL); 901s # for (n = 0; n < num_params + 1; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 901s # GVariant *changed_properties, 901s # const gchar *const *invalidated_properties) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 901s # guint n; 901s # const gchar *key; 901s # GVariantIter *iter; 901s # _ExtendedGDBusPropertyInfo *info; 901s # g_variant_get (changed_properties, "a{sv}", &iter); 901s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 901s # g_datalist_remove_data (&proxy->priv->qdata, key); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # g_variant_iter_free (iter); 901s # for (n = 0; invalidated_properties[n] != NULL; n++) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 901s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 901s # #else 901s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 901s # #endif 901s # 901s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusProxyClass *proxy_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 901s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 901s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 901s # 901s # proxy_class = G_DBUS_PROXY_CLASS (klass); 901s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 901s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_sync: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_sync ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new_for_bus ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_sync: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_sync ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeleton: 901s # * 901s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeletonClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceSkeletonPrivate 901s # { 901s # GValue *properties; 901s # GList *changed_properties; 901s # GSource *changed_properties_idle_source; 901s # GMainContext *context; 901s # GMutex lock; 901s # }; 901s # 901s # static void 901s # _org_project_signaling_iface_skeleton_handle_method_call ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name, 901s # const gchar *method_name, 901s # GVariant *parameters, 901s # GDBusMethodInvocation *invocation, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # _ExtendedGDBusMethodInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # guint num_extra; 901s # gsize n; 901s # guint signal_id; 901s # GValue return_value = G_VALUE_INIT; 901s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 901s # g_assert (info != NULL); 901s # num_params = g_variant_n_children (parameters); 901s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 901s # n = 0; 901s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[n++], skeleton); 901s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 901s # g_value_set_object (¶mv[n++], invocation); 901s # if (info->pass_fdlist) 901s # { 901s # #ifdef G_OS_UNIX 901s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 901s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 901s # #else 901s # g_assert_not_reached (); 901s # #endif 901s # } 901s # g_variant_iter_init (&iter, parameters); 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_init (&return_value, G_TYPE_BOOLEAN); 901s # g_signal_emitv (paramv, signal_id, 0, &return_value); 901s # if (!g_value_get_boolean (&return_value)) 901s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 901s # g_value_unset (&return_value); 901s # for (n = 0; n < num_params + num_extra; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static GVariant * 901s # _org_project_signaling_iface_skeleton_handle_get_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # GVariant *ret; 901s # ret = NULL; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # g_value_init (&value, pspec->value_type); 901s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 901s # g_value_unset (&value); 901s # } 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _org_project_signaling_iface_skeleton_handle_set_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GVariant *variant, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # gboolean ret; 901s # ret = FALSE; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # if (info->use_gvariant) 901s # g_value_set_variant (&value, variant); 901s # else 901s # g_dbus_gvariant_to_gvalue (variant, &value); 901s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # g_value_unset (&value); 901s # ret = TRUE; 901s # } 901s # return ret; 901s # } 901s # 901s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 901s # { 901s # _org_project_signaling_iface_skeleton_handle_method_call, 901s # _org_project_signaling_iface_skeleton_handle_get_property, 901s # _org_project_signaling_iface_skeleton_handle_set_property, 901s # {NULL} 901s # }; 901s # 901s # static GDBusInterfaceInfo * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return org_project_signaling_iface_interface_info (); 901s # } 901s # 901s # static GDBusInterfaceVTable * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 901s # } 901s # 901s # static GVariant * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 901s # 901s # GVariantBuilder builder; 901s # guint n; 901s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 901s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 901s # goto out; 901s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 901s # { 901s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 901s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 901s # { 901s # GVariant *value; 901s # 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); 901s # if (value != NULL) 901s # { 901s # g_variant_take_ref (value); 901s # g_variant_builder_add (&builder, "{sv}", info->name, value); 901s # g_variant_unref (value); 901s # } 901s # } 901s # } 901s # out: 901s # return g_variant_builder_end (&builder); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 901s # OrgProjectSignalingIface *object, 901s # guint arg_arg_u) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 901s # arg_arg_u)); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_skeleton_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 901s # if (skeleton->priv->changed_properties_idle_source != NULL) 901s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 901s # g_main_context_unref (skeleton->priv->context); 901s # g_mutex_clear (&skeleton->priv->lock); 901s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 901s # #else 901s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 901s # #endif 901s # 901s # g_mutex_init (&skeleton->priv->lock); 901s # skeleton->priv->context = g_main_context_ref_thread_default (); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusInterfaceSkeletonClass *skeleton_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 901s # 901s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 901s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 901s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 901s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 901s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 901s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_skeleton_new: 901s # * 901s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_skeleton_new (void) 901s # { 901s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 901s # } 901s # /tmp/tmpolwfuonj/tmplrlt9y_6.xml: 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpolwfuonj/tmplrlt9y_6.xml', '--output', '-', '--body'] 901s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: /* 901s # * This file is generated by gdbus-codegen, do not modify it. 901s # * 901s # * The license of this code is the same as for the D-Bus interface description 901s # * it was derived from. Note that it links to GLib, so must comply with the 901s # * LGPL linking clauses. 901s # */ 901s # 901s # #ifdef HAVE_CONFIG_H 901s # # include "config.h" 901s # #endif 901s # 901s # #include 901s # #ifdef G_OS_UNIX 901s # # include 901s # #endif 901s # 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # typedef struct 901s # { 901s # GDBusArgInfo parent_struct; 901s # gboolean use_gvariant; 901s # } _ExtendedGDBusArgInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusMethodInfo parent_struct; 901s # const gchar *signal_name; 901s # gboolean pass_fdlist; 901s # } _ExtendedGDBusMethodInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusSignalInfo parent_struct; 901s # const gchar *signal_name; 901s # } _ExtendedGDBusSignalInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusPropertyInfo parent_struct; 901s # const gchar *hyphen_name; 901s # guint use_gvariant : 1; 901s # guint emits_changed_signal : 1; 901s # } _ExtendedGDBusPropertyInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusInterfaceInfo parent_struct; 901s # const gchar *hyphen_name; 901s # } _ExtendedGDBusInterfaceInfo; 901s # 901s # typedef struct 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # guint prop_id; 901s # GValue orig_value; /* the value before the change */ 901s # } ChangedProperty; 901s # 901s # static void 901s # _changed_property_free (ChangedProperty *data) 901s # { 901s # g_value_unset (&data->orig_value); 901s # g_free (data); 901s # } 901s # 901s # static gboolean 901s # _g_strv_equal0 (gchar **a, gchar **b) 901s # { 901s # gboolean ret = FALSE; 901s # guint n; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # if (g_strv_length (a) != g_strv_length (b)) 901s # goto out; 901s # for (n = 0; a[n] != NULL; n++) 901s # if (g_strcmp0 (a[n], b[n]) != 0) 901s # goto out; 901s # ret = TRUE; 901s # out: 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _g_variant_equal0 (GVariant *a, GVariant *b) 901s # { 901s # gboolean ret = FALSE; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # ret = g_variant_equal (a, b); 901s # out: 901s # return ret; 901s # } 901s # 901s # G_GNUC_UNUSED static gboolean 901s # _g_value_equal (const GValue *a, const GValue *b) 901s # { 901s # gboolean ret = FALSE; 901s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 901s # switch (G_VALUE_TYPE (a)) 901s # { 901s # case G_TYPE_BOOLEAN: 901s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 901s # break; 901s # case G_TYPE_UCHAR: 901s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 901s # break; 901s # case G_TYPE_INT: 901s # ret = (g_value_get_int (a) == g_value_get_int (b)); 901s # break; 901s # case G_TYPE_UINT: 901s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 901s # break; 901s # case G_TYPE_INT64: 901s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 901s # break; 901s # case G_TYPE_UINT64: 901s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 901s # break; 901s # case G_TYPE_DOUBLE: 901s # { 901s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 901s # gdouble da = g_value_get_double (a); 901s # gdouble db = g_value_get_double (b); 901s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 901s # } 901s # break; 901s # case G_TYPE_STRING: 901s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 901s # break; 901s # case G_TYPE_VARIANT: 901s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 901s # break; 901s # default: 901s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 901s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 901s # else 901s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 901s # break; 901s # } 901s # return ret; 901s # } 901s # 901s # static void 901s # _g_dbus_codegen_marshal_VOID__INT64 ( 901s # GClosure *closure, 901s # GValue *return_value G_GNUC_UNUSED, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint G_GNUC_UNUSED, 901s # void *marshal_data) 901s # { 901s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 901s # (void *data1, 901s # gint64 arg_arg_x, 901s # void *data2); 901s # _GDbusCodegenMarshalVoid_Int64Func callback; 901s # GCClosure *cc = (GCClosure*) closure; 901s # void *data1, *data2; 901s # 901s # g_return_if_fail (n_param_values == 2); 901s # 901s # if (G_CCLOSURE_SWAP_DATA (closure)) 901s # { 901s # data1 = closure->data; 901s # data2 = g_value_peek_pointer (param_values + 0); 901s # } 901s # else 901s # { 901s # data1 = g_value_peek_pointer (param_values + 0); 901s # data2 = closure->data; 901s # } 901s # 901s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 901s # (marshal_data ? marshal_data : cc->callback); 901s # 901s # callback (data1, 901s # g_marshal_value_peek_int64 (param_values + 1), 901s # data2); 901s # } 901s # 901s # /* ------------------------------------------------------------------------ 901s # * Code for interface org.project.SignalingIface 901s # * ------------------------------------------------------------------------ 901s # */ 901s # 901s # /** 901s # * SECTION:OrgProjectSignalingIface 901s # * @title: OrgProjectSignalingIface 901s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 901s # * 901s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 901s # */ 901s # 901s # enum 901s # { 901s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 901s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 901s # }; 901s # 901s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 901s # 901s # /* ---- Introspection data for org.project.SignalingIface ---- */ 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SimpleSignal", 901s # NULL, 901s # NULL 901s # }, 901s # "simple-signal" 901s # }; 901s # 901s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 901s # { 901s # { 901s # -1, 901s # (gchar *) "arg_x", 901s # (gchar *) "x", 901s # NULL 901s # }, 901s # FALSE 901s # }; 901s # 901s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SingleArgSignalX", 901s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 901s # NULL 901s # }, 901s # "single-arg-signal-x" 901s # }; 901s # 901s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 901s # { 901s # { 901s # -1, 901s # (gchar *) "org.project.SignalingIface", 901s # NULL, 901s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 901s # NULL, 901s # NULL 901s # }, 901s # "org-project-signaling-iface", 901s # }; 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_interface_info: 901s # * 901s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 901s # * 901s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 901s # */ 901s # GDBusInterfaceInfo * 901s # org_project_signaling_iface_interface_info (void) 901s # { 901s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_override_properties: 901s # * @klass: The class structure for a #GObject derived class. 901s # * @property_id_begin: The property id to assign to the first overridden property. 901s # * 901s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 901s # * The properties are overridden in the order they are defined. 901s # * 901s # * Returns: The last property id. 901s # */ 901s # guint 901s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 901s # { 901s # return property_id_begin - 1; 901s # } 901s # 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_simple_signal ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__VOID (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # 901s # /** 901s # * OrgProjectSignalingIface: 901s # * 901s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceIface: 901s # * @parent_iface: The parent interface. 901s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 901s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 901s # * 901s # * Virtual table for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 901s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 901s # 901s # static void 901s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # /* GObject signals for received D-Bus signals: */ 901s # /** 901s # * OrgProjectSignalingIface::simple-signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 901s # g_signal_new ("simple-signal", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_simple_signal, 901s # G_TYPE_NONE, 901s # 0); 901s # 901s # /** 901s # * OrgProjectSignalingIface::single-arg-signal-x: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_x: Argument. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 901s # g_signal_new ("single-arg-signal-x", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 901s # G_TYPE_NONE, 901s # 1, G_TYPE_INT64); 901s # 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_simple_signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * Emits the "SimpleSignal" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_single_arg_signal_x: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_x: Argument to pass with the signal. 901s # * 901s # * Emits the "SingleArgSignalX" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_single_arg_signal_x ( 901s # OrgProjectSignalingIface *object, 901s # gint64 arg_arg_x) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 901s # } 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxy: 901s # * 901s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxyClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceProxy. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceProxyPrivate 901s # { 901s # GData *qdata; 901s # }; 901s # 901s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_proxy_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 901s # g_datalist_clear (&proxy->priv->qdata); 901s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # const GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 901s # const gchar *sender_name G_GNUC_UNUSED, 901s # const gchar *signal_name, 901s # GVariant *parameters) 901s # { 901s # _ExtendedGDBusSignalInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # gsize n; 901s # guint signal_id; 901s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 901s # if (info == NULL) 901s # return; 901s # num_params = g_variant_n_children (parameters); 901s # paramv = g_new0 (GValue, num_params + 1); 901s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[0], proxy); 901s # g_variant_iter_init (&iter, parameters); 901s # n = 1; 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_signal_emitv (paramv, signal_id, 0, NULL); 901s # for (n = 0; n < num_params + 1; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 901s # GVariant *changed_properties, 901s # const gchar *const *invalidated_properties) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 901s # guint n; 901s # const gchar *key; 901s # GVariantIter *iter; 901s # _ExtendedGDBusPropertyInfo *info; 901s # g_variant_get (changed_properties, "a{sv}", &iter); 901s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 901s # g_datalist_remove_data (&proxy->priv->qdata, key); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # g_variant_iter_free (iter); 901s # for (n = 0; invalidated_properties[n] != NULL; n++) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 901s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 901s # #else 901s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 901s # #endif 901s # 901s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusProxyClass *proxy_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 901s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 901s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 901s # 901s # proxy_class = G_DBUS_PROXY_CLASS (klass); 901s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 901s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_sync: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_sync ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new_for_bus ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_sync: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_sync ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeleton: 901s # * 901s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeletonClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceSkeletonPrivate 901s # { 901s # GValue *properties; 901s # GList *changed_properties; 901s # GSource *changed_properties_idle_source; 901s # GMainContext *context; 901s # GMutex lock; 901s # }; 901s # 901s # static void 901s # _org_project_signaling_iface_skeleton_handle_method_call ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name, 901s # const gchar *method_name, 901s # GVariant *parameters, 901s # GDBusMethodInvocation *invocation, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # _ExtendedGDBusMethodInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # guint num_extra; 901s # gsize n; 901s # guint signal_id; 901s # GValue return_value = G_VALUE_INIT; 901s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 901s # g_assert (info != NULL); 901s # num_params = g_variant_n_children (parameters); 901s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 901s # n = 0; 901s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[n++], skeleton); 901s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 901s # g_value_set_object (¶mv[n++], invocation); 901s # if (info->pass_fdlist) 901s # { 901s # #ifdef G_OS_UNIX 901s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 901s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 901s # #else 901s # g_assert_not_reached (); 901s # #endif 901s # } 901s # g_variant_iter_init (&iter, parameters); 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_init (&return_value, G_TYPE_BOOLEAN); 901s # g_signal_emitv (paramv, signal_id, 0, &return_value); 901s # if (!g_value_get_boolean (&return_value)) 901s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 901s # g_value_unset (&return_value); 901s # for (n = 0; n < num_params + num_extra; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static GVariant * 901s # _org_project_signaling_iface_skeleton_handle_get_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # GVariant *ret; 901s # ret = NULL; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # g_value_init (&value, pspec->value_type); 901s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 901s # g_value_unset (&value); 901s # } 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _org_project_signaling_iface_skeleton_handle_set_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GVariant *variant, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # gboolean ret; 901s # ret = FALSE; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # if (info->use_gvariant) 901s # g_value_set_variant (&value, variant); 901s # else 901s # g_dbus_gvariant_to_gvalue (variant, &value); 901s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # g_value_unset (&value); 901s # ret = TRUE; 901s # } 901s # return ret; 901s # } 901s # 901s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 901s # { 901s # _org_project_signaling_iface_skeleton_handle_method_call, 901s # _org_project_signaling_iface_skeleton_handle_get_property, 901s # _org_project_signaling_iface_skeleton_handle_set_property, 901s # {NULL} 901s # }; 901s # 901s # static GDBusInterfaceInfo * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return org_project_signaling_iface_interface_info (); 901s # } 901s # 901s # static GDBusInterfaceVTable * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 901s # } 901s # 901s # static GVariant * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 901s # 901s # GVariantBuilder builder; 901s # guint n; 901s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 901s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 901s # goto out; 901s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 901s # { 901s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 901s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 901s # { 901s # GVariant *value; 901s # 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); 901s # if (value != NULL) 901s # { 901s # g_variant_take_ref (value); 901s # g_variant_builder_add (&builder, "{sv}", info->name, value); 901s # g_variant_unref (value); 901s # } 901s # } 901s # } 901s # out: 901s # return g_variant_builder_end (&builder); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 901s # OrgProjectSignalingIface *object, 901s # gint64 arg_arg_x) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 901s # arg_arg_x)); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_skeleton_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 901s # if (skeleton->priv->changed_properties_idle_source != NULL) 901s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 901s # g_main_context_unref (skeleton->priv->context); 901s # g_mutex_clear (&skeleton->priv->lock); 901s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 901s # #else 901s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 901s # #endif 901s # 901s # g_mutex_init (&skeleton->priv->lock); 901s # skeleton->priv->context = g_main_context_ref_thread_default (); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusInterfaceSkeletonClass *skeleton_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 901s # 901s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 901s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 901s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 901s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 901s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 901s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_skeleton_new: 901s # * 901s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_skeleton_new (void) 901s # { 901s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 901s # } 901s # /tmp/tmpolwfuonj/tmpp2kuexzp.xml: 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpolwfuonj/tmpp2kuexzp.xml', '--output', '-', '--body'] 901s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: /* 901s # * This file is generated by gdbus-codegen, do not modify it. 901s # * 901s # * The license of this code is the same as for the D-Bus interface description 901s # * it was derived from. Note that it links to GLib, so must comply with the 901s # * LGPL linking clauses. 901s # */ 901s # 901s # #ifdef HAVE_CONFIG_H 901s # # include "config.h" 901s # #endif 901s # 901s # #include 901s # #ifdef G_OS_UNIX 901s # # include 901s # #endif 901s # 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # typedef struct 901s # { 901s # GDBusArgInfo parent_struct; 901s # gboolean use_gvariant; 901s # } _ExtendedGDBusArgInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusMethodInfo parent_struct; 901s # const gchar *signal_name; 901s # gboolean pass_fdlist; 901s # } _ExtendedGDBusMethodInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusSignalInfo parent_struct; 901s # const gchar *signal_name; 901s # } _ExtendedGDBusSignalInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusPropertyInfo parent_struct; 901s # const gchar *hyphen_name; 901s # guint use_gvariant : 1; 901s # guint emits_changed_signal : 1; 901s # } _ExtendedGDBusPropertyInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusInterfaceInfo parent_struct; 901s # const gchar *hyphen_name; 901s # } _ExtendedGDBusInterfaceInfo; 901s # 901s # typedef struct 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # guint prop_id; 901s # GValue orig_value; /* the value before the change */ 901s # } ChangedProperty; 901s # 901s # static void 901s # _changed_property_free (ChangedProperty *data) 901s # { 901s # g_value_unset (&data->orig_value); 901s # g_free (data); 901s # } 901s # 901s # static gboolean 901s # _g_strv_equal0 (gchar **a, gchar **b) 901s # { 901s # gboolean ret = FALSE; 901s # guint n; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # if (g_strv_length (a) != g_strv_length (b)) 901s # goto out; 901s # for (n = 0; a[n] != NULL; n++) 901s # if (g_strcmp0 (a[n], b[n]) != 0) 901s # goto out; 901s # ret = TRUE; 901s # out: 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _g_variant_equal0 (GVariant *a, GVariant *b) 901s # { 901s # gboolean ret = FALSE; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # ret = g_variant_equal (a, b); 901s # out: 901s # return ret; 901s # } 901s # 901s # G_GNUC_UNUSED static gboolean 901s # _g_value_equal (const GValue *a, const GValue *b) 901s # { 901s # gboolean ret = FALSE; 901s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 901s # switch (G_VALUE_TYPE (a)) 901s # { 901s # case G_TYPE_BOOLEAN: 901s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 901s # break; 901s # case G_TYPE_UCHAR: 901s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 901s # break; 901s # case G_TYPE_INT: 901s # ret = (g_value_get_int (a) == g_value_get_int (b)); 901s # break; 901s # case G_TYPE_UINT: 901s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 901s # break; 901s # case G_TYPE_INT64: 901s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 901s # break; 901s # case G_TYPE_UINT64: 901s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 901s # break; 901s # case G_TYPE_DOUBLE: 901s # { 901s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 901s # gdouble da = g_value_get_double (a); 901s # gdouble db = g_value_get_double (b); 901s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 901s # } 901s # break; 901s # case G_TYPE_STRING: 901s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 901s # break; 901s # case G_TYPE_VARIANT: 901s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 901s # break; 901s # default: 901s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 901s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 901s # else 901s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 901s # break; 901s # } 901s # return ret; 901s # } 901s # 901s # static void 901s # _g_dbus_codegen_marshal_VOID__UINT64 ( 901s # GClosure *closure, 901s # GValue *return_value G_GNUC_UNUSED, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint G_GNUC_UNUSED, 901s # void *marshal_data) 901s # { 901s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 901s # (void *data1, 901s # guint64 arg_arg_t, 901s # void *data2); 901s # _GDbusCodegenMarshalVoid_Uint64Func callback; 901s # GCClosure *cc = (GCClosure*) closure; 901s # void *data1, *data2; 901s # 901s # g_return_if_fail (n_param_values == 2); 901s # 901s # if (G_CCLOSURE_SWAP_DATA (closure)) 901s # { 901s # data1 = closure->data; 901s # data2 = g_value_peek_pointer (param_values + 0); 901s # } 901s # else 901s # { 901s # data1 = g_value_peek_pointer (param_values + 0); 901s # data2 = closure->data; 901s # } 901s # 901s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 901s # (marshal_data ? marshal_data : cc->callback); 901s # 901s # callback (data1, 901s # g_marshal_value_peek_uint64 (param_values + 1), 901s # data2); 901s # } 901s # 901s # /* ------------------------------------------------------------------------ 901s # * Code for interface org.project.SignalingIface 901s # * ------------------------------------------------------------------------ 901s # */ 901s # 901s # /** 901s # * SECTION:OrgProjectSignalingIface 901s # * @title: OrgProjectSignalingIface 901s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 901s # * 901s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 901s # */ 901s # 901s # enum 901s # { 901s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 901s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 901s # }; 901s # 901s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 901s # 901s # /* ---- Introspection data for org.project.SignalingIface ---- */ 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SimpleSignal", 901s # NULL, 901s # NULL 901s # }, 901s # "simple-signal" 901s # }; 901s # 901s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 901s # { 901s # { 901s # -1, 901s # (gchar *) "arg_t", 901s # (gchar *) "t", 901s # NULL 901s # }, 901s # FALSE 901s # }; 901s # 901s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SingleArgSignalT", 901s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 901s # NULL 901s # }, 901s # "single-arg-signal-t" 901s # }; 901s # 901s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 901s # { 901s # { 901s # -1, 901s # (gchar *) "org.project.SignalingIface", 901s # NULL, 901s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 901s # NULL, 901s # NULL 901s # }, 901s # "org-project-signaling-iface", 901s # }; 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_interface_info: 901s # * 901s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 901s # * 901s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 901s # */ 901s # GDBusInterfaceInfo * 901s # org_project_signaling_iface_interface_info (void) 901s # { 901s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_override_properties: 901s # * @klass: The class structure for a #GObject derived class. 901s # * @property_id_begin: The property id to assign to the first overridden property. 901s # * 901s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 901s # * The properties are overridden in the order they are defined. 901s # * 901s # * Returns: The last property id. 901s # */ 901s # guint 901s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 901s # { 901s # return property_id_begin - 1; 901s # } 901s # 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_simple_signal ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__VOID (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # 901s # /** 901s # * OrgProjectSignalingIface: 901s # * 901s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceIface: 901s # * @parent_iface: The parent interface. 901s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 901s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 901s # * 901s # * Virtual table for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 901s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 901s # 901s # static void 901s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # /* GObject signals for received D-Bus signals: */ 901s # /** 901s # * OrgProjectSignalingIface::simple-signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 901s # g_signal_new ("simple-signal", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_simple_signal, 901s # G_TYPE_NONE, 901s # 0); 901s # 901s # /** 901s # * OrgProjectSignalingIface::single-arg-signal-t: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_t: Argument. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 901s # g_signal_new ("single-arg-signal-t", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 901s # G_TYPE_NONE, 901s # 1, G_TYPE_UINT64); 901s # 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_simple_signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * Emits the "SimpleSignal" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_single_arg_signal_t: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_t: Argument to pass with the signal. 901s # * 901s # * Emits the "SingleArgSignalT" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_single_arg_signal_t ( 901s # OrgProjectSignalingIface *object, 901s # guint64 arg_arg_t) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 901s # } 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxy: 901s # * 901s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxyClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceProxy. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceProxyPrivate 901s # { 901s # GData *qdata; 901s # }; 901s # 901s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_proxy_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 901s # g_datalist_clear (&proxy->priv->qdata); 901s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # const GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 901s # const gchar *sender_name G_GNUC_UNUSED, 901s # const gchar *signal_name, 901s # GVariant *parameters) 901s # { 901s # _ExtendedGDBusSignalInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # gsize n; 901s # guint signal_id; 901s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 901s # if (info == NULL) 901s # return; 901s # num_params = g_variant_n_children (parameters); 901s # paramv = g_new0 (GValue, num_params + 1); 901s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[0], proxy); 901s # g_variant_iter_init (&iter, parameters); 901s # n = 1; 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_signal_emitv (paramv, signal_id, 0, NULL); 901s # for (n = 0; n < num_params + 1; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 901s # GVariant *changed_properties, 901s # const gchar *const *invalidated_properties) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 901s # guint n; 901s # const gchar *key; 901s # GVariantIter *iter; 901s # _ExtendedGDBusPropertyInfo *info; 901s # g_variant_get (changed_properties, "a{sv}", &iter); 901s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 901s # g_datalist_remove_data (&proxy->priv->qdata, key); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # g_variant_iter_free (iter); 901s # for (n = 0; invalidated_properties[n] != NULL; n++) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 901s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 901s # #else 901s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 901s # #endif 901s # 901s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusProxyClass *proxy_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 901s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 901s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 901s # 901s # proxy_class = G_DBUS_PROXY_CLASS (klass); 901s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 901s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_sync: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_sync ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new_for_bus ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_sync: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_sync ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeleton: 901s # * 901s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeletonClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceSkeletonPrivate 901s # { 901s # GValue *properties; 901s # GList *changed_properties; 901s # GSource *changed_properties_idle_source; 901s # GMainContext *context; 901s # GMutex lock; 901s # }; 901s # 901s # static void 901s # _org_project_signaling_iface_skeleton_handle_method_call ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name, 901s # const gchar *method_name, 901s # GVariant *parameters, 901s # GDBusMethodInvocation *invocation, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # _ExtendedGDBusMethodInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # guint num_extra; 901s # gsize n; 901s # guint signal_id; 901s # GValue return_value = G_VALUE_INIT; 901s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 901s # g_assert (info != NULL); 901s # num_params = g_variant_n_children (parameters); 901s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 901s # n = 0; 901s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[n++], skeleton); 901s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 901s # g_value_set_object (¶mv[n++], invocation); 901s # if (info->pass_fdlist) 901s # { 901s # #ifdef G_OS_UNIX 901s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 901s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 901s # #else 901s # g_assert_not_reached (); 901s # #endif 901s # } 901s # g_variant_iter_init (&iter, parameters); 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_init (&return_value, G_TYPE_BOOLEAN); 901s # g_signal_emitv (paramv, signal_id, 0, &return_value); 901s # if (!g_value_get_boolean (&return_value)) 901s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 901s # g_value_unset (&return_value); 901s # for (n = 0; n < num_params + num_extra; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static GVariant * 901s # _org_project_signaling_iface_skeleton_handle_get_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # GVariant *ret; 901s # ret = NULL; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # g_value_init (&value, pspec->value_type); 901s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 901s # g_value_unset (&value); 901s # } 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _org_project_signaling_iface_skeleton_handle_set_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GVariant *variant, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # gboolean ret; 901s # ret = FALSE; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # if (info->use_gvariant) 901s # g_value_set_variant (&value, variant); 901s # else 901s # g_dbus_gvariant_to_gvalue (variant, &value); 901s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # g_value_unset (&value); 901s # ret = TRUE; 901s # } 901s # return ret; 901s # } 901s # 901s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 901s # { 901s # _org_project_signaling_iface_skeleton_handle_method_call, 901s # _org_project_signaling_iface_skeleton_handle_get_property, 901s # _org_project_signaling_iface_skeleton_handle_set_property, 901s # {NULL} 901s # }; 901s # 901s # static GDBusInterfaceInfo * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return org_project_signaling_iface_interface_info (); 901s # } 901s # 901s # static GDBusInterfaceVTable * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 901s # } 901s # 901s # static GVariant * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 901s # 901s # GVariantBuilder builder; 901s # guint n; 901s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 901s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 901s # goto out; 901s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 901s # { 901s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 901s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 901s # { 901s # GVariant *value; 901s # 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); 901s # if (value != NULL) 901s # { 901s # g_variant_take_ref (value); 901s # g_variant_builder_add (&builder, "{sv}", info->name, value); 901s # g_variant_unref (value); 901s # } 901s # } 901s # } 901s # out: 901s # return g_variant_builder_end (&builder); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 901s # OrgProjectSignalingIface *object, 901s # guint64 arg_arg_t) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 901s # arg_arg_t)); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_skeleton_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 901s # if (skeleton->priv->changed_properties_idle_source != NULL) 901s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 901s # g_main_context_unref (skeleton->priv->context); 901s # g_mutex_clear (&skeleton->priv->lock); 901s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 901s # #else 901s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 901s # #endif 901s # 901s # g_mutex_init (&skeleton->priv->lock); 901s # skeleton->priv->context = g_main_context_ref_thread_default (); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusInterfaceSkeletonClass *skeleton_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 901s # 901s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 901s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 901s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 901s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 901s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 901s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_skeleton_new: 901s # * 901s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_skeleton_new (void) 901s # { 901s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 901s # } 901s # /tmp/tmpolwfuonj/tmptu1rj3ar.xml: 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpolwfuonj/tmptu1rj3ar.xml', '--output', '-', '--body'] 901s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: /* 901s # * This file is generated by gdbus-codegen, do not modify it. 901s # * 901s # * The license of this code is the same as for the D-Bus interface description 901s # * it was derived from. Note that it links to GLib, so must comply with the 901s # * LGPL linking clauses. 901s # */ 901s # 901s # #ifdef HAVE_CONFIG_H 901s # # include "config.h" 901s # #endif 901s # 901s # #include 901s # #ifdef G_OS_UNIX 901s # # include 901s # #endif 901s # 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # typedef struct 901s # { 901s # GDBusArgInfo parent_struct; 901s # gboolean use_gvariant; 901s # } _ExtendedGDBusArgInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusMethodInfo parent_struct; 901s # const gchar *signal_name; 901s # gboolean pass_fdlist; 901s # } _ExtendedGDBusMethodInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusSignalInfo parent_struct; 901s # const gchar *signal_name; 901s # } _ExtendedGDBusSignalInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusPropertyInfo parent_struct; 901s # const gchar *hyphen_name; 901s # guint use_gvariant : 1; 901s # guint emits_changed_signal : 1; 901s # } _ExtendedGDBusPropertyInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusInterfaceInfo parent_struct; 901s # const gchar *hyphen_name; 901s # } _ExtendedGDBusInterfaceInfo; 901s # 901s # typedef struct 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # guint prop_id; 901s # GValue orig_value; /* the value before the change */ 901s # } ChangedProperty; 901s # 901s # static void 901s # _changed_property_free (ChangedProperty *data) 901s # { 901s # g_value_unset (&data->orig_value); 901s # g_free (data); 901s # } 901s # 901s # static gboolean 901s # _g_strv_equal0 (gchar **a, gchar **b) 901s # { 901s # gboolean ret = FALSE; 901s # guint n; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # if (g_strv_length (a) != g_strv_length (b)) 901s # goto out; 901s # for (n = 0; a[n] != NULL; n++) 901s # if (g_strcmp0 (a[n], b[n]) != 0) 901s # goto out; 901s # ret = TRUE; 901s # out: 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _g_variant_equal0 (GVariant *a, GVariant *b) 901s # { 901s # gboolean ret = FALSE; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # ret = g_variant_equal (a, b); 901s # out: 901s # return ret; 901s # } 901s # 901s # G_GNUC_UNUSED static gboolean 901s # _g_value_equal (const GValue *a, const GValue *b) 901s # { 901s # gboolean ret = FALSE; 901s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 901s # switch (G_VALUE_TYPE (a)) 901s # { 901s # case G_TYPE_BOOLEAN: 901s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 901s # break; 901s # case G_TYPE_UCHAR: 901s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 901s # break; 901s # case G_TYPE_INT: 901s # ret = (g_value_get_int (a) == g_value_get_int (b)); 901s # break; 901s # case G_TYPE_UINT: 901s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 901s # break; 901s # case G_TYPE_INT64: 901s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 901s # break; 901s # case G_TYPE_UINT64: 901s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 901s # break; 901s # case G_TYPE_DOUBLE: 901s # { 901s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 901s # gdouble da = g_value_get_double (a); 901s # gdouble db = g_value_get_double (b); 901s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 901s # } 901s # break; 901s # case G_TYPE_STRING: 901s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 901s # break; 901s # case G_TYPE_VARIANT: 901s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 901s # break; 901s # default: 901s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 901s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 901s # else 901s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 901s # break; 901s # } 901s # return ret; 901s # } 901s # 901s # /* ------------------------------------------------------------------------ 901s # * Code for interface org.project.SignalingIface 901s # * ------------------------------------------------------------------------ 901s # */ 901s # 901s # /** 901s # * SECTION:OrgProjectSignalingIface 901s # * @title: OrgProjectSignalingIface 901s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 901s # * 901s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 901s # */ 901s # 901s # enum 901s # { 901s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 901s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 901s # }; 901s # 901s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 901s # 901s # /* ---- Introspection data for org.project.SignalingIface ---- */ 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SimpleSignal", 901s # NULL, 901s # NULL 901s # }, 901s # "simple-signal" 901s # }; 901s # 901s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 901s # { 901s # { 901s # -1, 901s # (gchar *) "arg_d", 901s # (gchar *) "d", 901s # NULL 901s # }, 901s # FALSE 901s # }; 901s # 901s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SingleArgSignalD", 901s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 901s # NULL 901s # }, 901s # "single-arg-signal-d" 901s # }; 901s # 901s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 901s # { 901s # { 901s # -1, 901s # (gchar *) "org.project.SignalingIface", 901s # NULL, 901s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 901s # NULL, 901s # NULL 901s # }, 901s # "org-project-signaling-iface", 901s # }; 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_interface_info: 901s # * 901s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 901s # * 901s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 901s # */ 901s # GDBusInterfaceInfo * 901s # org_project_signaling_iface_interface_info (void) 901s # { 901s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_override_properties: 901s # * @klass: The class structure for a #GObject derived class. 901s # * @property_id_begin: The property id to assign to the first overridden property. 901s # * 901s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 901s # * The properties are overridden in the order they are defined. 901s # * 901s # * Returns: The last property id. 901s # */ 901s # guint 901s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 901s # { 901s # return property_id_begin - 1; 901s # } 901s # 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_simple_signal ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__VOID (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__DOUBLE (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # 901s # /** 901s # * OrgProjectSignalingIface: 901s # * 901s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceIface: 901s # * @parent_iface: The parent interface. 901s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 901s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 901s # * 901s # * Virtual table for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 901s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 901s # 901s # static void 901s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # /* GObject signals for received D-Bus signals: */ 901s # /** 901s # * OrgProjectSignalingIface::simple-signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 901s # g_signal_new ("simple-signal", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_simple_signal, 901s # G_TYPE_NONE, 901s # 0); 901s # 901s # /** 901s # * OrgProjectSignalingIface::single-arg-signal-d: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_d: Argument. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 901s # g_signal_new ("single-arg-signal-d", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 901s # G_TYPE_NONE, 901s # 1, G_TYPE_DOUBLE); 901s # 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_simple_signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * Emits the "SimpleSignal" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_single_arg_signal_d: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_d: Argument to pass with the signal. 901s # * 901s # * Emits the "SingleArgSignalD" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_single_arg_signal_d ( 901s # OrgProjectSignalingIface *object, 901s # gdouble arg_arg_d) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 901s # } 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxy: 901s # * 901s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxyClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceProxy. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceProxyPrivate 901s # { 901s # GData *qdata; 901s # }; 901s # 901s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_proxy_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 901s # g_datalist_clear (&proxy->priv->qdata); 901s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # const GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 901s # const gchar *sender_name G_GNUC_UNUSED, 901s # const gchar *signal_name, 901s # GVariant *parameters) 901s # { 901s # _ExtendedGDBusSignalInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # gsize n; 901s # guint signal_id; 901s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 901s # if (info == NULL) 901s # return; 901s # num_params = g_variant_n_children (parameters); 901s # paramv = g_new0 (GValue, num_params + 1); 901s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[0], proxy); 901s # g_variant_iter_init (&iter, parameters); 901s # n = 1; 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_signal_emitv (paramv, signal_id, 0, NULL); 901s # for (n = 0; n < num_params + 1; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 901s # GVariant *changed_properties, 901s # const gchar *const *invalidated_properties) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 901s # guint n; 901s # const gchar *key; 901s # GVariantIter *iter; 901s # _ExtendedGDBusPropertyInfo *info; 901s # g_variant_get (changed_properties, "a{sv}", &iter); 901s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 901s # g_datalist_remove_data (&proxy->priv->qdata, key); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # g_variant_iter_free (iter); 901s # for (n = 0; invalidated_properties[n] != NULL; n++) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 901s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 901s # #else 901s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 901s # #endif 901s # 901s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusProxyClass *proxy_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 901s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 901s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 901s # 901s # proxy_class = G_DBUS_PROXY_CLASS (klass); 901s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 901s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_sync: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_sync ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new_for_bus ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_sync: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_sync ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeleton: 901s # * 901s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeletonClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceSkeletonPrivate 901s # { 901s # GValue *properties; 901s # GList *changed_properties; 901s # GSource *changed_properties_idle_source; 901s # GMainContext *context; 901s # GMutex lock; 901s # }; 901s # 901s # static void 901s # _org_project_signaling_iface_skeleton_handle_method_call ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name, 901s # const gchar *method_name, 901s # GVariant *parameters, 901s # GDBusMethodInvocation *invocation, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # _ExtendedGDBusMethodInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # guint num_extra; 901s # gsize n; 901s # guint signal_id; 901s # GValue return_value = G_VALUE_INIT; 901s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 901s # g_assert (info != NULL); 901s # num_params = g_variant_n_children (parameters); 901s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 901s # n = 0; 901s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[n++], skeleton); 901s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 901s # g_value_set_object (¶mv[n++], invocation); 901s # if (info->pass_fdlist) 901s # { 901s # #ifdef G_OS_UNIX 901s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 901s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 901s # #else 901s # g_assert_not_reached (); 901s # #endif 901s # } 901s # g_variant_iter_init (&iter, parameters); 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_init (&return_value, G_TYPE_BOOLEAN); 901s # g_signal_emitv (paramv, signal_id, 0, &return_value); 901s # if (!g_value_get_boolean (&return_value)) 901s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 901s # g_value_unset (&return_value); 901s # for (n = 0; n < num_params + num_extra; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static GVariant * 901s # _org_project_signaling_iface_skeleton_handle_get_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # GVariant *ret; 901s # ret = NULL; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # g_value_init (&value, pspec->value_type); 901s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 901s # g_value_unset (&value); 901s # } 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _org_project_signaling_iface_skeleton_handle_set_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GVariant *variant, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # gboolean ret; 901s # ret = FALSE; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # if (info->use_gvariant) 901s # g_value_set_variant (&value, variant); 901s # else 901s # g_dbus_gvariant_to_gvalue (variant, &value); 901s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # g_value_unset (&value); 901s # ret = TRUE; 901s # } 901s # return ret; 901s # } 901s # 901s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 901s # { 901s # _org_project_signaling_iface_skeleton_handle_method_call, 901s # _org_project_signaling_iface_skeleton_handle_get_property, 901s # _org_project_signaling_iface_skeleton_handle_set_property, 901s # {NULL} 901s # }; 901s # 901s # static GDBusInterfaceInfo * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return org_project_signaling_iface_interface_info (); 901s # } 901s # 901s # static GDBusInterfaceVTable * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 901s # } 901s # 901s # static GVariant * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 901s # 901s # GVariantBuilder builder; 901s # guint n; 901s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 901s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 901s # goto out; 901s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 901s # { 901s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 901s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 901s # { 901s # GVariant *value; 901s # 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); 901s # if (value != NULL) 901s # { 901s # g_variant_take_ref (value); 901s # g_variant_builder_add (&builder, "{sv}", info->name, value); 901s # g_variant_unref (value); 901s # } 901s # } 901s # } 901s # out: 901s # return g_variant_builder_end (&builder); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 901s # OrgProjectSignalingIface *object, 901s # gdouble arg_arg_d) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 901s # arg_arg_d)); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_skeleton_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 901s # if (skeleton->priv->changed_properties_idle_source != NULL) 901s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 901s # g_main_context_unref (skeleton->priv->context); 901s # g_mutex_clear (&skeleton->priv->lock); 901s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 901s # #else 901s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 901s # #endif 901s # 901s # g_mutex_init (&skeleton->priv->lock); 901s # skeleton->priv->context = g_main_context_ref_thread_default (); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusInterfaceSkeletonClass *skeleton_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 901s # 901s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 901s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 901s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 901s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 901s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 901s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_skeleton_new: 901s # * 901s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_skeleton_new (void) 901s # { 901s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 901s # } 901s # /tmp/tmpolwfuonj/tmpb89101ng.xml: 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpolwfuonj/tmpb89101ng.xml', '--output', '-', '--body'] 901s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: /* 901s # * This file is generated by gdbus-codegen, do not modify it. 901s # * 901s # * The license of this code is the same as for the D-Bus interface description 901s # * it was derived from. Note that it links to GLib, so must comply with the 901s # * LGPL linking clauses. 901s # */ 901s # 901s # #ifdef HAVE_CONFIG_H 901s # # include "config.h" 901s # #endif 901s # 901s # #include 901s # #ifdef G_OS_UNIX 901s # # include 901s # #endif 901s # 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # typedef struct 901s # { 901s # GDBusArgInfo parent_struct; 901s # gboolean use_gvariant; 901s # } _ExtendedGDBusArgInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusMethodInfo parent_struct; 901s # const gchar *signal_name; 901s # gboolean pass_fdlist; 901s # } _ExtendedGDBusMethodInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusSignalInfo parent_struct; 901s # const gchar *signal_name; 901s # } _ExtendedGDBusSignalInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusPropertyInfo parent_struct; 901s # const gchar *hyphen_name; 901s # guint use_gvariant : 1; 901s # guint emits_changed_signal : 1; 901s # } _ExtendedGDBusPropertyInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusInterfaceInfo parent_struct; 901s # const gchar *hyphen_name; 901s # } _ExtendedGDBusInterfaceInfo; 901s # 901s # typedef struct 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # guint prop_id; 901s # GValue orig_value; /* the value before the change */ 901s # } ChangedProperty; 901s # 901s # static void 901s # _changed_property_free (ChangedProperty *data) 901s # { 901s # g_value_unset (&data->orig_value); 901s # g_free (data); 901s # } 901s # 901s # static gboolean 901s # _g_strv_equal0 (gchar **a, gchar **b) 901s # { 901s # gboolean ret = FALSE; 901s # guint n; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # if (g_strv_length (a) != g_strv_length (b)) 901s # goto out; 901s # for (n = 0; a[n] != NULL; n++) 901s # if (g_strcmp0 (a[n], b[n]) != 0) 901s # goto out; 901s # ret = TRUE; 901s # out: 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _g_variant_equal0 (GVariant *a, GVariant *b) 901s # { 901s # gboolean ret = FALSE; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # ret = g_variant_equal (a, b); 901s # out: 901s # return ret; 901s # } 901s # 901s # G_GNUC_UNUSED static gboolean 901s # _g_value_equal (const GValue *a, const GValue *b) 901s # { 901s # gboolean ret = FALSE; 901s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 901s # switch (G_VALUE_TYPE (a)) 901s # { 901s # case G_TYPE_BOOLEAN: 901s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 901s # break; 901s # case G_TYPE_UCHAR: 901s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 901s # break; 901s # case G_TYPE_INT: 901s # ret = (g_value_get_int (a) == g_value_get_int (b)); 901s # break; 901s # case G_TYPE_UINT: 901s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 901s # break; 901s # case G_TYPE_INT64: 901s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 901s # break; 901s # case G_TYPE_UINT64: 901s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 901s # break; 901s # case G_TYPE_DOUBLE: 901s # { 901s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 901s # gdouble da = g_value_get_double (a); 901s # gdouble db = g_value_get_double (b); 901s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 901s # } 901s # break; 901s # case G_TYPE_STRING: 901s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 901s # break; 901s # case G_TYPE_VARIANT: 901s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 901s # break; 901s # default: 901s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 901s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 901s # else 901s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 901s # break; 901s # } 901s # return ret; 901s # } 901s # 901s # /* ------------------------------------------------------------------------ 901s # * Code for interface org.project.SignalingIface 901s # * ------------------------------------------------------------------------ 901s # */ 901s # 901s # /** 901s # * SECTION:OrgProjectSignalingIface 901s # * @title: OrgProjectSignalingIface 901s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 901s # * 901s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 901s # */ 901s # 901s # enum 901s # { 901s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 901s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 901s # }; 901s # 901s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 901s # 901s # /* ---- Introspection data for org.project.SignalingIface ---- */ 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SimpleSignal", 901s # NULL, 901s # NULL 901s # }, 901s # "simple-signal" 901s # }; 901s # 901s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 901s # { 901s # { 901s # -1, 901s # (gchar *) "arg_s", 901s # (gchar *) "s", 901s # NULL 901s # }, 901s # FALSE 901s # }; 901s # 901s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SingleArgSignalS", 901s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 901s # NULL 901s # }, 901s # "single-arg-signal-s" 901s # }; 901s # 901s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 901s # { 901s # { 901s # -1, 901s # (gchar *) "org.project.SignalingIface", 901s # NULL, 901s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 901s # NULL, 901s # NULL 901s # }, 901s # "org-project-signaling-iface", 901s # }; 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_interface_info: 901s # * 901s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 901s # * 901s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 901s # */ 901s # GDBusInterfaceInfo * 901s # org_project_signaling_iface_interface_info (void) 901s # { 901s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_override_properties: 901s # * @klass: The class structure for a #GObject derived class. 901s # * @property_id_begin: The property id to assign to the first overridden property. 901s # * 901s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 901s # * The properties are overridden in the order they are defined. 901s # * 901s # * Returns: The last property id. 901s # */ 901s # guint 901s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 901s # { 901s # return property_id_begin - 1; 901s # } 901s # 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_simple_signal ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__VOID (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__STRING (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # 901s # /** 901s # * OrgProjectSignalingIface: 901s # * 901s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceIface: 901s # * @parent_iface: The parent interface. 901s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 901s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 901s # * 901s # * Virtual table for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 901s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 901s # 901s # static void 901s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # /* GObject signals for received D-Bus signals: */ 901s # /** 901s # * OrgProjectSignalingIface::simple-signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 901s # g_signal_new ("simple-signal", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_simple_signal, 901s # G_TYPE_NONE, 901s # 0); 901s # 901s # /** 901s # * OrgProjectSignalingIface::single-arg-signal-s: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_s: Argument. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 901s # g_signal_new ("single-arg-signal-s", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 901s # G_TYPE_NONE, 901s # 1, G_TYPE_STRING); 901s # 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_simple_signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * Emits the "SimpleSignal" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_single_arg_signal_s: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_s: Argument to pass with the signal. 901s # * 901s # * Emits the "SingleArgSignalS" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_single_arg_signal_s ( 901s # OrgProjectSignalingIface *object, 901s # const gchar *arg_arg_s) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 901s # } 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxy: 901s # * 901s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxyClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceProxy. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceProxyPrivate 901s # { 901s # GData *qdata; 901s # }; 901s # 901s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_proxy_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 901s # g_datalist_clear (&proxy->priv->qdata); 901s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # const GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 901s # const gchar *sender_name G_GNUC_UNUSED, 901s # const gchar *signal_name, 901s # GVariant *parameters) 901s # { 901s # _ExtendedGDBusSignalInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # gsize n; 901s # guint signal_id; 901s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 901s # if (info == NULL) 901s # return; 901s # num_params = g_variant_n_children (parameters); 901s # paramv = g_new0 (GValue, num_params + 1); 901s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[0], proxy); 901s # g_variant_iter_init (&iter, parameters); 901s # n = 1; 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_signal_emitv (paramv, signal_id, 0, NULL); 901s # for (n = 0; n < num_params + 1; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 901s # GVariant *changed_properties, 901s # const gchar *const *invalidated_properties) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 901s # guint n; 901s # const gchar *key; 901s # GVariantIter *iter; 901s # _ExtendedGDBusPropertyInfo *info; 901s # g_variant_get (changed_properties, "a{sv}", &iter); 901s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 901s # g_datalist_remove_data (&proxy->priv->qdata, key); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # g_variant_iter_free (iter); 901s # for (n = 0; invalidated_properties[n] != NULL; n++) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 901s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 901s # #else 901s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 901s # #endif 901s # 901s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusProxyClass *proxy_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 901s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 901s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 901s # 901s # proxy_class = G_DBUS_PROXY_CLASS (klass); 901s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 901s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_sync: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_sync ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new_for_bus ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_sync: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_sync ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeleton: 901s # * 901s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeletonClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceSkeletonPrivate 901s # { 901s # GValue *properties; 901s # GList *changed_properties; 901s # GSource *changed_properties_idle_source; 901s # GMainContext *context; 901s # GMutex lock; 901s # }; 901s # 901s # static void 901s # _org_project_signaling_iface_skeleton_handle_method_call ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name, 901s # const gchar *method_name, 901s # GVariant *parameters, 901s # GDBusMethodInvocation *invocation, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # _ExtendedGDBusMethodInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # guint num_extra; 901s # gsize n; 901s # guint signal_id; 901s # GValue return_value = G_VALUE_INIT; 901s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 901s # g_assert (info != NULL); 901s # num_params = g_variant_n_children (parameters); 901s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 901s # n = 0; 901s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[n++], skeleton); 901s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 901s # g_value_set_object (¶mv[n++], invocation); 901s # if (info->pass_fdlist) 901s # { 901s # #ifdef G_OS_UNIX 901s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 901s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 901s # #else 901s # g_assert_not_reached (); 901s # #endif 901s # } 901s # g_variant_iter_init (&iter, parameters); 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_init (&return_value, G_TYPE_BOOLEAN); 901s # g_signal_emitv (paramv, signal_id, 0, &return_value); 901s # if (!g_value_get_boolean (&return_value)) 901s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 901s # g_value_unset (&return_value); 901s # for (n = 0; n < num_params + num_extra; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static GVariant * 901s # _org_project_signaling_iface_skeleton_handle_get_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # GVariant *ret; 901s # ret = NULL; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # g_value_init (&value, pspec->value_type); 901s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 901s # g_value_unset (&value); 901s # } 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _org_project_signaling_iface_skeleton_handle_set_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GVariant *variant, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # gboolean ret; 901s # ret = FALSE; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # if (info->use_gvariant) 901s # g_value_set_variant (&value, variant); 901s # else 901s # g_dbus_gvariant_to_gvalue (variant, &value); 901s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # g_value_unset (&value); 901s # ret = TRUE; 901s # } 901s # return ret; 901s # } 901s # 901s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 901s # { 901s # _org_project_signaling_iface_skeleton_handle_method_call, 901s # _org_project_signaling_iface_skeleton_handle_get_property, 901s # _org_project_signaling_iface_skeleton_handle_set_property, 901s # {NULL} 901s # }; 901s # 901s # static GDBusInterfaceInfo * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return org_project_signaling_iface_interface_info (); 901s # } 901s # 901s # static GDBusInterfaceVTable * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 901s # } 901s # 901s # static GVariant * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 901s # 901s # GVariantBuilder builder; 901s # guint n; 901s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 901s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 901s # goto out; 901s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 901s # { 901s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 901s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 901s # { 901s # GVariant *value; 901s # 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); 901s # if (value != NULL) 901s # { 901s # g_variant_take_ref (value); 901s # g_variant_builder_add (&builder, "{sv}", info->name, value); 901s # g_variant_unref (value); 901s # } 901s # } 901s # } 901s # out: 901s # return g_variant_builder_end (&builder); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 901s # OrgProjectSignalingIface *object, 901s # const gchar *arg_arg_s) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 901s # arg_arg_s)); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_skeleton_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 901s # if (skeleton->priv->changed_properties_idle_source != NULL) 901s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 901s # g_main_context_unref (skeleton->priv->context); 901s # g_mutex_clear (&skeleton->priv->lock); 901s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 901s # #else 901s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 901s # #endif 901s # 901s # g_mutex_init (&skeleton->priv->lock); 901s # skeleton->priv->context = g_main_context_ref_thread_default (); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusInterfaceSkeletonClass *skeleton_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 901s # 901s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 901s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 901s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 901s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 901s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 901s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_skeleton_new: 901s # * 901s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_skeleton_new (void) 901s # { 901s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 901s # } 901s # /tmp/tmpolwfuonj/tmpr87reyzd.xml: 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpolwfuonj/tmpr87reyzd.xml', '--output', '-', '--body'] 901s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: /* 901s # * This file is generated by gdbus-codegen, do not modify it. 901s # * 901s # * The license of this code is the same as for the D-Bus interface description 901s # * it was derived from. Note that it links to GLib, so must comply with the 901s # * LGPL linking clauses. 901s # */ 901s # 901s # #ifdef HAVE_CONFIG_H 901s # # include "config.h" 901s # #endif 901s # 901s # #include 901s # #ifdef G_OS_UNIX 901s # # include 901s # #endif 901s # 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # typedef struct 901s # { 901s # GDBusArgInfo parent_struct; 901s # gboolean use_gvariant; 901s # } _ExtendedGDBusArgInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusMethodInfo parent_struct; 901s # const gchar *signal_name; 901s # gboolean pass_fdlist; 901s # } _ExtendedGDBusMethodInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusSignalInfo parent_struct; 901s # const gchar *signal_name; 901s # } _ExtendedGDBusSignalInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusPropertyInfo parent_struct; 901s # const gchar *hyphen_name; 901s # guint use_gvariant : 1; 901s # guint emits_changed_signal : 1; 901s # } _ExtendedGDBusPropertyInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusInterfaceInfo parent_struct; 901s # const gchar *hyphen_name; 901s # } _ExtendedGDBusInterfaceInfo; 901s # 901s # typedef struct 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # guint prop_id; 901s # GValue orig_value; /* the value before the change */ 901s # } ChangedProperty; 901s # 901s # static void 901s # _changed_property_free (ChangedProperty *data) 901s # { 901s # g_value_unset (&data->orig_value); 901s # g_free (data); 901s # } 901s # 901s # static gboolean 901s # _g_strv_equal0 (gchar **a, gchar **b) 901s # { 901s # gboolean ret = FALSE; 901s # guint n; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # if (g_strv_length (a) != g_strv_length (b)) 901s # goto out; 901s # for (n = 0; a[n] != NULL; n++) 901s # if (g_strcmp0 (a[n], b[n]) != 0) 901s # goto out; 901s # ret = TRUE; 901s # out: 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _g_variant_equal0 (GVariant *a, GVariant *b) 901s # { 901s # gboolean ret = FALSE; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # ret = g_variant_equal (a, b); 901s # out: 901s # return ret; 901s # } 901s # 901s # G_GNUC_UNUSED static gboolean 901s # _g_value_equal (const GValue *a, const GValue *b) 901s # { 901s # gboolean ret = FALSE; 901s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 901s # switch (G_VALUE_TYPE (a)) 901s # { 901s # case G_TYPE_BOOLEAN: 901s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 901s # break; 901s # case G_TYPE_UCHAR: 901s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 901s # break; 901s # case G_TYPE_INT: 901s # ret = (g_value_get_int (a) == g_value_get_int (b)); 901s # break; 901s # case G_TYPE_UINT: 901s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 901s # break; 901s # case G_TYPE_INT64: 901s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 901s # break; 901s # case G_TYPE_UINT64: 901s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 901s # break; 901s # case G_TYPE_DOUBLE: 901s # { 901s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 901s # gdouble da = g_value_get_double (a); 901s # gdouble db = g_value_get_double (b); 901s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 901s # } 901s # break; 901s # case G_TYPE_STRING: 901s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 901s # break; 901s # case G_TYPE_VARIANT: 901s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 901s # break; 901s # default: 901s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 901s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 901s # else 901s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 901s # break; 901s # } 901s # return ret; 901s # } 901s # 901s # /* ------------------------------------------------------------------------ 901s # * Code for interface org.project.SignalingIface 901s # * ------------------------------------------------------------------------ 901s # */ 901s # 901s # /** 901s # * SECTION:OrgProjectSignalingIface 901s # * @title: OrgProjectSignalingIface 901s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 901s # * 901s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 901s # */ 901s # 901s # enum 901s # { 901s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 901s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 901s # }; 901s # 901s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 901s # 901s # /* ---- Introspection data for org.project.SignalingIface ---- */ 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SimpleSignal", 901s # NULL, 901s # NULL 901s # }, 901s # "simple-signal" 901s # }; 901s # 901s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 901s # { 901s # { 901s # -1, 901s # (gchar *) "arg_o", 901s # (gchar *) "o", 901s # NULL 901s # }, 901s # FALSE 901s # }; 901s # 901s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SingleArgSignalO", 901s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 901s # NULL 901s # }, 901s # "single-arg-signal-o" 901s # }; 901s # 901s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 901s # { 901s # { 901s # -1, 901s # (gchar *) "org.project.SignalingIface", 901s # NULL, 901s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 901s # NULL, 901s # NULL 901s # }, 901s # "org-project-signaling-iface", 901s # }; 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_interface_info: 901s # * 901s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 901s # * 901s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 901s # */ 901s # GDBusInterfaceInfo * 901s # org_project_signaling_iface_interface_info (void) 901s # { 901s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_override_properties: 901s # * @klass: The class structure for a #GObject derived class. 901s # * @property_id_begin: The property id to assign to the first overridden property. 901s # * 901s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 901s # * The properties are overridden in the order they are defined. 901s # * 901s # * Returns: The last property id. 901s # */ 901s # guint 901s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 901s # { 901s # return property_id_begin - 1; 901s # } 901s # 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_simple_signal ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__VOID (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__STRING (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # 901s # /** 901s # * OrgProjectSignalingIface: 901s # * 901s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceIface: 901s # * @parent_iface: The parent interface. 901s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 901s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 901s # * 901s # * Virtual table for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 901s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 901s # 901s # static void 901s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # /* GObject signals for received D-Bus signals: */ 901s # /** 901s # * OrgProjectSignalingIface::simple-signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 901s # g_signal_new ("simple-signal", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_simple_signal, 901s # G_TYPE_NONE, 901s # 0); 901s # 901s # /** 901s # * OrgProjectSignalingIface::single-arg-signal-o: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_o: Argument. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 901s # g_signal_new ("single-arg-signal-o", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 901s # G_TYPE_NONE, 901s # 1, G_TYPE_STRING); 901s # 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_simple_signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * Emits the "SimpleSignal" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_single_arg_signal_o: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_o: Argument to pass with the signal. 901s # * 901s # * Emits the "SingleArgSignalO" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_single_arg_signal_o ( 901s # OrgProjectSignalingIface *object, 901s # const gchar *arg_arg_o) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 901s # } 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxy: 901s # * 901s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxyClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceProxy. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceProxyPrivate 901s # { 901s # GData *qdata; 901s # }; 901s # 901s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_proxy_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 901s # g_datalist_clear (&proxy->priv->qdata); 901s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # const GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 901s # const gchar *sender_name G_GNUC_UNUSED, 901s # const gchar *signal_name, 901s # GVariant *parameters) 901s # { 901s # _ExtendedGDBusSignalInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # gsize n; 901s # guint signal_id; 901s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 901s # if (info == NULL) 901s # return; 901s # num_params = g_variant_n_children (parameters); 901s # paramv = g_new0 (GValue, num_params + 1); 901s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[0], proxy); 901s # g_variant_iter_init (&iter, parameters); 901s # n = 1; 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_signal_emitv (paramv, signal_id, 0, NULL); 901s # for (n = 0; n < num_params + 1; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 901s # GVariant *changed_properties, 901s # const gchar *const *invalidated_properties) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 901s # guint n; 901s # const gchar *key; 901s # GVariantIter *iter; 901s # _ExtendedGDBusPropertyInfo *info; 901s # g_variant_get (changed_properties, "a{sv}", &iter); 901s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 901s # g_datalist_remove_data (&proxy->priv->qdata, key); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # g_variant_iter_free (iter); 901s # for (n = 0; invalidated_properties[n] != NULL; n++) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 901s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 901s # #else 901s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 901s # #endif 901s # 901s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusProxyClass *proxy_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 901s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 901s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 901s # 901s # proxy_class = G_DBUS_PROXY_CLASS (klass); 901s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 901s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_sync: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_sync ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new_for_bus ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_sync: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_sync ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeleton: 901s # * 901s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeletonClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceSkeletonPrivate 901s # { 901s # GValue *properties; 901s # GList *changed_properties; 901s # GSource *changed_properties_idle_source; 901s # GMainContext *context; 901s # GMutex lock; 901s # }; 901s # 901s # static void 901s # _org_project_signaling_iface_skeleton_handle_method_call ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name, 901s # const gchar *method_name, 901s # GVariant *parameters, 901s # GDBusMethodInvocation *invocation, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # _ExtendedGDBusMethodInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # guint num_extra; 901s # gsize n; 901s # guint signal_id; 901s # GValue return_value = G_VALUE_INIT; 901s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 901s # g_assert (info != NULL); 901s # num_params = g_variant_n_children (parameters); 901s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 901s # n = 0; 901s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[n++], skeleton); 901s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 901s # g_value_set_object (¶mv[n++], invocation); 901s # if (info->pass_fdlist) 901s # { 901s # #ifdef G_OS_UNIX 901s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 901s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 901s # #else 901s # g_assert_not_reached (); 901s # #endif 901s # } 901s # g_variant_iter_init (&iter, parameters); 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_init (&return_value, G_TYPE_BOOLEAN); 901s # g_signal_emitv (paramv, signal_id, 0, &return_value); 901s # if (!g_value_get_boolean (&return_value)) 901s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 901s # g_value_unset (&return_value); 901s # for (n = 0; n < num_params + num_extra; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static GVariant * 901s # _org_project_signaling_iface_skeleton_handle_get_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # GVariant *ret; 901s # ret = NULL; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # g_value_init (&value, pspec->value_type); 901s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 901s # g_value_unset (&value); 901s # } 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _org_project_signaling_iface_skeleton_handle_set_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GVariant *variant, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # gboolean ret; 901s # ret = FALSE; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # if (info->use_gvariant) 901s # g_value_set_variant (&value, variant); 901s # else 901s # g_dbus_gvariant_to_gvalue (variant, &value); 901s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # g_value_unset (&value); 901s # ret = TRUE; 901s # } 901s # return ret; 901s # } 901s # 901s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 901s # { 901s # _org_project_signaling_iface_skeleton_handle_method_call, 901s # _org_project_signaling_iface_skeleton_handle_get_property, 901s # _org_project_signaling_iface_skeleton_handle_set_property, 901s # {NULL} 901s # }; 901s # 901s # static GDBusInterfaceInfo * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return org_project_signaling_iface_interface_info (); 901s # } 901s # 901s # static GDBusInterfaceVTable * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 901s # } 901s # 901s # static GVariant * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 901s # 901s # GVariantBuilder builder; 901s # guint n; 901s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 901s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 901s # goto out; 901s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 901s # { 901s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 901s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 901s # { 901s # GVariant *value; 901s # 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); 901s # if (value != NULL) 901s # { 901s # g_variant_take_ref (value); 901s # g_variant_builder_add (&builder, "{sv}", info->name, value); 901s # g_variant_unref (value); 901s # } 901s # } 901s # } 901s # out: 901s # return g_variant_builder_end (&builder); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 901s # OrgProjectSignalingIface *object, 901s # const gchar *arg_arg_o) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 901s # arg_arg_o)); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_skeleton_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 901s # if (skeleton->priv->changed_properties_idle_source != NULL) 901s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 901s # g_main_context_unref (skeleton->priv->context); 901s # g_mutex_clear (&skeleton->priv->lock); 901s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 901s # #else 901s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 901s # #endif 901s # 901s # g_mutex_init (&skeleton->priv->lock); 901s # skeleton->priv->context = g_main_context_ref_thread_default (); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusInterfaceSkeletonClass *skeleton_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 901s # 901s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 901s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 901s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 901s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 901s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 901s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_skeleton_new: 901s # * 901s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_skeleton_new (void) 901s # { 901s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 901s # } 901s # /tmp/tmpolwfuonj/tmpnxfs7u6m.xml: 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpolwfuonj/tmpnxfs7u6m.xml', '--output', '-', '--body'] 901s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: /* 901s # * This file is generated by gdbus-codegen, do not modify it. 901s # * 901s # * The license of this code is the same as for the D-Bus interface description 901s # * it was derived from. Note that it links to GLib, so must comply with the 901s # * LGPL linking clauses. 901s # */ 901s # 901s # #ifdef HAVE_CONFIG_H 901s # # include "config.h" 901s # #endif 901s # 901s # #include 901s # #ifdef G_OS_UNIX 901s # # include 901s # #endif 901s # 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # typedef struct 901s # { 901s # GDBusArgInfo parent_struct; 901s # gboolean use_gvariant; 901s # } _ExtendedGDBusArgInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusMethodInfo parent_struct; 901s # const gchar *signal_name; 901s # gboolean pass_fdlist; 901s # } _ExtendedGDBusMethodInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusSignalInfo parent_struct; 901s # const gchar *signal_name; 901s # } _ExtendedGDBusSignalInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusPropertyInfo parent_struct; 901s # const gchar *hyphen_name; 901s # guint use_gvariant : 1; 901s # guint emits_changed_signal : 1; 901s # } _ExtendedGDBusPropertyInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusInterfaceInfo parent_struct; 901s # const gchar *hyphen_name; 901s # } _ExtendedGDBusInterfaceInfo; 901s # 901s # typedef struct 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # guint prop_id; 901s # GValue orig_value; /* the value before the change */ 901s # } ChangedProperty; 901s # 901s # static void 901s # _changed_property_free (ChangedProperty *data) 901s # { 901s # g_value_unset (&data->orig_value); 901s # g_free (data); 901s # } 901s # 901s # static gboolean 901s # _g_strv_equal0 (gchar **a, gchar **b) 901s # { 901s # gboolean ret = FALSE; 901s # guint n; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # if (g_strv_length (a) != g_strv_length (b)) 901s # goto out; 901s # for (n = 0; a[n] != NULL; n++) 901s # if (g_strcmp0 (a[n], b[n]) != 0) 901s # goto out; 901s # ret = TRUE; 901s # out: 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _g_variant_equal0 (GVariant *a, GVariant *b) 901s # { 901s # gboolean ret = FALSE; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # ret = g_variant_equal (a, b); 901s # out: 901s # return ret; 901s # } 901s # 901s # G_GNUC_UNUSED static gboolean 901s # _g_value_equal (const GValue *a, const GValue *b) 901s # { 901s # gboolean ret = FALSE; 901s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 901s # switch (G_VALUE_TYPE (a)) 901s # { 901s # case G_TYPE_BOOLEAN: 901s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 901s # break; 901s # case G_TYPE_UCHAR: 901s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 901s # break; 901s # case G_TYPE_INT: 901s # ret = (g_value_get_int (a) == g_value_get_int (b)); 901s # break; 901s # case G_TYPE_UINT: 901s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 901s # break; 901s # case G_TYPE_INT64: 901s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 901s # break; 901s # case G_TYPE_UINT64: 901s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 901s # break; 901s # case G_TYPE_DOUBLE: 901s # { 901s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 901s # gdouble da = g_value_get_double (a); 901s # gdouble db = g_value_get_double (b); 901s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 901s # } 901s # break; 901s # case G_TYPE_STRING: 901s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 901s # break; 901s # case G_TYPE_VARIANT: 901s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 901s # break; 901s # default: 901s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 901s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 901s # else 901s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 901s # break; 901s # } 901s # return ret; 901s # } 901s # 901s # /* ------------------------------------------------------------------------ 901s # * Code for interface org.project.SignalingIface 901s # * ------------------------------------------------------------------------ 901s # */ 901s # 901s # /** 901s # * SECTION:OrgProjectSignalingIface 901s # * @title: OrgProjectSignalingIface 901s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 901s # * 901s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 901s # */ 901s # 901s # enum 901s # { 901s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 901s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 901s # }; 901s # 901s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 901s # 901s # /* ---- Introspection data for org.project.SignalingIface ---- */ 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SimpleSignal", 901s # NULL, 901s # NULL 901s # }, 901s # "simple-signal" 901s # }; 901s # 901s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 901s # { 901s # { 901s # -1, 901s # (gchar *) "arg_g", 901s # (gchar *) "g", 901s # NULL 901s # }, 901s # FALSE 901s # }; 901s # 901s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SingleArgSignalG", 901s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 901s # NULL 901s # }, 901s # "single-arg-signal-g" 901s # }; 901s # 901s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 901s # { 901s # { 901s # -1, 901s # (gchar *) "org.project.SignalingIface", 901s # NULL, 901s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 901s # NULL, 901s # NULL 901s # }, 901s # "org-project-signaling-iface", 901s # }; 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_interface_info: 901s # * 901s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 901s # * 901s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 901s # */ 901s # GDBusInterfaceInfo * 901s # org_project_signaling_iface_interface_info (void) 901s # { 901s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_override_properties: 901s # * @klass: The class structure for a #GObject derived class. 901s # * @property_id_begin: The property id to assign to the first overridden property. 901s # * 901s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 901s # * The properties are overridden in the order they are defined. 901s # * 901s # * Returns: The last property id. 901s # */ 901s # guint 901s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 901s # { 901s # return property_id_begin - 1; 901s # } 901s # 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_simple_signal ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__VOID (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__STRING (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # 901s # /** 901s # * OrgProjectSignalingIface: 901s # * 901s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceIface: 901s # * @parent_iface: The parent interface. 901s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 901s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 901s # * 901s # * Virtual table for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 901s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 901s # 901s # static void 901s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # /* GObject signals for received D-Bus signals: */ 901s # /** 901s # * OrgProjectSignalingIface::simple-signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 901s # g_signal_new ("simple-signal", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_simple_signal, 901s # G_TYPE_NONE, 901s # 0); 901s # 901s # /** 901s # * OrgProjectSignalingIface::single-arg-signal-g: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_g: Argument. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 901s # g_signal_new ("single-arg-signal-g", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 901s # G_TYPE_NONE, 901s # 1, G_TYPE_STRING); 901s # 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_simple_signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * Emits the "SimpleSignal" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_emit_single_arg_signal_g: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_g: Argument to pass with the signal. 901s # * 901s # * Emits the "SingleArgSignalG" D-Bus signal. 901s # */ 901s # void 901s # org_project_signaling_iface_emit_single_arg_signal_g ( 901s # OrgProjectSignalingIface *object, 901s # const gchar *arg_arg_g) 901s # { 901s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 901s # } 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxy: 901s # * 901s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceProxyClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceProxy. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceProxyPrivate 901s # { 901s # GData *qdata; 901s # }; 901s # 901s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_proxy_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 901s # g_datalist_clear (&proxy->priv->qdata); 901s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 901s # guint prop_id G_GNUC_UNUSED, 901s # const GValue *value G_GNUC_UNUSED, 901s # GParamSpec *pspec G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 901s # const gchar *sender_name G_GNUC_UNUSED, 901s # const gchar *signal_name, 901s # GVariant *parameters) 901s # { 901s # _ExtendedGDBusSignalInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # gsize n; 901s # guint signal_id; 901s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 901s # if (info == NULL) 901s # return; 901s # num_params = g_variant_n_children (parameters); 901s # paramv = g_new0 (GValue, num_params + 1); 901s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[0], proxy); 901s # g_variant_iter_init (&iter, parameters); 901s # n = 1; 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_signal_emitv (paramv, signal_id, 0, NULL); 901s # for (n = 0; n < num_params + 1; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 901s # GVariant *changed_properties, 901s # const gchar *const *invalidated_properties) 901s # { 901s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 901s # guint n; 901s # const gchar *key; 901s # GVariantIter *iter; 901s # _ExtendedGDBusPropertyInfo *info; 901s # g_variant_get (changed_properties, "a{sv}", &iter); 901s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 901s # g_datalist_remove_data (&proxy->priv->qdata, key); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # g_variant_iter_free (iter); 901s # for (n = 0; invalidated_properties[n] != NULL; n++) 901s # { 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 901s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 901s # if (info != NULL) 901s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 901s # } 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 901s # #else 901s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 901s # #endif 901s # 901s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusProxyClass *proxy_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 901s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 901s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 901s # 901s # proxy_class = G_DBUS_PROXY_CLASS (klass); 901s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 901s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_sync: 901s # * @connection: A #GDBusConnection. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_sync ( 901s # GDBusConnection *connection, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 901s # * @user_data: User data to pass to @callback. 901s # * 901s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 901s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 901s # */ 901s # void 901s # org_project_signaling_iface_proxy_new_for_bus ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GAsyncReadyCallback callback, 901s # gpointer user_data) 901s # { 901s # 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); 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_finish: 901s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 901s # * @error: Return location for error or %NULL 901s # * 901s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_finish ( 901s # GAsyncResult *res, 901s # GError **error) 901s # { 901s # GObject *ret; 901s # GObject *source_object; 901s # source_object = g_async_result_get_source_object (res); 901s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 901s # g_object_unref (source_object); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_proxy_new_for_bus_sync: 901s # * @bus_type: A #GBusType. 901s # * @flags: Flags from the #GDBusProxyFlags enumeration. 901s # * @name: A bus name (well-known or unique). 901s # * @object_path: An object path. 901s # * @cancellable: (nullable): A #GCancellable or %NULL. 901s # * @error: Return location for error or %NULL 901s # * 901s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 901s # * 901s # * The calling thread is blocked until a reply is received. 901s # * 901s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_proxy_new_for_bus_sync ( 901s # GBusType bus_type, 901s # GDBusProxyFlags flags, 901s # const gchar *name, 901s # const gchar *object_path, 901s # GCancellable *cancellable, 901s # GError **error) 901s # { 901s # GInitable *ret; 901s # 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); 901s # if (ret != NULL) 901s # return ORG_PROJECT_SIGNALING_IFACE (ret); 901s # else 901s # return NULL; 901s # } 901s # 901s # 901s # /* ------------------------------------------------------------------------ */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeleton: 901s # * 901s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceSkeletonClass: 901s # * @parent_class: The parent class. 901s # * 901s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 901s # */ 901s # 901s # struct _OrgProjectSignalingIfaceSkeletonPrivate 901s # { 901s # GValue *properties; 901s # GList *changed_properties; 901s # GSource *changed_properties_idle_source; 901s # GMainContext *context; 901s # GMutex lock; 901s # }; 901s # 901s # static void 901s # _org_project_signaling_iface_skeleton_handle_method_call ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name, 901s # const gchar *method_name, 901s # GVariant *parameters, 901s # GDBusMethodInvocation *invocation, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # _ExtendedGDBusMethodInfo *info; 901s # GVariantIter iter; 901s # GVariant *child; 901s # GValue *paramv; 901s # gsize num_params; 901s # guint num_extra; 901s # gsize n; 901s # guint signal_id; 901s # GValue return_value = G_VALUE_INIT; 901s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 901s # g_assert (info != NULL); 901s # num_params = g_variant_n_children (parameters); 901s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 901s # n = 0; 901s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_set_object (¶mv[n++], skeleton); 901s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 901s # g_value_set_object (¶mv[n++], invocation); 901s # if (info->pass_fdlist) 901s # { 901s # #ifdef G_OS_UNIX 901s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 901s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 901s # #else 901s # g_assert_not_reached (); 901s # #endif 901s # } 901s # g_variant_iter_init (&iter, parameters); 901s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 901s # { 901s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 901s # if (arg_info->use_gvariant) 901s # { 901s # g_value_init (¶mv[n], G_TYPE_VARIANT); 901s # g_value_set_variant (¶mv[n], child); 901s # n++; 901s # } 901s # else 901s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 901s # g_variant_unref (child); 901s # } 901s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 901s # g_value_init (&return_value, G_TYPE_BOOLEAN); 901s # g_signal_emitv (paramv, signal_id, 0, &return_value); 901s # if (!g_value_get_boolean (&return_value)) 901s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 901s # g_value_unset (&return_value); 901s # for (n = 0; n < num_params + num_extra; n++) 901s # g_value_unset (¶mv[n]); 901s # g_free (paramv); 901s # } 901s # 901s # static GVariant * 901s # _org_project_signaling_iface_skeleton_handle_get_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # GVariant *ret; 901s # ret = NULL; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # g_value_init (&value, pspec->value_type); 901s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 901s # g_value_unset (&value); 901s # } 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _org_project_signaling_iface_skeleton_handle_set_property ( 901s # GDBusConnection *connection G_GNUC_UNUSED, 901s # const gchar *sender G_GNUC_UNUSED, 901s # const gchar *object_path G_GNUC_UNUSED, 901s # const gchar *interface_name G_GNUC_UNUSED, 901s # const gchar *property_name, 901s # GVariant *variant, 901s # GError **error, 901s # gpointer user_data) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 901s # GValue value = G_VALUE_INIT; 901s # GParamSpec *pspec; 901s # _ExtendedGDBusPropertyInfo *info; 901s # gboolean ret; 901s # ret = FALSE; 901s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 901s # g_assert (info != NULL); 901s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 901s # if (pspec == NULL) 901s # { 901s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 901s # } 901s # else 901s # { 901s # if (info->use_gvariant) 901s # g_value_set_variant (&value, variant); 901s # else 901s # g_dbus_gvariant_to_gvalue (variant, &value); 901s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 901s # g_value_unset (&value); 901s # ret = TRUE; 901s # } 901s # return ret; 901s # } 901s # 901s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 901s # { 901s # _org_project_signaling_iface_skeleton_handle_method_call, 901s # _org_project_signaling_iface_skeleton_handle_get_property, 901s # _org_project_signaling_iface_skeleton_handle_set_property, 901s # {NULL} 901s # }; 901s # 901s # static GDBusInterfaceInfo * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return org_project_signaling_iface_interface_info (); 901s # } 901s # 901s # static GDBusInterfaceVTable * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 901s # { 901s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 901s # } 901s # 901s # static GVariant * 901s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 901s # 901s # GVariantBuilder builder; 901s # guint n; 901s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 901s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 901s # goto out; 901s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 901s # { 901s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 901s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 901s # { 901s # GVariant *value; 901s # 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); 901s # if (value != NULL) 901s # { 901s # g_variant_take_ref (value); 901s # g_variant_builder_add (&builder, "{sv}", info->name, value); 901s # g_variant_unref (value); 901s # } 901s # } 901s # } 901s # out: 901s # return g_variant_builder_end (&builder); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 901s # { 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_simple_signal ( 901s # OrgProjectSignalingIface *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void 901s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 901s # OrgProjectSignalingIface *object, 901s # const gchar *arg_arg_g) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # 901s # GList *connections, *l; 901s # GVariant *signal_variant; 901s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 901s # 901s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 901s # arg_arg_g)); 901s # for (l = connections; l != NULL; l = l->next) 901s # { 901s # GDBusConnection *connection = l->data; 901s # g_dbus_connection_emit_signal (connection, 901s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 901s # signal_variant, NULL); 901s # } 901s # g_variant_unref (signal_variant); 901s # g_list_free_full (connections, g_object_unref); 901s # } 901s # 901s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #else 901s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 901s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 901s # 901s # #endif 901s # static void 901s # org_project_signaling_iface_skeleton_finalize (GObject *object) 901s # { 901s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 901s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 901s # if (skeleton->priv->changed_properties_idle_source != NULL) 901s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 901s # g_main_context_unref (skeleton->priv->context); 901s # g_mutex_clear (&skeleton->priv->lock); 901s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 901s # { 901s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 901s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 901s # #else 901s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 901s # #endif 901s # 901s # g_mutex_init (&skeleton->priv->lock); 901s # skeleton->priv->context = g_main_context_ref_thread_default (); 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 901s # { 901s # GObjectClass *gobject_class; 901s # GDBusInterfaceSkeletonClass *skeleton_class; 901s # 901s # gobject_class = G_OBJECT_CLASS (klass); 901s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 901s # 901s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 901s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 901s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 901s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 901s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 901s # 901s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 901s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 901s # #endif 901s # } 901s # 901s # static void 901s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 901s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_skeleton_new: 901s # * 901s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 901s # * 901s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 901s # */ 901s # OrgProjectSignalingIface * 901s # org_project_signaling_iface_skeleton_new (void) 901s # { 901s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 901s # } 901s # /tmp/tmpolwfuonj/tmp59h67cib.xml: 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # 901s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpolwfuonj/tmp59h67cib.xml', '--output', '-', '--body'] 901s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 901s # Output: /* 901s # * This file is generated by gdbus-codegen, do not modify it. 901s # * 901s # * The license of this code is the same as for the D-Bus interface description 901s # * it was derived from. Note that it links to GLib, so must comply with the 901s # * LGPL linking clauses. 901s # */ 901s # 901s # #ifdef HAVE_CONFIG_H 901s # # include "config.h" 901s # #endif 901s # 901s # #include 901s # #ifdef G_OS_UNIX 901s # # include 901s # #endif 901s # 901s # #ifdef G_ENABLE_DEBUG 901s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 901s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 901s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 901s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 901s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 901s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 901s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 901s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 901s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 901s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 901s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 901s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 901s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 901s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 901s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 901s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 901s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 901s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 901s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 901s # #else /* !G_ENABLE_DEBUG */ 901s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 901s # * Do not access GValues directly in your code. Instead, use the 901s # * g_value_get_*() functions 901s # */ 901s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 901s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 901s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 901s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 901s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 901s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 901s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 901s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 901s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 901s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 901s # #endif /* !G_ENABLE_DEBUG */ 901s # 901s # typedef struct 901s # { 901s # GDBusArgInfo parent_struct; 901s # gboolean use_gvariant; 901s # } _ExtendedGDBusArgInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusMethodInfo parent_struct; 901s # const gchar *signal_name; 901s # gboolean pass_fdlist; 901s # } _ExtendedGDBusMethodInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusSignalInfo parent_struct; 901s # const gchar *signal_name; 901s # } _ExtendedGDBusSignalInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusPropertyInfo parent_struct; 901s # const gchar *hyphen_name; 901s # guint use_gvariant : 1; 901s # guint emits_changed_signal : 1; 901s # } _ExtendedGDBusPropertyInfo; 901s # 901s # typedef struct 901s # { 901s # GDBusInterfaceInfo parent_struct; 901s # const gchar *hyphen_name; 901s # } _ExtendedGDBusInterfaceInfo; 901s # 901s # typedef struct 901s # { 901s # const _ExtendedGDBusPropertyInfo *info; 901s # guint prop_id; 901s # GValue orig_value; /* the value before the change */ 901s # } ChangedProperty; 901s # 901s # static void 901s # _changed_property_free (ChangedProperty *data) 901s # { 901s # g_value_unset (&data->orig_value); 901s # g_free (data); 901s # } 901s # 901s # static gboolean 901s # _g_strv_equal0 (gchar **a, gchar **b) 901s # { 901s # gboolean ret = FALSE; 901s # guint n; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # if (g_strv_length (a) != g_strv_length (b)) 901s # goto out; 901s # for (n = 0; a[n] != NULL; n++) 901s # if (g_strcmp0 (a[n], b[n]) != 0) 901s # goto out; 901s # ret = TRUE; 901s # out: 901s # return ret; 901s # } 901s # 901s # static gboolean 901s # _g_variant_equal0 (GVariant *a, GVariant *b) 901s # { 901s # gboolean ret = FALSE; 901s # if (a == NULL && b == NULL) 901s # { 901s # ret = TRUE; 901s # goto out; 901s # } 901s # if (a == NULL || b == NULL) 901s # goto out; 901s # ret = g_variant_equal (a, b); 901s # out: 901s # return ret; 901s # } 901s # 901s # G_GNUC_UNUSED static gboolean 901s # _g_value_equal (const GValue *a, const GValue *b) 901s # { 901s # gboolean ret = FALSE; 901s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 901s # switch (G_VALUE_TYPE (a)) 901s # { 901s # case G_TYPE_BOOLEAN: 901s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 901s # break; 901s # case G_TYPE_UCHAR: 901s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 901s # break; 901s # case G_TYPE_INT: 901s # ret = (g_value_get_int (a) == g_value_get_int (b)); 901s # break; 901s # case G_TYPE_UINT: 901s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 901s # break; 901s # case G_TYPE_INT64: 901s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 901s # break; 901s # case G_TYPE_UINT64: 901s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 901s # break; 901s # case G_TYPE_DOUBLE: 901s # { 901s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 901s # gdouble da = g_value_get_double (a); 901s # gdouble db = g_value_get_double (b); 901s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 901s # } 901s # break; 901s # case G_TYPE_STRING: 901s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 901s # break; 901s # case G_TYPE_VARIANT: 901s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 901s # break; 901s # default: 901s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 901s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 901s # else 901s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 901s # break; 901s # } 901s # return ret; 901s # } 901s # 901s # /* ------------------------------------------------------------------------ 901s # * Code for interface org.project.SignalingIface 901s # * ------------------------------------------------------------------------ 901s # */ 901s # 901s # /** 901s # * SECTION:OrgProjectSignalingIface 901s # * @title: OrgProjectSignalingIface 901s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 901s # * 901s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 901s # */ 901s # 901s # enum 901s # { 901s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 901s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 901s # }; 901s # 901s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 901s # 901s # /* ---- Introspection data for org.project.SignalingIface ---- */ 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SimpleSignal", 901s # NULL, 901s # NULL 901s # }, 901s # "simple-signal" 901s # }; 901s # 901s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 901s # { 901s # { 901s # -1, 901s # (gchar *) "arg_h", 901s # (gchar *) "h", 901s # NULL 901s # }, 901s # FALSE 901s # }; 901s # 901s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 901s # { 901s # { 901s # -1, 901s # (gchar *) "SingleArgSignalH", 901s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 901s # NULL 901s # }, 901s # "single-arg-signal-h" 901s # }; 901s # 901s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 901s # { 901s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 901s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 901s # NULL 901s # }; 901s # 901s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 901s # { 901s # { 901s # -1, 901s # (gchar *) "org.project.SignalingIface", 901s # NULL, 901s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 901s # NULL, 901s # NULL 901s # }, 901s # "org-project-signaling-iface", 901s # }; 901s # 901s # 901s # /** 901s # * org_project_signaling_iface_interface_info: 901s # * 901s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 901s # * 901s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 901s # */ 901s # GDBusInterfaceInfo * 901s # org_project_signaling_iface_interface_info (void) 901s # { 901s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 901s # } 901s # 901s # /** 901s # * org_project_signaling_iface_override_properties: 901s # * @klass: The class structure for a #GObject derived class. 901s # * @property_id_begin: The property id to assign to the first overridden property. 901s # * 901s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 901s # * The properties are overridden in the order they are defined. 901s # * 901s # * Returns: The last property id. 901s # */ 901s # guint 901s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 901s # { 901s # return property_id_begin - 1; 901s # } 901s # 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_simple_signal ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__VOID (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # inline static void 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 901s # GClosure *closure, 901s # GValue *return_value, 901s # unsigned int n_param_values, 901s # const GValue *param_values, 901s # void *invocation_hint, 901s # void *marshal_data) 901s # { 901s # g_cclosure_marshal_VOID__VARIANT (closure, 901s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 901s # } 901s # 901s # 901s # /** 901s # * OrgProjectSignalingIface: 901s # * 901s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # /** 901s # * OrgProjectSignalingIfaceIface: 901s # * @parent_iface: The parent interface. 901s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 901s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 901s # * 901s # * Virtual table for the D-Bus interface org.project.SignalingIface. 901s # */ 901s # 901s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 901s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 901s # 901s # static void 901s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 901s # { 901s # /* GObject signals for received D-Bus signals: */ 901s # /** 901s # * OrgProjectSignalingIface::simple-signal: 901s # * @object: A #OrgProjectSignalingIface. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 901s # g_signal_new ("simple-signal", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_simple_signal, 901s # G_TYPE_NONE, 901s # 0); 901s # 901s # /** 901s # * OrgProjectSignalingIface::single-arg-signal-h: 901s # * @object: A #OrgProjectSignalingIface. 901s # * @arg_arg_h: Argument. 901s # * 901s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 901s # * 901s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 901s # */ 901s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 901s # g_signal_new ("single-arg-signal-h", 901s # G_TYPE_FROM_INTERFACE (iface), 901s # G_SIGNAL_RUN_LAST, 901s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 901s # NULL, 901s # NULL, 901s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 901s # G_TYPE_NONE, 902s # 1, G_TYPE_VARIANT); 902s # 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_emit_simple_signal: 902s # * @object: A #OrgProjectSignalingIface. 902s # * 902s # * Emits the "SimpleSignal" D-Bus signal. 902s # */ 902s # void 902s # org_project_signaling_iface_emit_simple_signal ( 902s # OrgProjectSignalingIface *object) 902s # { 902s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_emit_single_arg_signal_h: 902s # * @object: A #OrgProjectSignalingIface. 902s # * @arg_arg_h: Argument to pass with the signal. 902s # * 902s # * Emits the "SingleArgSignalH" D-Bus signal. 902s # */ 902s # void 902s # org_project_signaling_iface_emit_single_arg_signal_h ( 902s # OrgProjectSignalingIface *object, 902s # GVariant *arg_arg_h) 902s # { 902s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 902s # } 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceProxy: 902s # * 902s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceProxyClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectSignalingIfaceProxy. 902s # */ 902s # 902s # struct _OrgProjectSignalingIfaceProxyPrivate 902s # { 902s # GData *qdata; 902s # }; 902s # 902s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 902s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_signaling_iface_proxy_finalize (GObject *object) 902s # { 902s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 902s # g_datalist_clear (&proxy->priv->qdata); 902s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # const GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 902s # const gchar *sender_name G_GNUC_UNUSED, 902s # const gchar *signal_name, 902s # GVariant *parameters) 902s # { 902s # _ExtendedGDBusSignalInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # gsize n; 902s # guint signal_id; 902s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 902s # if (info == NULL) 902s # return; 902s # num_params = g_variant_n_children (parameters); 902s # paramv = g_new0 (GValue, num_params + 1); 902s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_set_object (¶mv[0], proxy); 902s # g_variant_iter_init (&iter, parameters); 902s # n = 1; 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_signal_emitv (paramv, signal_id, 0, NULL); 902s # for (n = 0; n < num_params + 1; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 902s # GVariant *changed_properties, 902s # const gchar *const *invalidated_properties) 902s # { 902s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 902s # guint n; 902s # const gchar *key; 902s # GVariantIter *iter; 902s # _ExtendedGDBusPropertyInfo *info; 902s # g_variant_get (changed_properties, "a{sv}", &iter); 902s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 902s # g_datalist_remove_data (&proxy->priv->qdata, key); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # g_variant_iter_free (iter); 902s # for (n = 0; invalidated_properties[n] != NULL; n++) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 902s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 902s # #else 902s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 902s # #endif 902s # 902s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusProxyClass *proxy_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 902s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 902s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 902s # 902s # proxy_class = G_DBUS_PROXY_CLASS (klass); 902s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 902s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 902s # * 902s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_signaling_iface_proxy_new ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_sync: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_sync ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 902s # * 902s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_signaling_iface_proxy_new_for_bus ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_for_bus_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus_sync: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_for_bus_sync ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceSkeleton: 902s # * 902s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceSkeletonClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 902s # */ 902s # 902s # struct _OrgProjectSignalingIfaceSkeletonPrivate 902s # { 902s # GValue *properties; 902s # GList *changed_properties; 902s # GSource *changed_properties_idle_source; 902s # GMainContext *context; 902s # GMutex lock; 902s # }; 902s # 902s # static void 902s # _org_project_signaling_iface_skeleton_handle_method_call ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name, 902s # const gchar *method_name, 902s # GVariant *parameters, 902s # GDBusMethodInvocation *invocation, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # _ExtendedGDBusMethodInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # guint num_extra; 902s # gsize n; 902s # guint signal_id; 902s # GValue return_value = G_VALUE_INIT; 902s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 902s # g_assert (info != NULL); 902s # num_params = g_variant_n_children (parameters); 902s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 902s # n = 0; 902s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_set_object (¶mv[n++], skeleton); 902s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 902s # g_value_set_object (¶mv[n++], invocation); 902s # if (info->pass_fdlist) 902s # { 902s # #ifdef G_OS_UNIX 902s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 902s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 902s # #else 902s # g_assert_not_reached (); 902s # #endif 902s # } 902s # g_variant_iter_init (&iter, parameters); 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_init (&return_value, G_TYPE_BOOLEAN); 902s # g_signal_emitv (paramv, signal_id, 0, &return_value); 902s # if (!g_value_get_boolean (&return_value)) 902s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 902s # g_value_unset (&return_value); 902s # for (n = 0; n < num_params + num_extra; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static GVariant * 902s # _org_project_signaling_iface_skeleton_handle_get_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # GVariant *ret; 902s # ret = NULL; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # g_value_init (&value, pspec->value_type); 902s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 902s # g_value_unset (&value); 902s # } 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _org_project_signaling_iface_skeleton_handle_set_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GVariant *variant, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # gboolean ret; 902s # ret = FALSE; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # if (info->use_gvariant) 902s # g_value_set_variant (&value, variant); 902s # else 902s # g_dbus_gvariant_to_gvalue (variant, &value); 902s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # g_value_unset (&value); 902s # ret = TRUE; 902s # } 902s # return ret; 902s # } 902s # 902s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 902s # { 902s # _org_project_signaling_iface_skeleton_handle_method_call, 902s # _org_project_signaling_iface_skeleton_handle_get_property, 902s # _org_project_signaling_iface_skeleton_handle_set_property, 902s # {NULL} 902s # }; 902s # 902s # static GDBusInterfaceInfo * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return org_project_signaling_iface_interface_info (); 902s # } 902s # 902s # static GDBusInterfaceVTable * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 902s # } 902s # 902s # static GVariant * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 902s # 902s # GVariantBuilder builder; 902s # guint n; 902s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 902s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 902s # goto out; 902s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 902s # { 902s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 902s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 902s # { 902s # GVariant *value; 902s # 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); 902s # if (value != NULL) 902s # { 902s # g_variant_take_ref (value); 902s # g_variant_builder_add (&builder, "{sv}", info->name, value); 902s # g_variant_unref (value); 902s # } 902s # } 902s # } 902s # out: 902s # return g_variant_builder_end (&builder); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # _org_project_signaling_iface_on_signal_simple_signal ( 902s # OrgProjectSignalingIface *object) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # 902s # GList *connections, *l; 902s # GVariant *signal_variant; 902s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 902s # 902s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 902s # for (l = connections; l != NULL; l = l->next) 902s # { 902s # GDBusConnection *connection = l->data; 902s # g_dbus_connection_emit_signal (connection, 902s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 902s # signal_variant, NULL); 902s # } 902s # g_variant_unref (signal_variant); 902s # g_list_free_full (connections, g_object_unref); 902s # } 902s # 902s # static void 902s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 902s # OrgProjectSignalingIface *object, 902s # GVariant *arg_arg_h) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # 902s # GList *connections, *l; 902s # GVariant *signal_variant; 902s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 902s # 902s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 902s # arg_arg_h)); 902s # for (l = connections; l != NULL; l = l->next) 902s # { 902s # GDBusConnection *connection = l->data; 902s # g_dbus_connection_emit_signal (connection, 902s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 902s # signal_variant, NULL); 902s # } 902s # g_variant_unref (signal_variant); 902s # g_list_free_full (connections, g_object_unref); 902s # } 902s # 902s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_signaling_iface_skeleton_finalize (GObject *object) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 902s # if (skeleton->priv->changed_properties_idle_source != NULL) 902s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 902s # g_main_context_unref (skeleton->priv->context); 902s # g_mutex_clear (&skeleton->priv->lock); 902s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 902s # #else 902s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 902s # #endif 902s # 902s # g_mutex_init (&skeleton->priv->lock); 902s # skeleton->priv->context = g_main_context_ref_thread_default (); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusInterfaceSkeletonClass *skeleton_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 902s # 902s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 902s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 902s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 902s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 902s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 902s # { 902s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 902s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_skeleton_new: 902s # * 902s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_skeleton_new (void) 902s # { 902s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 902s # } 902s # /tmp/tmpolwfuonj/tmpb4zjstnh.xml: 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpolwfuonj/tmpb4zjstnh.xml', '--output', '-', '--body'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: /* 902s # * This file is generated by gdbus-codegen, do not modify it. 902s # * 902s # * The license of this code is the same as for the D-Bus interface description 902s # * it was derived from. Note that it links to GLib, so must comply with the 902s # * LGPL linking clauses. 902s # */ 902s # 902s # #ifdef HAVE_CONFIG_H 902s # # include "config.h" 902s # #endif 902s # 902s # #include 902s # #ifdef G_OS_UNIX 902s # # include 902s # #endif 902s # 902s # #ifdef G_ENABLE_DEBUG 902s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 902s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 902s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 902s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 902s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 902s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 902s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 902s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 902s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 902s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 902s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 902s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 902s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 902s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 902s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 902s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 902s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 902s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 902s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 902s # #else /* !G_ENABLE_DEBUG */ 902s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 902s # * Do not access GValues directly in your code. Instead, use the 902s # * g_value_get_*() functions 902s # */ 902s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 902s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 902s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 902s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 902s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 902s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 902s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 902s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 902s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 902s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 902s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 902s # #endif /* !G_ENABLE_DEBUG */ 902s # 902s # typedef struct 902s # { 902s # GDBusArgInfo parent_struct; 902s # gboolean use_gvariant; 902s # } _ExtendedGDBusArgInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusMethodInfo parent_struct; 902s # const gchar *signal_name; 902s # gboolean pass_fdlist; 902s # } _ExtendedGDBusMethodInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusSignalInfo parent_struct; 902s # const gchar *signal_name; 902s # } _ExtendedGDBusSignalInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusPropertyInfo parent_struct; 902s # const gchar *hyphen_name; 902s # guint use_gvariant : 1; 902s # guint emits_changed_signal : 1; 902s # } _ExtendedGDBusPropertyInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusInterfaceInfo parent_struct; 902s # const gchar *hyphen_name; 902s # } _ExtendedGDBusInterfaceInfo; 902s # 902s # typedef struct 902s # { 902s # const _ExtendedGDBusPropertyInfo *info; 902s # guint prop_id; 902s # GValue orig_value; /* the value before the change */ 902s # } ChangedProperty; 902s # 902s # static void 902s # _changed_property_free (ChangedProperty *data) 902s # { 902s # g_value_unset (&data->orig_value); 902s # g_free (data); 902s # } 902s # 902s # static gboolean 902s # _g_strv_equal0 (gchar **a, gchar **b) 902s # { 902s # gboolean ret = FALSE; 902s # guint n; 902s # if (a == NULL && b == NULL) 902s # { 902s # ret = TRUE; 902s # goto out; 902s # } 902s # if (a == NULL || b == NULL) 902s # goto out; 902s # if (g_strv_length (a) != g_strv_length (b)) 902s # goto out; 902s # for (n = 0; a[n] != NULL; n++) 902s # if (g_strcmp0 (a[n], b[n]) != 0) 902s # goto out; 902s # ret = TRUE; 902s # out: 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _g_variant_equal0 (GVariant *a, GVariant *b) 902s # { 902s # gboolean ret = FALSE; 902s # if (a == NULL && b == NULL) 902s # { 902s # ret = TRUE; 902s # goto out; 902s # } 902s # if (a == NULL || b == NULL) 902s # goto out; 902s # ret = g_variant_equal (a, b); 902s # out: 902s # return ret; 902s # } 902s # 902s # G_GNUC_UNUSED static gboolean 902s # _g_value_equal (const GValue *a, const GValue *b) 902s # { 902s # gboolean ret = FALSE; 902s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 902s # switch (G_VALUE_TYPE (a)) 902s # { 902s # case G_TYPE_BOOLEAN: 902s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 902s # break; 902s # case G_TYPE_UCHAR: 902s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 902s # break; 902s # case G_TYPE_INT: 902s # ret = (g_value_get_int (a) == g_value_get_int (b)); 902s # break; 902s # case G_TYPE_UINT: 902s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 902s # break; 902s # case G_TYPE_INT64: 902s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 902s # break; 902s # case G_TYPE_UINT64: 902s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 902s # break; 902s # case G_TYPE_DOUBLE: 902s # { 902s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 902s # gdouble da = g_value_get_double (a); 902s # gdouble db = g_value_get_double (b); 902s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 902s # } 902s # break; 902s # case G_TYPE_STRING: 902s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 902s # break; 902s # case G_TYPE_VARIANT: 902s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 902s # break; 902s # default: 902s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 902s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 902s # else 902s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 902s # break; 902s # } 902s # return ret; 902s # } 902s # 902s # /* ------------------------------------------------------------------------ 902s # * Code for interface org.project.SignalingIface 902s # * ------------------------------------------------------------------------ 902s # */ 902s # 902s # /** 902s # * SECTION:OrgProjectSignalingIface 902s # * @title: OrgProjectSignalingIface 902s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 902s # * 902s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 902s # */ 902s # 902s # enum 902s # { 902s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 902s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 902s # }; 902s # 902s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 902s # 902s # /* ---- Introspection data for org.project.SignalingIface ---- */ 902s # 902s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 902s # { 902s # { 902s # -1, 902s # (gchar *) "SimpleSignal", 902s # NULL, 902s # NULL 902s # }, 902s # "simple-signal" 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 902s # { 902s # { 902s # -1, 902s # (gchar *) "arg_ay", 902s # (gchar *) "ay", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 902s # { 902s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 902s # { 902s # { 902s # -1, 902s # (gchar *) "SingleArgSignalAy", 902s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 902s # NULL 902s # }, 902s # "single-arg-signal-ay" 902s # }; 902s # 902s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 902s # { 902s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 902s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 902s # { 902s # { 902s # -1, 902s # (gchar *) "org.project.SignalingIface", 902s # NULL, 902s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 902s # NULL, 902s # NULL 902s # }, 902s # "org-project-signaling-iface", 902s # }; 902s # 902s # 902s # /** 902s # * org_project_signaling_iface_interface_info: 902s # * 902s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 902s # * 902s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 902s # */ 902s # GDBusInterfaceInfo * 902s # org_project_signaling_iface_interface_info (void) 902s # { 902s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_override_properties: 902s # * @klass: The class structure for a #GObject derived class. 902s # * @property_id_begin: The property id to assign to the first overridden property. 902s # * 902s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 902s # * The properties are overridden in the order they are defined. 902s # * 902s # * Returns: The last property id. 902s # */ 902s # guint 902s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 902s # { 902s # return property_id_begin - 1; 902s # } 902s # 902s # 902s # inline static void 902s # org_project_signaling_iface_signal_marshal_simple_signal ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # g_cclosure_marshal_VOID__VOID (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # inline static void 902s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # g_cclosure_marshal_VOID__STRING (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # 902s # /** 902s # * OrgProjectSignalingIface: 902s # * 902s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 902s # */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceIface: 902s # * @parent_iface: The parent interface. 902s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 902s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 902s # * 902s # * Virtual table for the D-Bus interface org.project.SignalingIface. 902s # */ 902s # 902s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 902s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 902s # 902s # static void 902s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 902s # { 902s # /* GObject signals for received D-Bus signals: */ 902s # /** 902s # * OrgProjectSignalingIface::simple-signal: 902s # * @object: A #OrgProjectSignalingIface. 902s # * 902s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 902s # * 902s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 902s # */ 902s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 902s # g_signal_new ("simple-signal", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 902s # NULL, 902s # NULL, 902s # org_project_signaling_iface_signal_marshal_simple_signal, 902s # G_TYPE_NONE, 902s # 0); 902s # 902s # /** 902s # * OrgProjectSignalingIface::single-arg-signal-ay: 902s # * @object: A #OrgProjectSignalingIface. 902s # * @arg_arg_ay: Argument. 902s # * 902s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 902s # * 902s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 902s # */ 902s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 902s # g_signal_new ("single-arg-signal-ay", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 902s # NULL, 902s # NULL, 902s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 902s # G_TYPE_NONE, 902s # 1, G_TYPE_STRING); 902s # 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_emit_simple_signal: 902s # * @object: A #OrgProjectSignalingIface. 902s # * 902s # * Emits the "SimpleSignal" D-Bus signal. 902s # */ 902s # void 902s # org_project_signaling_iface_emit_simple_signal ( 902s # OrgProjectSignalingIface *object) 902s # { 902s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_emit_single_arg_signal_ay: 902s # * @object: A #OrgProjectSignalingIface. 902s # * @arg_arg_ay: Argument to pass with the signal. 902s # * 902s # * Emits the "SingleArgSignalAy" D-Bus signal. 902s # */ 902s # void 902s # org_project_signaling_iface_emit_single_arg_signal_ay ( 902s # OrgProjectSignalingIface *object, 902s # const gchar *arg_arg_ay) 902s # { 902s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 902s # } 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceProxy: 902s # * 902s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceProxyClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectSignalingIfaceProxy. 902s # */ 902s # 902s # struct _OrgProjectSignalingIfaceProxyPrivate 902s # { 902s # GData *qdata; 902s # }; 902s # 902s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 902s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_signaling_iface_proxy_finalize (GObject *object) 902s # { 902s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 902s # g_datalist_clear (&proxy->priv->qdata); 902s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # const GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 902s # const gchar *sender_name G_GNUC_UNUSED, 902s # const gchar *signal_name, 902s # GVariant *parameters) 902s # { 902s # _ExtendedGDBusSignalInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # gsize n; 902s # guint signal_id; 902s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 902s # if (info == NULL) 902s # return; 902s # num_params = g_variant_n_children (parameters); 902s # paramv = g_new0 (GValue, num_params + 1); 902s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_set_object (¶mv[0], proxy); 902s # g_variant_iter_init (&iter, parameters); 902s # n = 1; 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_signal_emitv (paramv, signal_id, 0, NULL); 902s # for (n = 0; n < num_params + 1; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 902s # GVariant *changed_properties, 902s # const gchar *const *invalidated_properties) 902s # { 902s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 902s # guint n; 902s # const gchar *key; 902s # GVariantIter *iter; 902s # _ExtendedGDBusPropertyInfo *info; 902s # g_variant_get (changed_properties, "a{sv}", &iter); 902s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 902s # g_datalist_remove_data (&proxy->priv->qdata, key); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # g_variant_iter_free (iter); 902s # for (n = 0; invalidated_properties[n] != NULL; n++) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 902s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 902s # #else 902s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 902s # #endif 902s # 902s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusProxyClass *proxy_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 902s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 902s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 902s # 902s # proxy_class = G_DBUS_PROXY_CLASS (klass); 902s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 902s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 902s # * 902s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_signaling_iface_proxy_new ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_sync: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_sync ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 902s # * 902s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_signaling_iface_proxy_new_for_bus ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_for_bus_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus_sync: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_for_bus_sync ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceSkeleton: 902s # * 902s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceSkeletonClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 902s # */ 902s # 902s # struct _OrgProjectSignalingIfaceSkeletonPrivate 902s # { 902s # GValue *properties; 902s # GList *changed_properties; 902s # GSource *changed_properties_idle_source; 902s # GMainContext *context; 902s # GMutex lock; 902s # }; 902s # 902s # static void 902s # _org_project_signaling_iface_skeleton_handle_method_call ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name, 902s # const gchar *method_name, 902s # GVariant *parameters, 902s # GDBusMethodInvocation *invocation, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # _ExtendedGDBusMethodInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # guint num_extra; 902s # gsize n; 902s # guint signal_id; 902s # GValue return_value = G_VALUE_INIT; 902s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 902s # g_assert (info != NULL); 902s # num_params = g_variant_n_children (parameters); 902s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 902s # n = 0; 902s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_set_object (¶mv[n++], skeleton); 902s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 902s # g_value_set_object (¶mv[n++], invocation); 902s # if (info->pass_fdlist) 902s # { 902s # #ifdef G_OS_UNIX 902s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 902s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 902s # #else 902s # g_assert_not_reached (); 902s # #endif 902s # } 902s # g_variant_iter_init (&iter, parameters); 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_init (&return_value, G_TYPE_BOOLEAN); 902s # g_signal_emitv (paramv, signal_id, 0, &return_value); 902s # if (!g_value_get_boolean (&return_value)) 902s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 902s # g_value_unset (&return_value); 902s # for (n = 0; n < num_params + num_extra; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static GVariant * 902s # _org_project_signaling_iface_skeleton_handle_get_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # GVariant *ret; 902s # ret = NULL; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # g_value_init (&value, pspec->value_type); 902s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 902s # g_value_unset (&value); 902s # } 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _org_project_signaling_iface_skeleton_handle_set_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GVariant *variant, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # gboolean ret; 902s # ret = FALSE; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # if (info->use_gvariant) 902s # g_value_set_variant (&value, variant); 902s # else 902s # g_dbus_gvariant_to_gvalue (variant, &value); 902s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # g_value_unset (&value); 902s # ret = TRUE; 902s # } 902s # return ret; 902s # } 902s # 902s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 902s # { 902s # _org_project_signaling_iface_skeleton_handle_method_call, 902s # _org_project_signaling_iface_skeleton_handle_get_property, 902s # _org_project_signaling_iface_skeleton_handle_set_property, 902s # {NULL} 902s # }; 902s # 902s # static GDBusInterfaceInfo * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return org_project_signaling_iface_interface_info (); 902s # } 902s # 902s # static GDBusInterfaceVTable * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 902s # } 902s # 902s # static GVariant * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 902s # 902s # GVariantBuilder builder; 902s # guint n; 902s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 902s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 902s # goto out; 902s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 902s # { 902s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 902s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 902s # { 902s # GVariant *value; 902s # 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); 902s # if (value != NULL) 902s # { 902s # g_variant_take_ref (value); 902s # g_variant_builder_add (&builder, "{sv}", info->name, value); 902s # g_variant_unref (value); 902s # } 902s # } 902s # } 902s # out: 902s # return g_variant_builder_end (&builder); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # _org_project_signaling_iface_on_signal_simple_signal ( 902s # OrgProjectSignalingIface *object) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # 902s # GList *connections, *l; 902s # GVariant *signal_variant; 902s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 902s # 902s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 902s # for (l = connections; l != NULL; l = l->next) 902s # { 902s # GDBusConnection *connection = l->data; 902s # g_dbus_connection_emit_signal (connection, 902s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 902s # signal_variant, NULL); 902s # } 902s # g_variant_unref (signal_variant); 902s # g_list_free_full (connections, g_object_unref); 902s # } 902s # 902s # static void 902s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 902s # OrgProjectSignalingIface *object, 902s # const gchar *arg_arg_ay) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # 902s # GList *connections, *l; 902s # GVariant *signal_variant; 902s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 902s # 902s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 902s # arg_arg_ay)); 902s # for (l = connections; l != NULL; l = l->next) 902s # { 902s # GDBusConnection *connection = l->data; 902s # g_dbus_connection_emit_signal (connection, 902s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 902s # signal_variant, NULL); 902s # } 902s # g_variant_unref (signal_variant); 902s # g_list_free_full (connections, g_object_unref); 902s # } 902s # 902s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_signaling_iface_skeleton_finalize (GObject *object) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 902s # if (skeleton->priv->changed_properties_idle_source != NULL) 902s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 902s # g_main_context_unref (skeleton->priv->context); 902s # g_mutex_clear (&skeleton->priv->lock); 902s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 902s # #else 902s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 902s # #endif 902s # 902s # g_mutex_init (&skeleton->priv->lock); 902s # skeleton->priv->context = g_main_context_ref_thread_default (); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusInterfaceSkeletonClass *skeleton_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 902s # 902s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 902s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 902s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 902s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 902s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 902s # { 902s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 902s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_skeleton_new: 902s # * 902s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_skeleton_new (void) 902s # { 902s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 902s # } 902s # /tmp/tmpolwfuonj/tmprxpcwc5d.xml: 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpolwfuonj/tmprxpcwc5d.xml', '--output', '-', '--body'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: /* 902s # * This file is generated by gdbus-codegen, do not modify it. 902s # * 902s # * The license of this code is the same as for the D-Bus interface description 902s # * it was derived from. Note that it links to GLib, so must comply with the 902s # * LGPL linking clauses. 902s # */ 902s # 902s # #ifdef HAVE_CONFIG_H 902s # # include "config.h" 902s # #endif 902s # 902s # #include 902s # #ifdef G_OS_UNIX 902s # # include 902s # #endif 902s # 902s # #ifdef G_ENABLE_DEBUG 902s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 902s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 902s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 902s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 902s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 902s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 902s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 902s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 902s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 902s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 902s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 902s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 902s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 902s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 902s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 902s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 902s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 902s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 902s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 902s # #else /* !G_ENABLE_DEBUG */ 902s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 902s # * Do not access GValues directly in your code. Instead, use the 902s # * g_value_get_*() functions 902s # */ 902s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 902s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 902s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 902s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 902s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 902s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 902s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 902s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 902s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 902s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 902s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 902s # #endif /* !G_ENABLE_DEBUG */ 902s # 902s # typedef struct 902s # { 902s # GDBusArgInfo parent_struct; 902s # gboolean use_gvariant; 902s # } _ExtendedGDBusArgInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusMethodInfo parent_struct; 902s # const gchar *signal_name; 902s # gboolean pass_fdlist; 902s # } _ExtendedGDBusMethodInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusSignalInfo parent_struct; 902s # const gchar *signal_name; 902s # } _ExtendedGDBusSignalInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusPropertyInfo parent_struct; 902s # const gchar *hyphen_name; 902s # guint use_gvariant : 1; 902s # guint emits_changed_signal : 1; 902s # } _ExtendedGDBusPropertyInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusInterfaceInfo parent_struct; 902s # const gchar *hyphen_name; 902s # } _ExtendedGDBusInterfaceInfo; 902s # 902s # typedef struct 902s # { 902s # const _ExtendedGDBusPropertyInfo *info; 902s # guint prop_id; 902s # GValue orig_value; /* the value before the change */ 902s # } ChangedProperty; 902s # 902s # static void 902s # _changed_property_free (ChangedProperty *data) 902s # { 902s # g_value_unset (&data->orig_value); 902s # g_free (data); 902s # } 902s # 902s # static gboolean 902s # _g_strv_equal0 (gchar **a, gchar **b) 902s # { 902s # gboolean ret = FALSE; 902s # guint n; 902s # if (a == NULL && b == NULL) 902s # { 902s # ret = TRUE; 902s # goto out; 902s # } 902s # if (a == NULL || b == NULL) 902s # goto out; 902s # if (g_strv_length (a) != g_strv_length (b)) 902s # goto out; 902s # for (n = 0; a[n] != NULL; n++) 902s # if (g_strcmp0 (a[n], b[n]) != 0) 902s # goto out; 902s # ret = TRUE; 902s # out: 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _g_variant_equal0 (GVariant *a, GVariant *b) 902s # { 902s # gboolean ret = FALSE; 902s # if (a == NULL && b == NULL) 902s # { 902s # ret = TRUE; 902s # goto out; 902s # } 902s # if (a == NULL || b == NULL) 902s # goto out; 902s # ret = g_variant_equal (a, b); 902s # out: 902s # return ret; 902s # } 902s # 902s # G_GNUC_UNUSED static gboolean 902s # _g_value_equal (const GValue *a, const GValue *b) 902s # { 902s # gboolean ret = FALSE; 902s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 902s # switch (G_VALUE_TYPE (a)) 902s # { 902s # case G_TYPE_BOOLEAN: 902s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 902s # break; 902s # case G_TYPE_UCHAR: 902s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 902s # break; 902s # case G_TYPE_INT: 902s # ret = (g_value_get_int (a) == g_value_get_int (b)); 902s # break; 902s # case G_TYPE_UINT: 902s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 902s # break; 902s # case G_TYPE_INT64: 902s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 902s # break; 902s # case G_TYPE_UINT64: 902s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 902s # break; 902s # case G_TYPE_DOUBLE: 902s # { 902s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 902s # gdouble da = g_value_get_double (a); 902s # gdouble db = g_value_get_double (b); 902s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 902s # } 902s # break; 902s # case G_TYPE_STRING: 902s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 902s # break; 902s # case G_TYPE_VARIANT: 902s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 902s # break; 902s # default: 902s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 902s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 902s # else 902s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 902s # break; 902s # } 902s # return ret; 902s # } 902s # 902s # /* ------------------------------------------------------------------------ 902s # * Code for interface org.project.SignalingIface 902s # * ------------------------------------------------------------------------ 902s # */ 902s # 902s # /** 902s # * SECTION:OrgProjectSignalingIface 902s # * @title: OrgProjectSignalingIface 902s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 902s # * 902s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 902s # */ 902s # 902s # enum 902s # { 902s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 902s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 902s # }; 902s # 902s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 902s # 902s # /* ---- Introspection data for org.project.SignalingIface ---- */ 902s # 902s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 902s # { 902s # { 902s # -1, 902s # (gchar *) "SimpleSignal", 902s # NULL, 902s # NULL 902s # }, 902s # "simple-signal" 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 902s # { 902s # { 902s # -1, 902s # (gchar *) "arg_as", 902s # (gchar *) "as", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 902s # { 902s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 902s # { 902s # { 902s # -1, 902s # (gchar *) "SingleArgSignalAs", 902s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 902s # NULL 902s # }, 902s # "single-arg-signal-as" 902s # }; 902s # 902s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 902s # { 902s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 902s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 902s # { 902s # { 902s # -1, 902s # (gchar *) "org.project.SignalingIface", 902s # NULL, 902s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 902s # NULL, 902s # NULL 902s # }, 902s # "org-project-signaling-iface", 902s # }; 902s # 902s # 902s # /** 902s # * org_project_signaling_iface_interface_info: 902s # * 902s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 902s # * 902s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 902s # */ 902s # GDBusInterfaceInfo * 902s # org_project_signaling_iface_interface_info (void) 902s # { 902s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_override_properties: 902s # * @klass: The class structure for a #GObject derived class. 902s # * @property_id_begin: The property id to assign to the first overridden property. 902s # * 902s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 902s # * The properties are overridden in the order they are defined. 902s # * 902s # * Returns: The last property id. 902s # */ 902s # guint 902s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 902s # { 902s # return property_id_begin - 1; 902s # } 902s # 902s # 902s # inline static void 902s # org_project_signaling_iface_signal_marshal_simple_signal ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # g_cclosure_marshal_VOID__VOID (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # inline static void 902s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # g_cclosure_marshal_VOID__BOXED (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # 902s # /** 902s # * OrgProjectSignalingIface: 902s # * 902s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 902s # */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceIface: 902s # * @parent_iface: The parent interface. 902s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 902s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 902s # * 902s # * Virtual table for the D-Bus interface org.project.SignalingIface. 902s # */ 902s # 902s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 902s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 902s # 902s # static void 902s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 902s # { 902s # /* GObject signals for received D-Bus signals: */ 902s # /** 902s # * OrgProjectSignalingIface::simple-signal: 902s # * @object: A #OrgProjectSignalingIface. 902s # * 902s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 902s # * 902s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 902s # */ 902s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 902s # g_signal_new ("simple-signal", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 902s # NULL, 902s # NULL, 902s # org_project_signaling_iface_signal_marshal_simple_signal, 902s # G_TYPE_NONE, 902s # 0); 902s # 902s # /** 902s # * OrgProjectSignalingIface::single-arg-signal-as: 902s # * @object: A #OrgProjectSignalingIface. 902s # * @arg_arg_as: Argument. 902s # * 902s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 902s # * 902s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 902s # */ 902s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 902s # g_signal_new ("single-arg-signal-as", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 902s # NULL, 902s # NULL, 902s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 902s # G_TYPE_NONE, 902s # 1, G_TYPE_STRV); 902s # 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_emit_simple_signal: 902s # * @object: A #OrgProjectSignalingIface. 902s # * 902s # * Emits the "SimpleSignal" D-Bus signal. 902s # */ 902s # void 902s # org_project_signaling_iface_emit_simple_signal ( 902s # OrgProjectSignalingIface *object) 902s # { 902s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_emit_single_arg_signal_as: 902s # * @object: A #OrgProjectSignalingIface. 902s # * @arg_arg_as: Argument to pass with the signal. 902s # * 902s # * Emits the "SingleArgSignalAs" D-Bus signal. 902s # */ 902s # void 902s # org_project_signaling_iface_emit_single_arg_signal_as ( 902s # OrgProjectSignalingIface *object, 902s # const gchar *const *arg_arg_as) 902s # { 902s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 902s # } 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceProxy: 902s # * 902s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceProxyClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectSignalingIfaceProxy. 902s # */ 902s # 902s # struct _OrgProjectSignalingIfaceProxyPrivate 902s # { 902s # GData *qdata; 902s # }; 902s # 902s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 902s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_signaling_iface_proxy_finalize (GObject *object) 902s # { 902s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 902s # g_datalist_clear (&proxy->priv->qdata); 902s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # const GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 902s # const gchar *sender_name G_GNUC_UNUSED, 902s # const gchar *signal_name, 902s # GVariant *parameters) 902s # { 902s # _ExtendedGDBusSignalInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # gsize n; 902s # guint signal_id; 902s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 902s # if (info == NULL) 902s # return; 902s # num_params = g_variant_n_children (parameters); 902s # paramv = g_new0 (GValue, num_params + 1); 902s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_set_object (¶mv[0], proxy); 902s # g_variant_iter_init (&iter, parameters); 902s # n = 1; 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_signal_emitv (paramv, signal_id, 0, NULL); 902s # for (n = 0; n < num_params + 1; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 902s # GVariant *changed_properties, 902s # const gchar *const *invalidated_properties) 902s # { 902s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 902s # guint n; 902s # const gchar *key; 902s # GVariantIter *iter; 902s # _ExtendedGDBusPropertyInfo *info; 902s # g_variant_get (changed_properties, "a{sv}", &iter); 902s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 902s # g_datalist_remove_data (&proxy->priv->qdata, key); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # g_variant_iter_free (iter); 902s # for (n = 0; invalidated_properties[n] != NULL; n++) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 902s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 902s # #else 902s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 902s # #endif 902s # 902s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusProxyClass *proxy_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 902s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 902s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 902s # 902s # proxy_class = G_DBUS_PROXY_CLASS (klass); 902s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 902s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 902s # * 902s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_signaling_iface_proxy_new ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_sync: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_sync ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 902s # * 902s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_signaling_iface_proxy_new_for_bus ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_for_bus_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus_sync: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_for_bus_sync ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceSkeleton: 902s # * 902s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceSkeletonClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 902s # */ 902s # 902s # struct _OrgProjectSignalingIfaceSkeletonPrivate 902s # { 902s # GValue *properties; 902s # GList *changed_properties; 902s # GSource *changed_properties_idle_source; 902s # GMainContext *context; 902s # GMutex lock; 902s # }; 902s # 902s # static void 902s # _org_project_signaling_iface_skeleton_handle_method_call ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name, 902s # const gchar *method_name, 902s # GVariant *parameters, 902s # GDBusMethodInvocation *invocation, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # _ExtendedGDBusMethodInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # guint num_extra; 902s # gsize n; 902s # guint signal_id; 902s # GValue return_value = G_VALUE_INIT; 902s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 902s # g_assert (info != NULL); 902s # num_params = g_variant_n_children (parameters); 902s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 902s # n = 0; 902s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_set_object (¶mv[n++], skeleton); 902s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 902s # g_value_set_object (¶mv[n++], invocation); 902s # if (info->pass_fdlist) 902s # { 902s # #ifdef G_OS_UNIX 902s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 902s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 902s # #else 902s # g_assert_not_reached (); 902s # #endif 902s # } 902s # g_variant_iter_init (&iter, parameters); 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_init (&return_value, G_TYPE_BOOLEAN); 902s # g_signal_emitv (paramv, signal_id, 0, &return_value); 902s # if (!g_value_get_boolean (&return_value)) 902s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 902s # g_value_unset (&return_value); 902s # for (n = 0; n < num_params + num_extra; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static GVariant * 902s # _org_project_signaling_iface_skeleton_handle_get_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # GVariant *ret; 902s # ret = NULL; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # g_value_init (&value, pspec->value_type); 902s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 902s # g_value_unset (&value); 902s # } 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _org_project_signaling_iface_skeleton_handle_set_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GVariant *variant, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # gboolean ret; 902s # ret = FALSE; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # if (info->use_gvariant) 902s # g_value_set_variant (&value, variant); 902s # else 902s # g_dbus_gvariant_to_gvalue (variant, &value); 902s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # g_value_unset (&value); 902s # ret = TRUE; 902s # } 902s # return ret; 902s # } 902s # 902s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 902s # { 902s # _org_project_signaling_iface_skeleton_handle_method_call, 902s # _org_project_signaling_iface_skeleton_handle_get_property, 902s # _org_project_signaling_iface_skeleton_handle_set_property, 902s # {NULL} 902s # }; 902s # 902s # static GDBusInterfaceInfo * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return org_project_signaling_iface_interface_info (); 902s # } 902s # 902s # static GDBusInterfaceVTable * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 902s # } 902s # 902s # static GVariant * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 902s # 902s # GVariantBuilder builder; 902s # guint n; 902s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 902s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 902s # goto out; 902s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 902s # { 902s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 902s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 902s # { 902s # GVariant *value; 902s # 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); 902s # if (value != NULL) 902s # { 902s # g_variant_take_ref (value); 902s # g_variant_builder_add (&builder, "{sv}", info->name, value); 902s # g_variant_unref (value); 902s # } 902s # } 902s # } 902s # out: 902s # return g_variant_builder_end (&builder); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # _org_project_signaling_iface_on_signal_simple_signal ( 902s # OrgProjectSignalingIface *object) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # 902s # GList *connections, *l; 902s # GVariant *signal_variant; 902s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 902s # 902s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 902s # for (l = connections; l != NULL; l = l->next) 902s # { 902s # GDBusConnection *connection = l->data; 902s # g_dbus_connection_emit_signal (connection, 902s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 902s # signal_variant, NULL); 902s # } 902s # g_variant_unref (signal_variant); 902s # g_list_free_full (connections, g_object_unref); 902s # } 902s # 902s # static void 902s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 902s # OrgProjectSignalingIface *object, 902s # const gchar *const *arg_arg_as) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # 902s # GList *connections, *l; 902s # GVariant *signal_variant; 902s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 902s # 902s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 902s # arg_arg_as)); 902s # for (l = connections; l != NULL; l = l->next) 902s # { 902s # GDBusConnection *connection = l->data; 902s # g_dbus_connection_emit_signal (connection, 902s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 902s # signal_variant, NULL); 902s # } 902s # g_variant_unref (signal_variant); 902s # g_list_free_full (connections, g_object_unref); 902s # } 902s # 902s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_signaling_iface_skeleton_finalize (GObject *object) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 902s # if (skeleton->priv->changed_properties_idle_source != NULL) 902s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 902s # g_main_context_unref (skeleton->priv->context); 902s # g_mutex_clear (&skeleton->priv->lock); 902s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 902s # #else 902s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 902s # #endif 902s # 902s # g_mutex_init (&skeleton->priv->lock); 902s # skeleton->priv->context = g_main_context_ref_thread_default (); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusInterfaceSkeletonClass *skeleton_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 902s # 902s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 902s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 902s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 902s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 902s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 902s # { 902s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 902s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_skeleton_new: 902s # * 902s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_skeleton_new (void) 902s # { 902s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 902s # } 902s # /tmp/tmpolwfuonj/tmpyifg_c6q.xml: 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpolwfuonj/tmpyifg_c6q.xml', '--output', '-', '--body'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: /* 902s # * This file is generated by gdbus-codegen, do not modify it. 902s # * 902s # * The license of this code is the same as for the D-Bus interface description 902s # * it was derived from. Note that it links to GLib, so must comply with the 902s # * LGPL linking clauses. 902s # */ 902s # 902s # #ifdef HAVE_CONFIG_H 902s # # include "config.h" 902s # #endif 902s # 902s # #include 902s # #ifdef G_OS_UNIX 902s # # include 902s # #endif 902s # 902s # #ifdef G_ENABLE_DEBUG 902s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 902s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 902s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 902s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 902s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 902s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 902s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 902s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 902s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 902s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 902s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 902s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 902s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 902s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 902s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 902s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 902s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 902s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 902s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 902s # #else /* !G_ENABLE_DEBUG */ 902s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 902s # * Do not access GValues directly in your code. Instead, use the 902s # * g_value_get_*() functions 902s # */ 902s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 902s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 902s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 902s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 902s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 902s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 902s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 902s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 902s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 902s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 902s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 902s # #endif /* !G_ENABLE_DEBUG */ 902s # 902s # typedef struct 902s # { 902s # GDBusArgInfo parent_struct; 902s # gboolean use_gvariant; 902s # } _ExtendedGDBusArgInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusMethodInfo parent_struct; 902s # const gchar *signal_name; 902s # gboolean pass_fdlist; 902s # } _ExtendedGDBusMethodInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusSignalInfo parent_struct; 902s # const gchar *signal_name; 902s # } _ExtendedGDBusSignalInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusPropertyInfo parent_struct; 902s # const gchar *hyphen_name; 902s # guint use_gvariant : 1; 902s # guint emits_changed_signal : 1; 902s # } _ExtendedGDBusPropertyInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusInterfaceInfo parent_struct; 902s # const gchar *hyphen_name; 902s # } _ExtendedGDBusInterfaceInfo; 902s # 902s # typedef struct 902s # { 902s # const _ExtendedGDBusPropertyInfo *info; 902s # guint prop_id; 902s # GValue orig_value; /* the value before the change */ 902s # } ChangedProperty; 902s # 902s # static void 902s # _changed_property_free (ChangedProperty *data) 902s # { 902s # g_value_unset (&data->orig_value); 902s # g_free (data); 902s # } 902s # 902s # static gboolean 902s # _g_strv_equal0 (gchar **a, gchar **b) 902s # { 902s # gboolean ret = FALSE; 902s # guint n; 902s # if (a == NULL && b == NULL) 902s # { 902s # ret = TRUE; 902s # goto out; 902s # } 902s # if (a == NULL || b == NULL) 902s # goto out; 902s # if (g_strv_length (a) != g_strv_length (b)) 902s # goto out; 902s # for (n = 0; a[n] != NULL; n++) 902s # if (g_strcmp0 (a[n], b[n]) != 0) 902s # goto out; 902s # ret = TRUE; 902s # out: 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _g_variant_equal0 (GVariant *a, GVariant *b) 902s # { 902s # gboolean ret = FALSE; 902s # if (a == NULL && b == NULL) 902s # { 902s # ret = TRUE; 902s # goto out; 902s # } 902s # if (a == NULL || b == NULL) 902s # goto out; 902s # ret = g_variant_equal (a, b); 902s # out: 902s # return ret; 902s # } 902s # 902s # G_GNUC_UNUSED static gboolean 902s # _g_value_equal (const GValue *a, const GValue *b) 902s # { 902s # gboolean ret = FALSE; 902s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 902s # switch (G_VALUE_TYPE (a)) 902s # { 902s # case G_TYPE_BOOLEAN: 902s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 902s # break; 902s # case G_TYPE_UCHAR: 902s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 902s # break; 902s # case G_TYPE_INT: 902s # ret = (g_value_get_int (a) == g_value_get_int (b)); 902s # break; 902s # case G_TYPE_UINT: 902s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 902s # break; 902s # case G_TYPE_INT64: 902s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 902s # break; 902s # case G_TYPE_UINT64: 902s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 902s # break; 902s # case G_TYPE_DOUBLE: 902s # { 902s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 902s # gdouble da = g_value_get_double (a); 902s # gdouble db = g_value_get_double (b); 902s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 902s # } 902s # break; 902s # case G_TYPE_STRING: 902s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 902s # break; 902s # case G_TYPE_VARIANT: 902s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 902s # break; 902s # default: 902s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 902s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 902s # else 902s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 902s # break; 902s # } 902s # return ret; 902s # } 902s # 902s # /* ------------------------------------------------------------------------ 902s # * Code for interface org.project.SignalingIface 902s # * ------------------------------------------------------------------------ 902s # */ 902s # 902s # /** 902s # * SECTION:OrgProjectSignalingIface 902s # * @title: OrgProjectSignalingIface 902s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 902s # * 902s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 902s # */ 902s # 902s # enum 902s # { 902s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 902s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 902s # }; 902s # 902s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 902s # 902s # /* ---- Introspection data for org.project.SignalingIface ---- */ 902s # 902s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 902s # { 902s # { 902s # -1, 902s # (gchar *) "SimpleSignal", 902s # NULL, 902s # NULL 902s # }, 902s # "simple-signal" 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 902s # { 902s # { 902s # -1, 902s # (gchar *) "arg_ao", 902s # (gchar *) "ao", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 902s # { 902s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 902s # { 902s # { 902s # -1, 902s # (gchar *) "SingleArgSignalAo", 902s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 902s # NULL 902s # }, 902s # "single-arg-signal-ao" 902s # }; 902s # 902s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 902s # { 902s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 902s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 902s # { 902s # { 902s # -1, 902s # (gchar *) "org.project.SignalingIface", 902s # NULL, 902s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 902s # NULL, 902s # NULL 902s # }, 902s # "org-project-signaling-iface", 902s # }; 902s # 902s # 902s # /** 902s # * org_project_signaling_iface_interface_info: 902s # * 902s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 902s # * 902s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 902s # */ 902s # GDBusInterfaceInfo * 902s # org_project_signaling_iface_interface_info (void) 902s # { 902s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_override_properties: 902s # * @klass: The class structure for a #GObject derived class. 902s # * @property_id_begin: The property id to assign to the first overridden property. 902s # * 902s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 902s # * The properties are overridden in the order they are defined. 902s # * 902s # * Returns: The last property id. 902s # */ 902s # guint 902s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 902s # { 902s # return property_id_begin - 1; 902s # } 902s # 902s # 902s # inline static void 902s # org_project_signaling_iface_signal_marshal_simple_signal ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # g_cclosure_marshal_VOID__VOID (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # inline static void 902s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # g_cclosure_marshal_VOID__BOXED (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # 902s # /** 902s # * OrgProjectSignalingIface: 902s # * 902s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 902s # */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceIface: 902s # * @parent_iface: The parent interface. 902s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 902s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 902s # * 902s # * Virtual table for the D-Bus interface org.project.SignalingIface. 902s # */ 902s # 902s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 902s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 902s # 902s # static void 902s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 902s # { 902s # /* GObject signals for received D-Bus signals: */ 902s # /** 902s # * OrgProjectSignalingIface::simple-signal: 902s # * @object: A #OrgProjectSignalingIface. 902s # * 902s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 902s # * 902s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 902s # */ 902s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 902s # g_signal_new ("simple-signal", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 902s # NULL, 902s # NULL, 902s # org_project_signaling_iface_signal_marshal_simple_signal, 902s # G_TYPE_NONE, 902s # 0); 902s # 902s # /** 902s # * OrgProjectSignalingIface::single-arg-signal-ao: 902s # * @object: A #OrgProjectSignalingIface. 902s # * @arg_arg_ao: Argument. 902s # * 902s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 902s # * 902s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 902s # */ 902s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 902s # g_signal_new ("single-arg-signal-ao", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 902s # NULL, 902s # NULL, 902s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 902s # G_TYPE_NONE, 902s # 1, G_TYPE_STRV); 902s # 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_emit_simple_signal: 902s # * @object: A #OrgProjectSignalingIface. 902s # * 902s # * Emits the "SimpleSignal" D-Bus signal. 902s # */ 902s # void 902s # org_project_signaling_iface_emit_simple_signal ( 902s # OrgProjectSignalingIface *object) 902s # { 902s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_emit_single_arg_signal_ao: 902s # * @object: A #OrgProjectSignalingIface. 902s # * @arg_arg_ao: Argument to pass with the signal. 902s # * 902s # * Emits the "SingleArgSignalAo" D-Bus signal. 902s # */ 902s # void 902s # org_project_signaling_iface_emit_single_arg_signal_ao ( 902s # OrgProjectSignalingIface *object, 902s # const gchar *const *arg_arg_ao) 902s # { 902s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 902s # } 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceProxy: 902s # * 902s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceProxyClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectSignalingIfaceProxy. 902s # */ 902s # 902s # struct _OrgProjectSignalingIfaceProxyPrivate 902s # { 902s # GData *qdata; 902s # }; 902s # 902s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 902s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_signaling_iface_proxy_finalize (GObject *object) 902s # { 902s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 902s # g_datalist_clear (&proxy->priv->qdata); 902s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # const GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 902s # const gchar *sender_name G_GNUC_UNUSED, 902s # const gchar *signal_name, 902s # GVariant *parameters) 902s # { 902s # _ExtendedGDBusSignalInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # gsize n; 902s # guint signal_id; 902s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 902s # if (info == NULL) 902s # return; 902s # num_params = g_variant_n_children (parameters); 902s # paramv = g_new0 (GValue, num_params + 1); 902s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_set_object (¶mv[0], proxy); 902s # g_variant_iter_init (&iter, parameters); 902s # n = 1; 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_signal_emitv (paramv, signal_id, 0, NULL); 902s # for (n = 0; n < num_params + 1; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 902s # GVariant *changed_properties, 902s # const gchar *const *invalidated_properties) 902s # { 902s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 902s # guint n; 902s # const gchar *key; 902s # GVariantIter *iter; 902s # _ExtendedGDBusPropertyInfo *info; 902s # g_variant_get (changed_properties, "a{sv}", &iter); 902s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 902s # g_datalist_remove_data (&proxy->priv->qdata, key); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # g_variant_iter_free (iter); 902s # for (n = 0; invalidated_properties[n] != NULL; n++) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 902s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 902s # #else 902s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 902s # #endif 902s # 902s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusProxyClass *proxy_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 902s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 902s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 902s # 902s # proxy_class = G_DBUS_PROXY_CLASS (klass); 902s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 902s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 902s # * 902s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_signaling_iface_proxy_new ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_sync: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_sync ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 902s # * 902s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_signaling_iface_proxy_new_for_bus ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_for_bus_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus_sync: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_for_bus_sync ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceSkeleton: 902s # * 902s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceSkeletonClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 902s # */ 902s # 902s # struct _OrgProjectSignalingIfaceSkeletonPrivate 902s # { 902s # GValue *properties; 902s # GList *changed_properties; 902s # GSource *changed_properties_idle_source; 902s # GMainContext *context; 902s # GMutex lock; 902s # }; 902s # 902s # static void 902s # _org_project_signaling_iface_skeleton_handle_method_call ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name, 902s # const gchar *method_name, 902s # GVariant *parameters, 902s # GDBusMethodInvocation *invocation, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # _ExtendedGDBusMethodInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # guint num_extra; 902s # gsize n; 902s # guint signal_id; 902s # GValue return_value = G_VALUE_INIT; 902s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 902s # g_assert (info != NULL); 902s # num_params = g_variant_n_children (parameters); 902s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 902s # n = 0; 902s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_set_object (¶mv[n++], skeleton); 902s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 902s # g_value_set_object (¶mv[n++], invocation); 902s # if (info->pass_fdlist) 902s # { 902s # #ifdef G_OS_UNIX 902s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 902s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 902s # #else 902s # g_assert_not_reached (); 902s # #endif 902s # } 902s # g_variant_iter_init (&iter, parameters); 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_init (&return_value, G_TYPE_BOOLEAN); 902s # g_signal_emitv (paramv, signal_id, 0, &return_value); 902s # if (!g_value_get_boolean (&return_value)) 902s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 902s # g_value_unset (&return_value); 902s # for (n = 0; n < num_params + num_extra; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static GVariant * 902s # _org_project_signaling_iface_skeleton_handle_get_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # GVariant *ret; 902s # ret = NULL; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # g_value_init (&value, pspec->value_type); 902s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 902s # g_value_unset (&value); 902s # } 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _org_project_signaling_iface_skeleton_handle_set_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GVariant *variant, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # gboolean ret; 902s # ret = FALSE; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # if (info->use_gvariant) 902s # g_value_set_variant (&value, variant); 902s # else 902s # g_dbus_gvariant_to_gvalue (variant, &value); 902s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # g_value_unset (&value); 902s # ret = TRUE; 902s # } 902s # return ret; 902s # } 902s # 902s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 902s # { 902s # _org_project_signaling_iface_skeleton_handle_method_call, 902s # _org_project_signaling_iface_skeleton_handle_get_property, 902s # _org_project_signaling_iface_skeleton_handle_set_property, 902s # {NULL} 902s # }; 902s # 902s # static GDBusInterfaceInfo * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return org_project_signaling_iface_interface_info (); 902s # } 902s # 902s # static GDBusInterfaceVTable * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 902s # } 902s # 902s # static GVariant * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 902s # 902s # GVariantBuilder builder; 902s # guint n; 902s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 902s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 902s # goto out; 902s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 902s # { 902s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 902s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 902s # { 902s # GVariant *value; 902s # 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); 902s # if (value != NULL) 902s # { 902s # g_variant_take_ref (value); 902s # g_variant_builder_add (&builder, "{sv}", info->name, value); 902s # g_variant_unref (value); 902s # } 902s # } 902s # } 902s # out: 902s # return g_variant_builder_end (&builder); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # _org_project_signaling_iface_on_signal_simple_signal ( 902s # OrgProjectSignalingIface *object) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # 902s # GList *connections, *l; 902s # GVariant *signal_variant; 902s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 902s # 902s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 902s # for (l = connections; l != NULL; l = l->next) 902s # { 902s # GDBusConnection *connection = l->data; 902s # g_dbus_connection_emit_signal (connection, 902s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 902s # signal_variant, NULL); 902s # } 902s # g_variant_unref (signal_variant); 902s # g_list_free_full (connections, g_object_unref); 902s # } 902s # 902s # static void 902s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 902s # OrgProjectSignalingIface *object, 902s # const gchar *const *arg_arg_ao) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # 902s # GList *connections, *l; 902s # GVariant *signal_variant; 902s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 902s # 902s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 902s # arg_arg_ao)); 902s # for (l = connections; l != NULL; l = l->next) 902s # { 902s # GDBusConnection *connection = l->data; 902s # g_dbus_connection_emit_signal (connection, 902s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 902s # signal_variant, NULL); 902s # } 902s # g_variant_unref (signal_variant); 902s # g_list_free_full (connections, g_object_unref); 902s # } 902s # 902s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_signaling_iface_skeleton_finalize (GObject *object) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 902s # if (skeleton->priv->changed_properties_idle_source != NULL) 902s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 902s # g_main_context_unref (skeleton->priv->context); 902s # g_mutex_clear (&skeleton->priv->lock); 902s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 902s # #else 902s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 902s # #endif 902s # 902s # g_mutex_init (&skeleton->priv->lock); 902s # skeleton->priv->context = g_main_context_ref_thread_default (); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusInterfaceSkeletonClass *skeleton_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 902s # 902s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 902s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 902s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 902s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 902s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 902s # { 902s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 902s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_skeleton_new: 902s # * 902s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_skeleton_new (void) 902s # { 902s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 902s # } 902s # /tmp/tmpolwfuonj/tmp4zlf7d_1.xml: 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpolwfuonj/tmp4zlf7d_1.xml', '--output', '-', '--body'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: /* 902s # * This file is generated by gdbus-codegen, do not modify it. 902s # * 902s # * The license of this code is the same as for the D-Bus interface description 902s # * it was derived from. Note that it links to GLib, so must comply with the 902s # * LGPL linking clauses. 902s # */ 902s # 902s # #ifdef HAVE_CONFIG_H 902s # # include "config.h" 902s # #endif 902s # 902s # #include 902s # #ifdef G_OS_UNIX 902s # # include 902s # #endif 902s # 902s # #ifdef G_ENABLE_DEBUG 902s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 902s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 902s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 902s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 902s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 902s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 902s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 902s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 902s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 902s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 902s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 902s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 902s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 902s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 902s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 902s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 902s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 902s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 902s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 902s # #else /* !G_ENABLE_DEBUG */ 902s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 902s # * Do not access GValues directly in your code. Instead, use the 902s # * g_value_get_*() functions 902s # */ 902s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 902s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 902s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 902s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 902s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 902s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 902s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 902s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 902s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 902s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 902s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 902s # #endif /* !G_ENABLE_DEBUG */ 902s # 902s # typedef struct 902s # { 902s # GDBusArgInfo parent_struct; 902s # gboolean use_gvariant; 902s # } _ExtendedGDBusArgInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusMethodInfo parent_struct; 902s # const gchar *signal_name; 902s # gboolean pass_fdlist; 902s # } _ExtendedGDBusMethodInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusSignalInfo parent_struct; 902s # const gchar *signal_name; 902s # } _ExtendedGDBusSignalInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusPropertyInfo parent_struct; 902s # const gchar *hyphen_name; 902s # guint use_gvariant : 1; 902s # guint emits_changed_signal : 1; 902s # } _ExtendedGDBusPropertyInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusInterfaceInfo parent_struct; 902s # const gchar *hyphen_name; 902s # } _ExtendedGDBusInterfaceInfo; 902s # 902s # typedef struct 902s # { 902s # const _ExtendedGDBusPropertyInfo *info; 902s # guint prop_id; 902s # GValue orig_value; /* the value before the change */ 902s # } ChangedProperty; 902s # 902s # static void 902s # _changed_property_free (ChangedProperty *data) 902s # { 902s # g_value_unset (&data->orig_value); 902s # g_free (data); 902s # } 902s # 902s # static gboolean 902s # _g_strv_equal0 (gchar **a, gchar **b) 902s # { 902s # gboolean ret = FALSE; 902s # guint n; 902s # if (a == NULL && b == NULL) 902s # { 902s # ret = TRUE; 902s # goto out; 902s # } 902s # if (a == NULL || b == NULL) 902s # goto out; 902s # if (g_strv_length (a) != g_strv_length (b)) 902s # goto out; 902s # for (n = 0; a[n] != NULL; n++) 902s # if (g_strcmp0 (a[n], b[n]) != 0) 902s # goto out; 902s # ret = TRUE; 902s # out: 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _g_variant_equal0 (GVariant *a, GVariant *b) 902s # { 902s # gboolean ret = FALSE; 902s # if (a == NULL && b == NULL) 902s # { 902s # ret = TRUE; 902s # goto out; 902s # } 902s # if (a == NULL || b == NULL) 902s # goto out; 902s # ret = g_variant_equal (a, b); 902s # out: 902s # return ret; 902s # } 902s # 902s # G_GNUC_UNUSED static gboolean 902s # _g_value_equal (const GValue *a, const GValue *b) 902s # { 902s # gboolean ret = FALSE; 902s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 902s # switch (G_VALUE_TYPE (a)) 902s # { 902s # case G_TYPE_BOOLEAN: 902s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 902s # break; 902s # case G_TYPE_UCHAR: 902s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 902s # break; 902s # case G_TYPE_INT: 902s # ret = (g_value_get_int (a) == g_value_get_int (b)); 902s # break; 902s # case G_TYPE_UINT: 902s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 902s # break; 902s # case G_TYPE_INT64: 902s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 902s # break; 902s # case G_TYPE_UINT64: 902s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 902s # break; 902s # case G_TYPE_DOUBLE: 902s # { 902s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 902s # gdouble da = g_value_get_double (a); 902s # gdouble db = g_value_get_double (b); 902s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 902s # } 902s # break; 902s # case G_TYPE_STRING: 902s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 902s # break; 902s # case G_TYPE_VARIANT: 902s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 902s # break; 902s # default: 902s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 902s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 902s # else 902s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 902s # break; 902s # } 902s # return ret; 902s # } 902s # 902s # /* ------------------------------------------------------------------------ 902s # * Code for interface org.project.SignalingIface 902s # * ------------------------------------------------------------------------ 902s # */ 902s # 902s # /** 902s # * SECTION:OrgProjectSignalingIface 902s # * @title: OrgProjectSignalingIface 902s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 902s # * 902s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 902s # */ 902s # 902s # enum 902s # { 902s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 902s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 902s # }; 902s # 902s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 902s # 902s # /* ---- Introspection data for org.project.SignalingIface ---- */ 902s # 902s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 902s # { 902s # { 902s # -1, 902s # (gchar *) "SimpleSignal", 902s # NULL, 902s # NULL 902s # }, 902s # "simple-signal" 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 902s # { 902s # { 902s # -1, 902s # (gchar *) "arg_aay", 902s # (gchar *) "aay", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 902s # { 902s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 902s # { 902s # { 902s # -1, 902s # (gchar *) "SingleArgSignalAay", 902s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 902s # NULL 902s # }, 902s # "single-arg-signal-aay" 902s # }; 902s # 902s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 902s # { 902s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 902s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 902s # { 902s # { 902s # -1, 902s # (gchar *) "org.project.SignalingIface", 902s # NULL, 902s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 902s # NULL, 902s # NULL 902s # }, 902s # "org-project-signaling-iface", 902s # }; 902s # 902s # 902s # /** 902s # * org_project_signaling_iface_interface_info: 902s # * 902s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 902s # * 902s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 902s # */ 902s # GDBusInterfaceInfo * 902s # org_project_signaling_iface_interface_info (void) 902s # { 902s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_override_properties: 902s # * @klass: The class structure for a #GObject derived class. 902s # * @property_id_begin: The property id to assign to the first overridden property. 902s # * 902s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 902s # * The properties are overridden in the order they are defined. 902s # * 902s # * Returns: The last property id. 902s # */ 902s # guint 902s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 902s # { 902s # return property_id_begin - 1; 902s # } 902s # 902s # 902s # inline static void 902s # org_project_signaling_iface_signal_marshal_simple_signal ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # g_cclosure_marshal_VOID__VOID (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # inline static void 902s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # g_cclosure_marshal_VOID__BOXED (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # 902s # /** 902s # * OrgProjectSignalingIface: 902s # * 902s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 902s # */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceIface: 902s # * @parent_iface: The parent interface. 902s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 902s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 902s # * 902s # * Virtual table for the D-Bus interface org.project.SignalingIface. 902s # */ 902s # 902s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 902s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 902s # 902s # static void 902s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 902s # { 902s # /* GObject signals for received D-Bus signals: */ 902s # /** 902s # * OrgProjectSignalingIface::simple-signal: 902s # * @object: A #OrgProjectSignalingIface. 902s # * 902s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 902s # * 902s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 902s # */ 902s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 902s # g_signal_new ("simple-signal", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 902s # NULL, 902s # NULL, 902s # org_project_signaling_iface_signal_marshal_simple_signal, 902s # G_TYPE_NONE, 902s # 0); 902s # 902s # /** 902s # * OrgProjectSignalingIface::single-arg-signal-aay: 902s # * @object: A #OrgProjectSignalingIface. 902s # * @arg_arg_aay: Argument. 902s # * 902s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 902s # * 902s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 902s # */ 902s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 902s # g_signal_new ("single-arg-signal-aay", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 902s # NULL, 902s # NULL, 902s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 902s # G_TYPE_NONE, 902s # 1, G_TYPE_STRV); 902s # 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_emit_simple_signal: 902s # * @object: A #OrgProjectSignalingIface. 902s # * 902s # * Emits the "SimpleSignal" D-Bus signal. 902s # */ 902s # void 902s # org_project_signaling_iface_emit_simple_signal ( 902s # OrgProjectSignalingIface *object) 902s # { 902s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_emit_single_arg_signal_aay: 902s # * @object: A #OrgProjectSignalingIface. 902s # * @arg_arg_aay: Argument to pass with the signal. 902s # * 902s # * Emits the "SingleArgSignalAay" D-Bus signal. 902s # */ 902s # void 902s # org_project_signaling_iface_emit_single_arg_signal_aay ( 902s # OrgProjectSignalingIface *object, 902s # const gchar *const *arg_arg_aay) 902s # { 902s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 902s # } 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceProxy: 902s # * 902s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceProxyClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectSignalingIfaceProxy. 902s # */ 902s # 902s # struct _OrgProjectSignalingIfaceProxyPrivate 902s # { 902s # GData *qdata; 902s # }; 902s # 902s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 902s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_signaling_iface_proxy_finalize (GObject *object) 902s # { 902s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 902s # g_datalist_clear (&proxy->priv->qdata); 902s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # const GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 902s # const gchar *sender_name G_GNUC_UNUSED, 902s # const gchar *signal_name, 902s # GVariant *parameters) 902s # { 902s # _ExtendedGDBusSignalInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # gsize n; 902s # guint signal_id; 902s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 902s # if (info == NULL) 902s # return; 902s # num_params = g_variant_n_children (parameters); 902s # paramv = g_new0 (GValue, num_params + 1); 902s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_set_object (¶mv[0], proxy); 902s # g_variant_iter_init (&iter, parameters); 902s # n = 1; 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_signal_emitv (paramv, signal_id, 0, NULL); 902s # for (n = 0; n < num_params + 1; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 902s # GVariant *changed_properties, 902s # const gchar *const *invalidated_properties) 902s # { 902s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 902s # guint n; 902s # const gchar *key; 902s # GVariantIter *iter; 902s # _ExtendedGDBusPropertyInfo *info; 902s # g_variant_get (changed_properties, "a{sv}", &iter); 902s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 902s # g_datalist_remove_data (&proxy->priv->qdata, key); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # g_variant_iter_free (iter); 902s # for (n = 0; invalidated_properties[n] != NULL; n++) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 902s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 902s # #else 902s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 902s # #endif 902s # 902s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusProxyClass *proxy_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 902s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 902s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 902s # 902s # proxy_class = G_DBUS_PROXY_CLASS (klass); 902s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 902s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 902s # * 902s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_signaling_iface_proxy_new ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_sync: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_sync ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 902s # * 902s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_signaling_iface_proxy_new_for_bus ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_for_bus_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus_sync: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_for_bus_sync ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceSkeleton: 902s # * 902s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceSkeletonClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 902s # */ 902s # 902s # struct _OrgProjectSignalingIfaceSkeletonPrivate 902s # { 902s # GValue *properties; 902s # GList *changed_properties; 902s # GSource *changed_properties_idle_source; 902s # GMainContext *context; 902s # GMutex lock; 902s # }; 902s # 902s # static void 902s # _org_project_signaling_iface_skeleton_handle_method_call ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name, 902s # const gchar *method_name, 902s # GVariant *parameters, 902s # GDBusMethodInvocation *invocation, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # _ExtendedGDBusMethodInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # guint num_extra; 902s # gsize n; 902s # guint signal_id; 902s # GValue return_value = G_VALUE_INIT; 902s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 902s # g_assert (info != NULL); 902s # num_params = g_variant_n_children (parameters); 902s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 902s # n = 0; 902s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_set_object (¶mv[n++], skeleton); 902s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 902s # g_value_set_object (¶mv[n++], invocation); 902s # if (info->pass_fdlist) 902s # { 902s # #ifdef G_OS_UNIX 902s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 902s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 902s # #else 902s # g_assert_not_reached (); 902s # #endif 902s # } 902s # g_variant_iter_init (&iter, parameters); 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_init (&return_value, G_TYPE_BOOLEAN); 902s # g_signal_emitv (paramv, signal_id, 0, &return_value); 902s # if (!g_value_get_boolean (&return_value)) 902s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 902s # g_value_unset (&return_value); 902s # for (n = 0; n < num_params + num_extra; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static GVariant * 902s # _org_project_signaling_iface_skeleton_handle_get_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # GVariant *ret; 902s # ret = NULL; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # g_value_init (&value, pspec->value_type); 902s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 902s # g_value_unset (&value); 902s # } 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _org_project_signaling_iface_skeleton_handle_set_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GVariant *variant, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # gboolean ret; 902s # ret = FALSE; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # if (info->use_gvariant) 902s # g_value_set_variant (&value, variant); 902s # else 902s # g_dbus_gvariant_to_gvalue (variant, &value); 902s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # g_value_unset (&value); 902s # ret = TRUE; 902s # } 902s # return ret; 902s # } 902s # 902s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 902s # { 902s # _org_project_signaling_iface_skeleton_handle_method_call, 902s # _org_project_signaling_iface_skeleton_handle_get_property, 902s # _org_project_signaling_iface_skeleton_handle_set_property, 902s # {NULL} 902s # }; 902s # 902s # static GDBusInterfaceInfo * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return org_project_signaling_iface_interface_info (); 902s # } 902s # 902s # static GDBusInterfaceVTable * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 902s # } 902s # 902s # static GVariant * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 902s # 902s # GVariantBuilder builder; 902s # guint n; 902s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 902s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 902s # goto out; 902s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 902s # { 902s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 902s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 902s # { 902s # GVariant *value; 902s # 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); 902s # if (value != NULL) 902s # { 902s # g_variant_take_ref (value); 902s # g_variant_builder_add (&builder, "{sv}", info->name, value); 902s # g_variant_unref (value); 902s # } 902s # } 902s # } 902s # out: 902s # return g_variant_builder_end (&builder); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # _org_project_signaling_iface_on_signal_simple_signal ( 902s # OrgProjectSignalingIface *object) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # 902s # GList *connections, *l; 902s # GVariant *signal_variant; 902s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 902s # 902s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 902s # for (l = connections; l != NULL; l = l->next) 902s # { 902s # GDBusConnection *connection = l->data; 902s # g_dbus_connection_emit_signal (connection, 902s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 902s # signal_variant, NULL); 902s # } 902s # g_variant_unref (signal_variant); 902s # g_list_free_full (connections, g_object_unref); 902s # } 902s # 902s # static void 902s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 902s # OrgProjectSignalingIface *object, 902s # const gchar *const *arg_arg_aay) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # 902s # GList *connections, *l; 902s # GVariant *signal_variant; 902s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 902s # 902s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 902s # arg_arg_aay)); 902s # for (l = connections; l != NULL; l = l->next) 902s # { 902s # GDBusConnection *connection = l->data; 902s # g_dbus_connection_emit_signal (connection, 902s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 902s # signal_variant, NULL); 902s # } 902s # g_variant_unref (signal_variant); 902s # g_list_free_full (connections, g_object_unref); 902s # } 902s # 902s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_signaling_iface_skeleton_finalize (GObject *object) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 902s # if (skeleton->priv->changed_properties_idle_source != NULL) 902s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 902s # g_main_context_unref (skeleton->priv->context); 902s # g_mutex_clear (&skeleton->priv->lock); 902s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 902s # #else 902s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 902s # #endif 902s # 902s # g_mutex_init (&skeleton->priv->lock); 902s # skeleton->priv->context = g_main_context_ref_thread_default (); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusInterfaceSkeletonClass *skeleton_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 902s # 902s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 902s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 902s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 902s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 902s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 902s # { 902s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 902s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_skeleton_new: 902s # * 902s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_skeleton_new (void) 902s # { 902s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 902s # } 902s # /tmp/tmpolwfuonj/tmpbrpa8sct.xml: 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpolwfuonj/tmpbrpa8sct.xml', '--output', '-', '--body'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: /* 902s # * This file is generated by gdbus-codegen, do not modify it. 902s # * 902s # * The license of this code is the same as for the D-Bus interface description 902s # * it was derived from. Note that it links to GLib, so must comply with the 902s # * LGPL linking clauses. 902s # */ 902s # 902s # #ifdef HAVE_CONFIG_H 902s # # include "config.h" 902s # #endif 902s # 902s # #include 902s # #ifdef G_OS_UNIX 902s # # include 902s # #endif 902s # 902s # #ifdef G_ENABLE_DEBUG 902s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 902s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 902s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 902s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 902s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 902s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 902s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 902s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 902s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 902s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 902s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 902s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 902s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 902s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 902s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 902s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 902s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 902s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 902s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 902s # #else /* !G_ENABLE_DEBUG */ 902s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 902s # * Do not access GValues directly in your code. Instead, use the 902s # * g_value_get_*() functions 902s # */ 902s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 902s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 902s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 902s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 902s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 902s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 902s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 902s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 902s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 902s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 902s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 902s # #endif /* !G_ENABLE_DEBUG */ 902s # 902s # typedef struct 902s # { 902s # GDBusArgInfo parent_struct; 902s # gboolean use_gvariant; 902s # } _ExtendedGDBusArgInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusMethodInfo parent_struct; 902s # const gchar *signal_name; 902s # gboolean pass_fdlist; 902s # } _ExtendedGDBusMethodInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusSignalInfo parent_struct; 902s # const gchar *signal_name; 902s # } _ExtendedGDBusSignalInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusPropertyInfo parent_struct; 902s # const gchar *hyphen_name; 902s # guint use_gvariant : 1; 902s # guint emits_changed_signal : 1; 902s # } _ExtendedGDBusPropertyInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusInterfaceInfo parent_struct; 902s # const gchar *hyphen_name; 902s # } _ExtendedGDBusInterfaceInfo; 902s # 902s # typedef struct 902s # { 902s # const _ExtendedGDBusPropertyInfo *info; 902s # guint prop_id; 902s # GValue orig_value; /* the value before the change */ 902s # } ChangedProperty; 902s # 902s # static void 902s # _changed_property_free (ChangedProperty *data) 902s # { 902s # g_value_unset (&data->orig_value); 902s # g_free (data); 902s # } 902s # 902s # static gboolean 902s # _g_strv_equal0 (gchar **a, gchar **b) 902s # { 902s # gboolean ret = FALSE; 902s # guint n; 902s # if (a == NULL && b == NULL) 902s # { 902s # ret = TRUE; 902s # goto out; 902s # } 902s # if (a == NULL || b == NULL) 902s # goto out; 902s # if (g_strv_length (a) != g_strv_length (b)) 902s # goto out; 902s # for (n = 0; a[n] != NULL; n++) 902s # if (g_strcmp0 (a[n], b[n]) != 0) 902s # goto out; 902s # ret = TRUE; 902s # out: 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _g_variant_equal0 (GVariant *a, GVariant *b) 902s # { 902s # gboolean ret = FALSE; 902s # if (a == NULL && b == NULL) 902s # { 902s # ret = TRUE; 902s # goto out; 902s # } 902s # if (a == NULL || b == NULL) 902s # goto out; 902s # ret = g_variant_equal (a, b); 902s # out: 902s # return ret; 902s # } 902s # 902s # G_GNUC_UNUSED static gboolean 902s # _g_value_equal (const GValue *a, const GValue *b) 902s # { 902s # gboolean ret = FALSE; 902s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 902s # switch (G_VALUE_TYPE (a)) 902s # { 902s # case G_TYPE_BOOLEAN: 902s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 902s # break; 902s # case G_TYPE_UCHAR: 902s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 902s # break; 902s # case G_TYPE_INT: 902s # ret = (g_value_get_int (a) == g_value_get_int (b)); 902s # break; 902s # case G_TYPE_UINT: 902s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 902s # break; 902s # case G_TYPE_INT64: 902s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 902s # break; 902s # case G_TYPE_UINT64: 902s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 902s # break; 902s # case G_TYPE_DOUBLE: 902s # { 902s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 902s # gdouble da = g_value_get_double (a); 902s # gdouble db = g_value_get_double (b); 902s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 902s # } 902s # break; 902s # case G_TYPE_STRING: 902s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 902s # break; 902s # case G_TYPE_VARIANT: 902s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 902s # break; 902s # default: 902s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 902s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 902s # else 902s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 902s # break; 902s # } 902s # return ret; 902s # } 902s # 902s # /* ------------------------------------------------------------------------ 902s # * Code for interface org.project.SignalingIface 902s # * ------------------------------------------------------------------------ 902s # */ 902s # 902s # /** 902s # * SECTION:OrgProjectSignalingIface 902s # * @title: OrgProjectSignalingIface 902s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 902s # * 902s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 902s # */ 902s # 902s # enum 902s # { 902s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 902s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 902s # }; 902s # 902s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 902s # 902s # /* ---- Introspection data for org.project.SignalingIface ---- */ 902s # 902s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 902s # { 902s # { 902s # -1, 902s # (gchar *) "SimpleSignal", 902s # NULL, 902s # NULL 902s # }, 902s # "simple-signal" 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 902s # { 902s # { 902s # -1, 902s # (gchar *) "arg_asv", 902s # (gchar *) "a{sv}", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 902s # { 902s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 902s # { 902s # { 902s # -1, 902s # (gchar *) "SingleArgSignalAsv", 902s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 902s # NULL 902s # }, 902s # "single-arg-signal-asv" 902s # }; 902s # 902s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 902s # { 902s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 902s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 902s # { 902s # { 902s # -1, 902s # (gchar *) "org.project.SignalingIface", 902s # NULL, 902s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 902s # NULL, 902s # NULL 902s # }, 902s # "org-project-signaling-iface", 902s # }; 902s # 902s # 902s # /** 902s # * org_project_signaling_iface_interface_info: 902s # * 902s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 902s # * 902s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 902s # */ 902s # GDBusInterfaceInfo * 902s # org_project_signaling_iface_interface_info (void) 902s # { 902s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_override_properties: 902s # * @klass: The class structure for a #GObject derived class. 902s # * @property_id_begin: The property id to assign to the first overridden property. 902s # * 902s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 902s # * The properties are overridden in the order they are defined. 902s # * 902s # * Returns: The last property id. 902s # */ 902s # guint 902s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 902s # { 902s # return property_id_begin - 1; 902s # } 902s # 902s # 902s # inline static void 902s # org_project_signaling_iface_signal_marshal_simple_signal ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # g_cclosure_marshal_VOID__VOID (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # inline static void 902s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # g_cclosure_marshal_VOID__VARIANT (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # 902s # /** 902s # * OrgProjectSignalingIface: 902s # * 902s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 902s # */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceIface: 902s # * @parent_iface: The parent interface. 902s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 902s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 902s # * 902s # * Virtual table for the D-Bus interface org.project.SignalingIface. 902s # */ 902s # 902s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 902s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 902s # 902s # static void 902s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 902s # { 902s # /* GObject signals for received D-Bus signals: */ 902s # /** 902s # * OrgProjectSignalingIface::simple-signal: 902s # * @object: A #OrgProjectSignalingIface. 902s # * 902s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 902s # * 902s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 902s # */ 902s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 902s # g_signal_new ("simple-signal", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 902s # NULL, 902s # NULL, 902s # org_project_signaling_iface_signal_marshal_simple_signal, 902s # G_TYPE_NONE, 902s # 0); 902s # 902s # /** 902s # * OrgProjectSignalingIface::single-arg-signal-asv: 902s # * @object: A #OrgProjectSignalingIface. 902s # * @arg_arg_asv: Argument. 902s # * 902s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 902s # * 902s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 902s # */ 902s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 902s # g_signal_new ("single-arg-signal-asv", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 902s # NULL, 902s # NULL, 902s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 902s # G_TYPE_NONE, 902s # 1, G_TYPE_VARIANT); 902s # 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_emit_simple_signal: 902s # * @object: A #OrgProjectSignalingIface. 902s # * 902s # * Emits the "SimpleSignal" D-Bus signal. 902s # */ 902s # void 902s # org_project_signaling_iface_emit_simple_signal ( 902s # OrgProjectSignalingIface *object) 902s # { 902s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_emit_single_arg_signal_asv: 902s # * @object: A #OrgProjectSignalingIface. 902s # * @arg_arg_asv: Argument to pass with the signal. 902s # * 902s # * Emits the "SingleArgSignalAsv" D-Bus signal. 902s # */ 902s # void 902s # org_project_signaling_iface_emit_single_arg_signal_asv ( 902s # OrgProjectSignalingIface *object, 902s # GVariant *arg_arg_asv) 902s # { 902s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 902s # } 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceProxy: 902s # * 902s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceProxyClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectSignalingIfaceProxy. 902s # */ 902s # 902s # struct _OrgProjectSignalingIfaceProxyPrivate 902s # { 902s # GData *qdata; 902s # }; 902s # 902s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 902s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_signaling_iface_proxy_finalize (GObject *object) 902s # { 902s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 902s # g_datalist_clear (&proxy->priv->qdata); 902s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # const GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 902s # const gchar *sender_name G_GNUC_UNUSED, 902s # const gchar *signal_name, 902s # GVariant *parameters) 902s # { 902s # _ExtendedGDBusSignalInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # gsize n; 902s # guint signal_id; 902s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 902s # if (info == NULL) 902s # return; 902s # num_params = g_variant_n_children (parameters); 902s # paramv = g_new0 (GValue, num_params + 1); 902s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_set_object (¶mv[0], proxy); 902s # g_variant_iter_init (&iter, parameters); 902s # n = 1; 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_signal_emitv (paramv, signal_id, 0, NULL); 902s # for (n = 0; n < num_params + 1; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 902s # GVariant *changed_properties, 902s # const gchar *const *invalidated_properties) 902s # { 902s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 902s # guint n; 902s # const gchar *key; 902s # GVariantIter *iter; 902s # _ExtendedGDBusPropertyInfo *info; 902s # g_variant_get (changed_properties, "a{sv}", &iter); 902s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 902s # g_datalist_remove_data (&proxy->priv->qdata, key); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # g_variant_iter_free (iter); 902s # for (n = 0; invalidated_properties[n] != NULL; n++) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 902s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 902s # #else 902s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 902s # #endif 902s # 902s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusProxyClass *proxy_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 902s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 902s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 902s # 902s # proxy_class = G_DBUS_PROXY_CLASS (klass); 902s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 902s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 902s # * 902s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_signaling_iface_proxy_new ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_sync: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_sync ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 902s # * 902s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_signaling_iface_proxy_new_for_bus ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_for_bus_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus_sync: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_for_bus_sync ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceSkeleton: 902s # * 902s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceSkeletonClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 902s # */ 902s # 902s # struct _OrgProjectSignalingIfaceSkeletonPrivate 902s # { 902s # GValue *properties; 902s # GList *changed_properties; 902s # GSource *changed_properties_idle_source; 902s # GMainContext *context; 902s # GMutex lock; 902s # }; 902s # 902s # static void 902s # _org_project_signaling_iface_skeleton_handle_method_call ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name, 902s # const gchar *method_name, 902s # GVariant *parameters, 902s # GDBusMethodInvocation *invocation, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # _ExtendedGDBusMethodInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # guint num_extra; 902s # gsize n; 902s # guint signal_id; 902s # GValue return_value = G_VALUE_INIT; 902s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 902s # g_assert (info != NULL); 902s # num_params = g_variant_n_children (parameters); 902s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 902s # n = 0; 902s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_set_object (¶mv[n++], skeleton); 902s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 902s # g_value_set_object (¶mv[n++], invocation); 902s # if (info->pass_fdlist) 902s # { 902s # #ifdef G_OS_UNIX 902s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 902s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 902s # #else 902s # g_assert_not_reached (); 902s # #endif 902s # } 902s # g_variant_iter_init (&iter, parameters); 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_init (&return_value, G_TYPE_BOOLEAN); 902s # g_signal_emitv (paramv, signal_id, 0, &return_value); 902s # if (!g_value_get_boolean (&return_value)) 902s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 902s # g_value_unset (&return_value); 902s # for (n = 0; n < num_params + num_extra; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static GVariant * 902s # _org_project_signaling_iface_skeleton_handle_get_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # GVariant *ret; 902s # ret = NULL; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # g_value_init (&value, pspec->value_type); 902s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 902s # g_value_unset (&value); 902s # } 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _org_project_signaling_iface_skeleton_handle_set_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GVariant *variant, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # gboolean ret; 902s # ret = FALSE; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # if (info->use_gvariant) 902s # g_value_set_variant (&value, variant); 902s # else 902s # g_dbus_gvariant_to_gvalue (variant, &value); 902s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # g_value_unset (&value); 902s # ret = TRUE; 902s # } 902s # return ret; 902s # } 902s # 902s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 902s # { 902s # _org_project_signaling_iface_skeleton_handle_method_call, 902s # _org_project_signaling_iface_skeleton_handle_get_property, 902s # _org_project_signaling_iface_skeleton_handle_set_property, 902s # {NULL} 902s # }; 902s # 902s # static GDBusInterfaceInfo * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return org_project_signaling_iface_interface_info (); 902s # } 902s # 902s # static GDBusInterfaceVTable * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 902s # } 902s # 902s # static GVariant * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 902s # 902s # GVariantBuilder builder; 902s # guint n; 902s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 902s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 902s # goto out; 902s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 902s # { 902s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 902s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 902s # { 902s # GVariant *value; 902s # 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); 902s # if (value != NULL) 902s # { 902s # g_variant_take_ref (value); 902s # g_variant_builder_add (&builder, "{sv}", info->name, value); 902s # g_variant_unref (value); 902s # } 902s # } 902s # } 902s # out: 902s # return g_variant_builder_end (&builder); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # _org_project_signaling_iface_on_signal_simple_signal ( 902s # OrgProjectSignalingIface *object) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # 902s # GList *connections, *l; 902s # GVariant *signal_variant; 902s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 902s # 902s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 902s # for (l = connections; l != NULL; l = l->next) 902s # { 902s # GDBusConnection *connection = l->data; 902s # g_dbus_connection_emit_signal (connection, 902s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 902s # signal_variant, NULL); 902s # } 902s # g_variant_unref (signal_variant); 902s # g_list_free_full (connections, g_object_unref); 902s # } 902s # 902s # static void 902s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 902s # OrgProjectSignalingIface *object, 902s # GVariant *arg_arg_asv) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # 902s # GList *connections, *l; 902s # GVariant *signal_variant; 902s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 902s # 902s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 902s # arg_arg_asv)); 902s # for (l = connections; l != NULL; l = l->next) 902s # { 902s # GDBusConnection *connection = l->data; 902s # g_dbus_connection_emit_signal (connection, 902s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 902s # signal_variant, NULL); 902s # } 902s # g_variant_unref (signal_variant); 902s # g_list_free_full (connections, g_object_unref); 902s # } 902s # 902s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_signaling_iface_skeleton_finalize (GObject *object) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 902s # if (skeleton->priv->changed_properties_idle_source != NULL) 902s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 902s # g_main_context_unref (skeleton->priv->context); 902s # g_mutex_clear (&skeleton->priv->lock); 902s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 902s # #else 902s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 902s # #endif 902s # 902s # g_mutex_init (&skeleton->priv->lock); 902s # skeleton->priv->context = g_main_context_ref_thread_default (); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusInterfaceSkeletonClass *skeleton_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 902s # 902s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 902s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 902s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 902s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 902s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 902s # { 902s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 902s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_skeleton_new: 902s # * 902s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_skeleton_new (void) 902s # { 902s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 902s # } 902s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 902s # tmpdir: /tmp/tmpuhg3c3_t 902s # codegen: /usr/bin/gdbus-codegen 902s # /tmp/tmpuhg3c3_t/tmpd5ib8zmu.xml: 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuhg3c3_t/tmpd5ib8zmu.xml', '--output', '-', '--body'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: /* 902s # * This file is generated by gdbus-codegen, do not modify it. 902s # * 902s # * The license of this code is the same as for the D-Bus interface description 902s # * it was derived from. Note that it links to GLib, so must comply with the 902s # * LGPL linking clauses. 902s # */ 902s # 902s # #ifdef HAVE_CONFIG_H 902s # # include "config.h" 902s # #endif 902s # 902s # #include 902s # #ifdef G_OS_UNIX 902s # # include 902s # #endif 902s # 902s # #ifdef G_ENABLE_DEBUG 902s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 902s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 902s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 902s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 902s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 902s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 902s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 902s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 902s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 902s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 902s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 902s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 902s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 902s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 902s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 902s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 902s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 902s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 902s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 902s # #else /* !G_ENABLE_DEBUG */ 902s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 902s # * Do not access GValues directly in your code. Instead, use the 902s # * g_value_get_*() functions 902s # */ 902s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 902s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 902s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 902s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 902s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 902s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 902s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 902s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 902s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 902s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 902s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 902s # #endif /* !G_ENABLE_DEBUG */ 902s # 902s # typedef struct 902s # { 902s # GDBusArgInfo parent_struct; 902s # gboolean use_gvariant; 902s # } _ExtendedGDBusArgInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusMethodInfo parent_struct; 902s # const gchar *signal_name; 902s # gboolean pass_fdlist; 902s # } _ExtendedGDBusMethodInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusSignalInfo parent_struct; 902s # const gchar *signal_name; 902s # } _ExtendedGDBusSignalInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusPropertyInfo parent_struct; 902s # const gchar *hyphen_name; 902s # guint use_gvariant : 1; 902s # guint emits_changed_signal : 1; 902s # } _ExtendedGDBusPropertyInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusInterfaceInfo parent_struct; 902s # const gchar *hyphen_name; 902s # } _ExtendedGDBusInterfaceInfo; 902s # 902s # typedef struct 902s # { 902s # const _ExtendedGDBusPropertyInfo *info; 902s # guint prop_id; 902s # GValue orig_value; /* the value before the change */ 902s # } ChangedProperty; 902s # 902s # static void 902s # _changed_property_free (ChangedProperty *data) 902s # { 902s # g_value_unset (&data->orig_value); 902s # g_free (data); 902s # } 902s # 902s # static gboolean 902s # _g_strv_equal0 (gchar **a, gchar **b) 902s # { 902s # gboolean ret = FALSE; 902s # guint n; 902s # if (a == NULL && b == NULL) 902s # { 902s # ret = TRUE; 902s # goto out; 902s # } 902s # if (a == NULL || b == NULL) 902s # goto out; 902s # if (g_strv_length (a) != g_strv_length (b)) 902s # goto out; 902s # for (n = 0; a[n] != NULL; n++) 902s # if (g_strcmp0 (a[n], b[n]) != 0) 902s # goto out; 902s # ret = TRUE; 902s # out: 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _g_variant_equal0 (GVariant *a, GVariant *b) 902s # { 902s # gboolean ret = FALSE; 902s # if (a == NULL && b == NULL) 902s # { 902s # ret = TRUE; 902s # goto out; 902s # } 902s # if (a == NULL || b == NULL) 902s # goto out; 902s # ret = g_variant_equal (a, b); 902s # out: 902s # return ret; 902s # } 902s # 902s # G_GNUC_UNUSED static gboolean 902s # _g_value_equal (const GValue *a, const GValue *b) 902s # { 902s # gboolean ret = FALSE; 902s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 902s # switch (G_VALUE_TYPE (a)) 902s # { 902s # case G_TYPE_BOOLEAN: 902s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 902s # break; 902s # case G_TYPE_UCHAR: 902s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 902s # break; 902s # case G_TYPE_INT: 902s # ret = (g_value_get_int (a) == g_value_get_int (b)); 902s # break; 902s # case G_TYPE_UINT: 902s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 902s # break; 902s # case G_TYPE_INT64: 902s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 902s # break; 902s # case G_TYPE_UINT64: 902s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 902s # break; 902s # case G_TYPE_DOUBLE: 902s # { 902s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 902s # gdouble da = g_value_get_double (a); 902s # gdouble db = g_value_get_double (b); 902s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 902s # } 902s # break; 902s # case G_TYPE_STRING: 902s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 902s # break; 902s # case G_TYPE_VARIANT: 902s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 902s # break; 902s # default: 902s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 902s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 902s # else 902s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 902s # break; 902s # } 902s # return ret; 902s # } 902s # 902s # static void 902s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 902s # GClosure *closure, 902s # GValue *return_value G_GNUC_UNUSED, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint G_GNUC_UNUSED, 902s # void *marshal_data) 902s # { 902s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 902s # (void *data1, 902s # gboolean arg_an_b, 902s # guchar arg_an_y, 902s # gint16 arg_an_n, 902s # guint16 arg_an_q, 902s # gint arg_an_i, 902s # guint arg_an_u, 902s # gint64 arg_an_x, 902s # guint64 arg_an_t, 902s # gdouble arg_an_d, 902s # const gchar *arg_an_s, 902s # const gchar *arg_an_o, 902s # const gchar *arg_an_g, 902s # GVariant *arg_an_h, 902s # const gchar *arg_an_ay, 902s # const gchar *const *arg_an_as, 902s # const gchar *const *arg_an_ao, 902s # const gchar *const *arg_an_aay, 902s # GVariant *arg_an_asv, 902s # void *data2); 902s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 902s # GCClosure *cc = (GCClosure*) closure; 902s # void *data1, *data2; 902s # 902s # g_return_if_fail (n_param_values == 19); 902s # 902s # if (G_CCLOSURE_SWAP_DATA (closure)) 902s # { 902s # data1 = closure->data; 902s # data2 = g_value_peek_pointer (param_values + 0); 902s # } 902s # else 902s # { 902s # data1 = g_value_peek_pointer (param_values + 0); 902s # data2 = closure->data; 902s # } 902s # 902s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 902s # (marshal_data ? marshal_data : cc->callback); 902s # 902s # callback (data1, 902s # g_marshal_value_peek_boolean (param_values + 1), 902s # g_marshal_value_peek_uchar (param_values + 2), 902s # g_marshal_value_peek_int (param_values + 3), 902s # g_marshal_value_peek_uint (param_values + 4), 902s # g_marshal_value_peek_int (param_values + 5), 902s # g_marshal_value_peek_uint (param_values + 6), 902s # g_marshal_value_peek_int64 (param_values + 7), 902s # g_marshal_value_peek_uint64 (param_values + 8), 902s # g_marshal_value_peek_double (param_values + 9), 902s # g_marshal_value_peek_string (param_values + 10), 902s # g_marshal_value_peek_string (param_values + 11), 902s # g_marshal_value_peek_string (param_values + 12), 902s # g_marshal_value_peek_variant (param_values + 13), 902s # g_marshal_value_peek_string (param_values + 14), 902s # g_marshal_value_peek_boxed (param_values + 15), 902s # g_marshal_value_peek_boxed (param_values + 16), 902s # g_marshal_value_peek_boxed (param_values + 17), 902s # g_marshal_value_peek_variant (param_values + 18), 902s # data2); 902s # } 902s # 902s # /* ------------------------------------------------------------------------ 902s # * Code for interface org.project.SignalingIface 902s # * ------------------------------------------------------------------------ 902s # */ 902s # 902s # /** 902s # * SECTION:OrgProjectSignalingIface 902s # * @title: OrgProjectSignalingIface 902s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 902s # * 902s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 902s # */ 902s # 902s # enum 902s # { 902s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 902s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 902s # }; 902s # 902s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 902s # 902s # /* ---- Introspection data for org.project.SignalingIface ---- */ 902s # 902s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 902s # { 902s # { 902s # -1, 902s # (gchar *) "SimpleSignal", 902s # NULL, 902s # NULL 902s # }, 902s # "simple-signal" 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 902s # { 902s # { 902s # -1, 902s # (gchar *) "an_b", 902s # (gchar *) "b", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 902s # { 902s # { 902s # -1, 902s # (gchar *) "an_y", 902s # (gchar *) "y", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 902s # { 902s # { 902s # -1, 902s # (gchar *) "an_n", 902s # (gchar *) "n", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 902s # { 902s # { 902s # -1, 902s # (gchar *) "an_q", 902s # (gchar *) "q", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 902s # { 902s # { 902s # -1, 902s # (gchar *) "an_i", 902s # (gchar *) "i", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 902s # { 902s # { 902s # -1, 902s # (gchar *) "an_u", 902s # (gchar *) "u", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 902s # { 902s # { 902s # -1, 902s # (gchar *) "an_x", 902s # (gchar *) "x", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 902s # { 902s # { 902s # -1, 902s # (gchar *) "an_t", 902s # (gchar *) "t", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 902s # { 902s # { 902s # -1, 902s # (gchar *) "an_d", 902s # (gchar *) "d", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 902s # { 902s # { 902s # -1, 902s # (gchar *) "an_s", 902s # (gchar *) "s", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 902s # { 902s # { 902s # -1, 902s # (gchar *) "an_o", 902s # (gchar *) "o", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 902s # { 902s # { 902s # -1, 902s # (gchar *) "an_g", 902s # (gchar *) "g", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 902s # { 902s # { 902s # -1, 902s # (gchar *) "an_h", 902s # (gchar *) "h", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 902s # { 902s # { 902s # -1, 902s # (gchar *) "an_ay", 902s # (gchar *) "ay", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 902s # { 902s # { 902s # -1, 902s # (gchar *) "an_as", 902s # (gchar *) "as", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 902s # { 902s # { 902s # -1, 902s # (gchar *) "an_ao", 902s # (gchar *) "ao", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 902s # { 902s # { 902s # -1, 902s # (gchar *) "an_aay", 902s # (gchar *) "aay", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 902s # { 902s # { 902s # -1, 902s # (gchar *) "an_asv", 902s # (gchar *) "a{sv}", 902s # NULL 902s # }, 902s # FALSE 902s # }; 902s # 902s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 902s # { 902s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 902s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 902s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 902s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 902s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 902s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 902s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 902s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 902s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 902s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 902s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 902s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 902s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 902s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 902s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 902s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 902s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 902s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 902s # { 902s # { 902s # -1, 902s # (gchar *) "SignalWithManyArgs", 902s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 902s # NULL 902s # }, 902s # "signal-with-many-args" 902s # }; 902s # 902s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 902s # { 902s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 902s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 902s # { 902s # { 902s # -1, 902s # (gchar *) "org.project.SignalingIface", 902s # NULL, 902s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 902s # NULL, 902s # NULL 902s # }, 902s # "org-project-signaling-iface", 902s # }; 902s # 902s # 902s # /** 902s # * org_project_signaling_iface_interface_info: 902s # * 902s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 902s # * 902s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 902s # */ 902s # GDBusInterfaceInfo * 902s # org_project_signaling_iface_interface_info (void) 902s # { 902s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_override_properties: 902s # * @klass: The class structure for a #GObject derived class. 902s # * @property_id_begin: The property id to assign to the first overridden property. 902s # * 902s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 902s # * The properties are overridden in the order they are defined. 902s # * 902s # * Returns: The last property id. 902s # */ 902s # guint 902s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 902s # { 902s # return property_id_begin - 1; 902s # } 902s # 902s # 902s # inline static void 902s # org_project_signaling_iface_signal_marshal_simple_signal ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # g_cclosure_marshal_VOID__VOID (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # inline static void 902s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # 902s # /** 902s # * OrgProjectSignalingIface: 902s # * 902s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 902s # */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceIface: 902s # * @parent_iface: The parent interface. 902s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 902s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 902s # * 902s # * Virtual table for the D-Bus interface org.project.SignalingIface. 902s # */ 902s # 902s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 902s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 902s # 902s # static void 902s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 902s # { 902s # /* GObject signals for received D-Bus signals: */ 902s # /** 902s # * OrgProjectSignalingIface::simple-signal: 902s # * @object: A #OrgProjectSignalingIface. 902s # * 902s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 902s # * 902s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 902s # */ 902s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 902s # g_signal_new ("simple-signal", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 902s # NULL, 902s # NULL, 902s # org_project_signaling_iface_signal_marshal_simple_signal, 902s # G_TYPE_NONE, 902s # 0); 902s # 902s # /** 902s # * OrgProjectSignalingIface::signal-with-many-args: 902s # * @object: A #OrgProjectSignalingIface. 902s # * @arg_an_b: Argument. 902s # * @arg_an_y: Argument. 902s # * @arg_an_n: Argument. 902s # * @arg_an_q: Argument. 902s # * @arg_an_i: Argument. 902s # * @arg_an_u: Argument. 902s # * @arg_an_x: Argument. 902s # * @arg_an_t: Argument. 902s # * @arg_an_d: Argument. 902s # * @arg_an_s: Argument. 902s # * @arg_an_o: Argument. 902s # * @arg_an_g: Argument. 902s # * @arg_an_h: Argument. 902s # * @arg_an_ay: Argument. 902s # * @arg_an_as: Argument. 902s # * @arg_an_ao: Argument. 902s # * @arg_an_aay: Argument. 902s # * @arg_an_asv: Argument. 902s # * 902s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 902s # * 902s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 902s # */ 902s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 902s # g_signal_new ("signal-with-many-args", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 902s # NULL, 902s # NULL, 902s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 902s # G_TYPE_NONE, 902s # 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); 902s # 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_emit_simple_signal: 902s # * @object: A #OrgProjectSignalingIface. 902s # * 902s # * Emits the "SimpleSignal" D-Bus signal. 902s # */ 902s # void 902s # org_project_signaling_iface_emit_simple_signal ( 902s # OrgProjectSignalingIface *object) 902s # { 902s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_emit_signal_with_many_args: 902s # * @object: A #OrgProjectSignalingIface. 902s # * @arg_an_b: Argument to pass with the signal. 902s # * @arg_an_y: Argument to pass with the signal. 902s # * @arg_an_n: Argument to pass with the signal. 902s # * @arg_an_q: Argument to pass with the signal. 902s # * @arg_an_i: Argument to pass with the signal. 902s # * @arg_an_u: Argument to pass with the signal. 902s # * @arg_an_x: Argument to pass with the signal. 902s # * @arg_an_t: Argument to pass with the signal. 902s # * @arg_an_d: Argument to pass with the signal. 902s # * @arg_an_s: Argument to pass with the signal. 902s # * @arg_an_o: Argument to pass with the signal. 902s # * @arg_an_g: Argument to pass with the signal. 902s # * @arg_an_h: Argument to pass with the signal. 902s # * @arg_an_ay: Argument to pass with the signal. 902s # * @arg_an_as: Argument to pass with the signal. 902s # * @arg_an_ao: Argument to pass with the signal. 902s # * @arg_an_aay: Argument to pass with the signal. 902s # * @arg_an_asv: Argument to pass with the signal. 902s # * 902s # * Emits the "SignalWithManyArgs" D-Bus signal. 902s # */ 902s # void 902s # org_project_signaling_iface_emit_signal_with_many_args ( 902s # OrgProjectSignalingIface *object, 902s # gboolean arg_an_b, 902s # guchar arg_an_y, 902s # gint16 arg_an_n, 902s # guint16 arg_an_q, 902s # gint arg_an_i, 902s # guint arg_an_u, 902s # gint64 arg_an_x, 902s # guint64 arg_an_t, 902s # gdouble arg_an_d, 902s # const gchar *arg_an_s, 902s # const gchar *arg_an_o, 902s # const gchar *arg_an_g, 902s # GVariant *arg_an_h, 902s # const gchar *arg_an_ay, 902s # const gchar *const *arg_an_as, 902s # const gchar *const *arg_an_ao, 902s # const gchar *const *arg_an_aay, 902s # GVariant *arg_an_asv) 902s # { 902s # 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); 902s # } 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceProxy: 902s # * 902s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceProxyClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectSignalingIfaceProxy. 902s # */ 902s # 902s # struct _OrgProjectSignalingIfaceProxyPrivate 902s # { 902s # GData *qdata; 902s # }; 902s # 902s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 902s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_signaling_iface_proxy_finalize (GObject *object) 902s # { 902s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 902s # g_datalist_clear (&proxy->priv->qdata); 902s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # const GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 902s # const gchar *sender_name G_GNUC_UNUSED, 902s # const gchar *signal_name, 902s # GVariant *parameters) 902s # { 902s # _ExtendedGDBusSignalInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # gsize n; 902s # guint signal_id; 902s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 902s # if (info == NULL) 902s # return; 902s # num_params = g_variant_n_children (parameters); 902s # paramv = g_new0 (GValue, num_params + 1); 902s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_set_object (¶mv[0], proxy); 902s # g_variant_iter_init (&iter, parameters); 902s # n = 1; 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_signal_emitv (paramv, signal_id, 0, NULL); 902s # for (n = 0; n < num_params + 1; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 902s # GVariant *changed_properties, 902s # const gchar *const *invalidated_properties) 902s # { 902s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 902s # guint n; 902s # const gchar *key; 902s # GVariantIter *iter; 902s # _ExtendedGDBusPropertyInfo *info; 902s # g_variant_get (changed_properties, "a{sv}", &iter); 902s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 902s # g_datalist_remove_data (&proxy->priv->qdata, key); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # g_variant_iter_free (iter); 902s # for (n = 0; invalidated_properties[n] != NULL; n++) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 902s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 902s # #else 902s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 902s # #endif 902s # 902s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusProxyClass *proxy_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 902s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 902s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 902s # 902s # proxy_class = G_DBUS_PROXY_CLASS (klass); 902s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 902s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 902s # * 902s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_signaling_iface_proxy_new ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_sync: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_sync ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 902s # * 902s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_signaling_iface_proxy_new_for_bus ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_for_bus_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_proxy_new_for_bus_sync: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_proxy_new_for_bus_sync ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_SIGNALING_IFACE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceSkeleton: 902s # * 902s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectSignalingIfaceSkeletonClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 902s # */ 902s # 902s # struct _OrgProjectSignalingIfaceSkeletonPrivate 902s # { 902s # GValue *properties; 902s # GList *changed_properties; 902s # GSource *changed_properties_idle_source; 902s # GMainContext *context; 902s # GMutex lock; 902s # }; 902s # 902s # static void 902s # _org_project_signaling_iface_skeleton_handle_method_call ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name, 902s # const gchar *method_name, 902s # GVariant *parameters, 902s # GDBusMethodInvocation *invocation, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # _ExtendedGDBusMethodInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # guint num_extra; 902s # gsize n; 902s # guint signal_id; 902s # GValue return_value = G_VALUE_INIT; 902s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 902s # g_assert (info != NULL); 902s # num_params = g_variant_n_children (parameters); 902s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 902s # n = 0; 902s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_set_object (¶mv[n++], skeleton); 902s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 902s # g_value_set_object (¶mv[n++], invocation); 902s # if (info->pass_fdlist) 902s # { 902s # #ifdef G_OS_UNIX 902s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 902s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 902s # #else 902s # g_assert_not_reached (); 902s # #endif 902s # } 902s # g_variant_iter_init (&iter, parameters); 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 902s # g_value_init (&return_value, G_TYPE_BOOLEAN); 902s # g_signal_emitv (paramv, signal_id, 0, &return_value); 902s # if (!g_value_get_boolean (&return_value)) 902s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 902s # g_value_unset (&return_value); 902s # for (n = 0; n < num_params + num_extra; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static GVariant * 902s # _org_project_signaling_iface_skeleton_handle_get_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # GVariant *ret; 902s # ret = NULL; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # g_value_init (&value, pspec->value_type); 902s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 902s # g_value_unset (&value); 902s # } 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _org_project_signaling_iface_skeleton_handle_set_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GVariant *variant, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # gboolean ret; 902s # ret = FALSE; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # if (info->use_gvariant) 902s # g_value_set_variant (&value, variant); 902s # else 902s # g_dbus_gvariant_to_gvalue (variant, &value); 902s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # g_value_unset (&value); 902s # ret = TRUE; 902s # } 902s # return ret; 902s # } 902s # 902s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 902s # { 902s # _org_project_signaling_iface_skeleton_handle_method_call, 902s # _org_project_signaling_iface_skeleton_handle_get_property, 902s # _org_project_signaling_iface_skeleton_handle_set_property, 902s # {NULL} 902s # }; 902s # 902s # static GDBusInterfaceInfo * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return org_project_signaling_iface_interface_info (); 902s # } 902s # 902s # static GDBusInterfaceVTable * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 902s # } 902s # 902s # static GVariant * 902s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 902s # 902s # GVariantBuilder builder; 902s # guint n; 902s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 902s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 902s # goto out; 902s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 902s # { 902s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 902s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 902s # { 902s # GVariant *value; 902s # 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); 902s # if (value != NULL) 902s # { 902s # g_variant_take_ref (value); 902s # g_variant_builder_add (&builder, "{sv}", info->name, value); 902s # g_variant_unref (value); 902s # } 902s # } 902s # } 902s # out: 902s # return g_variant_builder_end (&builder); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # _org_project_signaling_iface_on_signal_simple_signal ( 902s # OrgProjectSignalingIface *object) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # 902s # GList *connections, *l; 902s # GVariant *signal_variant; 902s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 902s # 902s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 902s # for (l = connections; l != NULL; l = l->next) 902s # { 902s # GDBusConnection *connection = l->data; 902s # g_dbus_connection_emit_signal (connection, 902s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 902s # signal_variant, NULL); 902s # } 902s # g_variant_unref (signal_variant); 902s # g_list_free_full (connections, g_object_unref); 902s # } 902s # 902s # static void 902s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 902s # OrgProjectSignalingIface *object, 902s # gboolean arg_an_b, 902s # guchar arg_an_y, 902s # gint16 arg_an_n, 902s # guint16 arg_an_q, 902s # gint arg_an_i, 902s # guint arg_an_u, 902s # gint64 arg_an_x, 902s # guint64 arg_an_t, 902s # gdouble arg_an_d, 902s # const gchar *arg_an_s, 902s # const gchar *arg_an_o, 902s # const gchar *arg_an_g, 902s # GVariant *arg_an_h, 902s # const gchar *arg_an_ay, 902s # const gchar *const *arg_an_as, 902s # const gchar *const *arg_an_ao, 902s # const gchar *const *arg_an_aay, 902s # GVariant *arg_an_asv) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # 902s # GList *connections, *l; 902s # GVariant *signal_variant; 902s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 902s # 902s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 902s # arg_an_b, 902s # arg_an_y, 902s # arg_an_n, 902s # arg_an_q, 902s # arg_an_i, 902s # arg_an_u, 902s # arg_an_x, 902s # arg_an_t, 902s # arg_an_d, 902s # arg_an_s, 902s # arg_an_o, 902s # arg_an_g, 902s # arg_an_h, 902s # arg_an_ay, 902s # arg_an_as, 902s # arg_an_ao, 902s # arg_an_aay, 902s # arg_an_asv)); 902s # for (l = connections; l != NULL; l = l->next) 902s # { 902s # GDBusConnection *connection = l->data; 902s # g_dbus_connection_emit_signal (connection, 902s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 902s # signal_variant, NULL); 902s # } 902s # g_variant_unref (signal_variant); 902s # g_list_free_full (connections, g_object_unref); 902s # } 902s # 902s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_signaling_iface_skeleton_finalize (GObject *object) 902s # { 902s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 902s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 902s # if (skeleton->priv->changed_properties_idle_source != NULL) 902s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 902s # g_main_context_unref (skeleton->priv->context); 902s # g_mutex_clear (&skeleton->priv->lock); 902s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 902s # #else 902s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 902s # #endif 902s # 902s # g_mutex_init (&skeleton->priv->lock); 902s # skeleton->priv->context = g_main_context_ref_thread_default (); 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusInterfaceSkeletonClass *skeleton_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 902s # 902s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 902s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 902s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 902s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 902s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 902s # { 902s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 902s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 902s # } 902s # 902s # /** 902s # * org_project_signaling_iface_skeleton_new: 902s # * 902s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 902s # * 902s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 902s # */ 902s # OrgProjectSignalingIface * 902s # org_project_signaling_iface_skeleton_new (void) 902s # { 902s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 902s # } 902s ok 25 __main__.TestCodegen.test_generate_valid_docbook 902s # tmpdir: /tmp/tmp1k5aymnd 902s # codegen: /usr/bin/gdbus-codegen 902s # /tmp/tmp1k5aymnd/tmpoqk369q6.xml: 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1k5aymnd/tmpoqk369q6.xml', '--generate-docbook', 'test'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: 902s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 902s # tmpdir: /tmp/tmp9jhncjdj 902s # codegen: /usr/bin/gdbus-codegen 902s # /tmp/tmp9jhncjdj/tmp_m2atgb5.xml: 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9jhncjdj/tmp_m2atgb5.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 902s # tmpdir: /tmp/tmp45qc9dnp 902s # codegen: /usr/bin/gdbus-codegen 902s # /tmp/tmp45qc9dnp/tmp3srucubw.xml: 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp45qc9dnp/tmp3srucubw.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: /* 902s # * This file is generated by gdbus-codegen, do not modify it. 902s # * 902s # * The license of this code is the same as for the D-Bus interface description 902s # * it was derived from. Note that it links to GLib, so must comply with the 902s # * LGPL linking clauses. 902s # */ 902s # 902s # #ifndef __STDOUT__ 902s # #define __STDOUT__ 902s # 902s # #include 902s # 902s # G_BEGIN_DECLS 902s # 902s # 902s # G_END_DECLS 902s # 902s # #endif /* __STDOUT__ */ 902s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 902s # tmpdir: /tmp/tmpiakr96xo 902s # codegen: /usr/bin/gdbus-codegen 902s # /tmp/tmpiakr96xo/tmp3el5ur82.xml: 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiakr96xo/tmp3el5ur82.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 902s # tmpdir: /tmp/tmpa47mu3em 902s # codegen: /usr/bin/gdbus-codegen 902s # /tmp/tmpa47mu3em/tmp2l29vjh6.xml: 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa47mu3em/tmp2l29vjh6.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: /* 902s # * This file is generated by gdbus-codegen, do not modify it. 902s # * 902s # * The license of this code is the same as for the D-Bus interface description 902s # * it was derived from. Note that it links to GLib, so must comply with the 902s # * LGPL linking clauses. 902s # */ 902s # 902s # #ifndef __STDOUT__ 902s # #define __STDOUT__ 902s # 902s # #include 902s # 902s # G_BEGIN_DECLS 902s # 902s # 902s # G_END_DECLS 902s # 902s # #endif /* __STDOUT__ */ 902s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 902s # tmpdir: /tmp/tmp80009znl 902s # codegen: /usr/bin/gdbus-codegen 902s # /tmp/tmp80009znl/tmplw7p7lrx.xml: 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp80009znl/tmplw7p7lrx.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: /* 902s # * This file is generated by gdbus-codegen, do not modify it. 902s # * 902s # * The license of this code is the same as for the D-Bus interface description 902s # * it was derived from. Note that it links to GLib, so must comply with the 902s # * LGPL linking clauses. 902s # */ 902s # 902s # #ifndef __STDOUT__ 902s # #define __STDOUT__ 902s # 902s # #include 902s # 902s # G_BEGIN_DECLS 902s # 902s # 902s # G_END_DECLS 902s # 902s # #endif /* __STDOUT__ */ 902s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 902s # tmpdir: /tmp/tmpuelol2md 902s # codegen: /usr/bin/gdbus-codegen 902s # /tmp/tmpuelol2md/tmp_qjn4i9l.xml: 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuelol2md/tmp_qjn4i9l.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 902s # tmpdir: /tmp/tmp07wlw0zu 902s # codegen: /usr/bin/gdbus-codegen 902s # /tmp/tmp07wlw0zu/tmpjbp8hu7u.xml: 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp07wlw0zu/tmpjbp8hu7u.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: /* 902s # * This file is generated by gdbus-codegen, do not modify it. 902s # * 902s # * The license of this code is the same as for the D-Bus interface description 902s # * it was derived from. Note that it links to GLib, so must comply with the 902s # * LGPL linking clauses. 902s # */ 902s # 902s # #ifndef __STDOUT__ 902s # #define __STDOUT__ 902s # 902s # #include 902s # 902s # G_BEGIN_DECLS 902s # 902s # 902s # G_END_DECLS 902s # 902s # #endif /* __STDOUT__ */ 902s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 902s # tmpdir: /tmp/tmpwfff3c3h 902s # codegen: /usr/bin/gdbus-codegen 902s # /tmp/tmpwfff3c3h/tmp89b7ga_6.xml: 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwfff3c3h/tmp89b7ga_6.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 902s # tmpdir: /tmp/tmpzcmvzhtg 902s # codegen: /usr/bin/gdbus-codegen 902s # /tmp/tmpzcmvzhtg/tmpp7pyvaza.xml: 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzcmvzhtg/tmpp7pyvaza.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: /* 902s # * This file is generated by gdbus-codegen, do not modify it. 902s # * 902s # * The license of this code is the same as for the D-Bus interface description 902s # * it was derived from. Note that it links to GLib, so must comply with the 902s # * LGPL linking clauses. 902s # */ 902s # 902s # #ifndef __STDOUT__ 902s # #define __STDOUT__ 902s # 902s # #include 902s # 902s # G_BEGIN_DECLS 902s # 902s # 902s # G_END_DECLS 902s # 902s # #endif /* __STDOUT__ */ 902s ok 35 __main__.TestCodegen.test_help 902s # tmpdir: /tmp/tmp4dz5e8bc 902s # codegen: /usr/bin/gdbus-codegen 902s # Running: ['/usr/bin/gdbus-codegen', '--help'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 902s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 902s # [--c-generate-autocleanup {none,objects,all}] 902s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 902s # [--generate-rst OUTFILES] [--pragma-once] 902s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 902s # [--glib-min-required VERSION] 902s # [--glib-max-allowed VERSION] 902s # [--symbol-decorator SYMBOL_DECORATOR] 902s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 902s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 902s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 902s # [--output FILE | --output-directory OUTDIR] 902s # FILE [FILE ...] 902s # 902s # D-Bus code and documentation generator 902s # 902s # positional arguments: 902s # FILE D-Bus introspection XML file 902s # 902s # options: 902s # -h, --help show this help message and exit 902s # --interface-prefix PREFIX 902s # String to strip from D-Bus interface names for code 902s # and docs 902s # --c-namespace NAMESPACE 902s # The namespace to use for generated C code 902s # --c-generate-object-manager 902s # Generate a GDBusObjectManagerClient subclass when 902s # generating C code 902s # --c-generate-autocleanup {none,objects,all} 902s # Generate autocleanup support 902s # --generate-docbook OUTFILES 902s # Generate Docbook in OUTFILES-org.Project.IFace.xml 902s # --generate-md OUTFILES 902s # Generate Markdown in OUTFILES-org.Project.IFace.md 902s # --generate-rst OUTFILES 902s # Generate reStructuredText in OUTFILES- 902s # org.Project.IFace.rst 902s # --pragma-once Use "pragma once" as the inclusion guard 902s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 902s # Add annotation (may be used several times) 902s # --glib-min-required VERSION 902s # Minimum version of GLib to be supported by the 902s # outputted code (default: 2.30) 902s # --glib-max-allowed VERSION 902s # Maximum version of GLib to be used by the outputted 902s # code (default: current GLib version) 902s # --symbol-decorator SYMBOL_DECORATOR 902s # Macro used to decorate a symbol in the outputted 902s # header, possibly to export symbols 902s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 902s # Additional header required for decorator specified by 902s # --symbol-decorator 902s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 902s # Additional define required for decorator specified by 902s # --symbol-decorator 902s # --generate-c-code OUTFILES 902s # Generate C code in OUTFILES.[ch] 902s # --header Generate C headers 902s # --body Generate C code 902s # --interface-info-header 902s # Generate GDBusInterfaceInfo C header 902s # --interface-info-body 902s # Generate GDBusInterfaceInfo C code 902s # --output FILE Write output into the specified file 902s # --output-directory OUTDIR 902s # Location to output generated files 902s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 902s # tmpdir: /tmp/tmpx1yzrb3w 902s # codegen: /usr/bin/gdbus-codegen 902s # /tmp/tmpx1yzrb3w/tmpvg9iisp7.xml: 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx1yzrb3w/tmpvg9iisp7.xml', '--generate-rst', 'test'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: 902s # /tmp/tmpx1yzrb3w/tmp51lvgscz.xml: 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx1yzrb3w/tmp51lvgscz.xml', '--generate-md', 'test'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: 902s # /tmp/tmpx1yzrb3w/tmpf9291b8b.xml: 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx1yzrb3w/tmpf9291b8b.xml', '--generate-docbook', 'test'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: 902s ok 37 __main__.TestCodegen.test_no_args 902s # tmpdir: /tmp/tmpnhh_w45p 902s # codegen: /usr/bin/gdbus-codegen 902s # Running: ['/usr/bin/gdbus-codegen'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s ok 38 __main__.TestCodegen.test_reproducible 902s # tmpdir: /tmp/tmpexqvjpeg 902s # codegen: /usr/bin/gdbus-codegen 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpexqvjpeg/tmprw003b8q1.xml', '/tmp/tmpexqvjpeg/tmpz_4ra6m72.xml', '--output', '-', '--header'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: /* 902s # * This file is generated by gdbus-codegen, do not modify it. 902s # * 902s # * The license of this code is the same as for the D-Bus interface description 902s # * it was derived from. Note that it links to GLib, so must comply with the 902s # * LGPL linking clauses. 902s # */ 902s # 902s # #ifndef __STDOUT__ 902s # #define __STDOUT__ 902s # 902s # #include 902s # 902s # G_BEGIN_DECLS 902s # 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # /* Declarations for com.acme.Coyote */ 902s # 902s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 902s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 902s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 902s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 902s # 902s # struct _ComAcmeCoyote; 902s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 902s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 902s # 902s # struct _ComAcmeCoyoteIface 902s # { 902s # GTypeInterface parent_iface; 902s # 902s # 902s # 902s # gboolean (*handle_attack) ( 902s # ComAcmeCoyote *object, 902s # GDBusMethodInvocation *invocation); 902s # 902s # gboolean (*handle_run) ( 902s # ComAcmeCoyote *object, 902s # GDBusMethodInvocation *invocation); 902s # 902s # gboolean (*handle_sleep) ( 902s # ComAcmeCoyote *object, 902s # GDBusMethodInvocation *invocation); 902s # 902s # const gchar * (*get_mood) (ComAcmeCoyote *object); 902s # 902s # void (*surprised) ( 902s # ComAcmeCoyote *object); 902s # 902s # }; 902s # 902s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 902s # 902s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 902s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 902s # 902s # 902s # /* D-Bus method call completion functions: */ 902s # void com_acme_coyote_complete_run ( 902s # ComAcmeCoyote *object, 902s # GDBusMethodInvocation *invocation); 902s # 902s # void com_acme_coyote_complete_sleep ( 902s # ComAcmeCoyote *object, 902s # GDBusMethodInvocation *invocation); 902s # 902s # void com_acme_coyote_complete_attack ( 902s # ComAcmeCoyote *object, 902s # GDBusMethodInvocation *invocation); 902s # 902s # 902s # 902s # /* D-Bus signal emissions functions: */ 902s # void com_acme_coyote_emit_surprised ( 902s # ComAcmeCoyote *object); 902s # 902s # 902s # 902s # /* D-Bus method calls: */ 902s # void com_acme_coyote_call_run ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # 902s # gboolean com_acme_coyote_call_run_finish ( 902s # ComAcmeCoyote *proxy, 902s # GAsyncResult *res, 902s # GError **error); 902s # 902s # gboolean com_acme_coyote_call_run_sync ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # void com_acme_coyote_call_sleep ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # 902s # gboolean com_acme_coyote_call_sleep_finish ( 902s # ComAcmeCoyote *proxy, 902s # GAsyncResult *res, 902s # GError **error); 902s # 902s # gboolean com_acme_coyote_call_sleep_sync ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # void com_acme_coyote_call_attack ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # 902s # gboolean com_acme_coyote_call_attack_finish ( 902s # ComAcmeCoyote *proxy, 902s # GAsyncResult *res, 902s # GError **error); 902s # 902s # gboolean com_acme_coyote_call_attack_sync ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # 902s # 902s # /* D-Bus property accessors: */ 902s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 902s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 902s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 902s # 902s # 902s # /* ---- */ 902s # 902s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 902s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 902s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 902s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 902s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 902s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 902s # 902s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 902s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 902s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 902s # 902s # struct _ComAcmeCoyoteProxy 902s # { 902s # /*< private >*/ 902s # GDBusProxy parent_instance; 902s # ComAcmeCoyoteProxyPrivate *priv; 902s # }; 902s # 902s # struct _ComAcmeCoyoteProxyClass 902s # { 902s # GDBusProxyClass parent_class; 902s # }; 902s # 902s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 902s # 902s # #if GLIB_CHECK_VERSION(2, 44, 0) 902s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 902s # #endif 902s # 902s # void com_acme_coyote_proxy_new ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 902s # GAsyncResult *res, 902s # GError **error); 902s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # void com_acme_coyote_proxy_new_for_bus ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 902s # GAsyncResult *res, 902s # GError **error); 902s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # 902s # /* ---- */ 902s # 902s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 902s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 902s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 902s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 902s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 902s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 902s # 902s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 902s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 902s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 902s # 902s # struct _ComAcmeCoyoteSkeleton 902s # { 902s # /*< private >*/ 902s # GDBusInterfaceSkeleton parent_instance; 902s # ComAcmeCoyoteSkeletonPrivate *priv; 902s # }; 902s # 902s # struct _ComAcmeCoyoteSkeletonClass 902s # { 902s # GDBusInterfaceSkeletonClass parent_class; 902s # }; 902s # 902s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 902s # 902s # #if GLIB_CHECK_VERSION(2, 44, 0) 902s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 902s # #endif 902s # 902s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 902s # 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # /* Declarations for org.project.Bar.Frobnicator */ 902s # 902s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 902s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 902s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 902s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 902s # 902s # struct _OrgProjectBarFrobnicator; 902s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 902s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 902s # 902s # struct _OrgProjectBarFrobnicatorIface 902s # { 902s # GTypeInterface parent_iface; 902s # 902s # gboolean (*handle_random_method) ( 902s # OrgProjectBarFrobnicator *object, 902s # GDBusMethodInvocation *invocation); 902s # 902s # }; 902s # 902s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 902s # 902s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 902s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 902s # 902s # 902s # /* D-Bus method call completion functions: */ 902s # void org_project_bar_frobnicator_complete_random_method ( 902s # OrgProjectBarFrobnicator *object, 902s # GDBusMethodInvocation *invocation); 902s # 902s # 902s # 902s # /* D-Bus method calls: */ 902s # void org_project_bar_frobnicator_call_random_method ( 902s # OrgProjectBarFrobnicator *proxy, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # 902s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 902s # OrgProjectBarFrobnicator *proxy, 902s # GAsyncResult *res, 902s # GError **error); 902s # 902s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 902s # OrgProjectBarFrobnicator *proxy, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # 902s # 902s # /* ---- */ 902s # 902s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 902s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 902s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 902s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 902s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 902s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 902s # 902s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 902s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 902s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 902s # 902s # struct _OrgProjectBarFrobnicatorProxy 902s # { 902s # /*< private >*/ 902s # GDBusProxy parent_instance; 902s # OrgProjectBarFrobnicatorProxyPrivate *priv; 902s # }; 902s # 902s # struct _OrgProjectBarFrobnicatorProxyClass 902s # { 902s # GDBusProxyClass parent_class; 902s # }; 902s # 902s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 902s # 902s # #if GLIB_CHECK_VERSION(2, 44, 0) 902s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 902s # #endif 902s # 902s # void org_project_bar_frobnicator_proxy_new ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 902s # GAsyncResult *res, 902s # GError **error); 902s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # void org_project_bar_frobnicator_proxy_new_for_bus ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 902s # GAsyncResult *res, 902s # GError **error); 902s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # 902s # /* ---- */ 902s # 902s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 902s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 902s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 902s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 902s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 902s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 902s # 902s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 902s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 902s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 902s # 902s # struct _OrgProjectBarFrobnicatorSkeleton 902s # { 902s # /*< private >*/ 902s # GDBusInterfaceSkeleton parent_instance; 902s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 902s # }; 902s # 902s # struct _OrgProjectBarFrobnicatorSkeletonClass 902s # { 902s # GDBusInterfaceSkeletonClass parent_class; 902s # }; 902s # 902s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 902s # 902s # #if GLIB_CHECK_VERSION(2, 44, 0) 902s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 902s # #endif 902s # 902s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 902s # 902s # 902s # G_END_DECLS 902s # 902s # #endif /* __STDOUT__ */ 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpexqvjpeg/tmpz_4ra6m72.xml', '/tmp/tmpexqvjpeg/tmprw003b8q1.xml', '--output', '-', '--header'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: /* 902s # * This file is generated by gdbus-codegen, do not modify it. 902s # * 902s # * The license of this code is the same as for the D-Bus interface description 902s # * it was derived from. Note that it links to GLib, so must comply with the 902s # * LGPL linking clauses. 902s # */ 902s # 902s # #ifndef __STDOUT__ 902s # #define __STDOUT__ 902s # 902s # #include 902s # 902s # G_BEGIN_DECLS 902s # 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # /* Declarations for com.acme.Coyote */ 902s # 902s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 902s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 902s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 902s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 902s # 902s # struct _ComAcmeCoyote; 902s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 902s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 902s # 902s # struct _ComAcmeCoyoteIface 902s # { 902s # GTypeInterface parent_iface; 902s # 902s # 902s # 902s # gboolean (*handle_attack) ( 902s # ComAcmeCoyote *object, 902s # GDBusMethodInvocation *invocation); 902s # 902s # gboolean (*handle_run) ( 902s # ComAcmeCoyote *object, 902s # GDBusMethodInvocation *invocation); 902s # 902s # gboolean (*handle_sleep) ( 902s # ComAcmeCoyote *object, 902s # GDBusMethodInvocation *invocation); 902s # 902s # const gchar * (*get_mood) (ComAcmeCoyote *object); 902s # 902s # void (*surprised) ( 902s # ComAcmeCoyote *object); 902s # 902s # }; 902s # 902s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 902s # 902s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 902s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 902s # 902s # 902s # /* D-Bus method call completion functions: */ 902s # void com_acme_coyote_complete_run ( 902s # ComAcmeCoyote *object, 902s # GDBusMethodInvocation *invocation); 902s # 902s # void com_acme_coyote_complete_sleep ( 902s # ComAcmeCoyote *object, 902s # GDBusMethodInvocation *invocation); 902s # 902s # void com_acme_coyote_complete_attack ( 902s # ComAcmeCoyote *object, 902s # GDBusMethodInvocation *invocation); 902s # 902s # 902s # 902s # /* D-Bus signal emissions functions: */ 902s # void com_acme_coyote_emit_surprised ( 902s # ComAcmeCoyote *object); 902s # 902s # 902s # 902s # /* D-Bus method calls: */ 902s # void com_acme_coyote_call_run ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # 902s # gboolean com_acme_coyote_call_run_finish ( 902s # ComAcmeCoyote *proxy, 902s # GAsyncResult *res, 902s # GError **error); 902s # 902s # gboolean com_acme_coyote_call_run_sync ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # void com_acme_coyote_call_sleep ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # 902s # gboolean com_acme_coyote_call_sleep_finish ( 902s # ComAcmeCoyote *proxy, 902s # GAsyncResult *res, 902s # GError **error); 902s # 902s # gboolean com_acme_coyote_call_sleep_sync ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # void com_acme_coyote_call_attack ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # 902s # gboolean com_acme_coyote_call_attack_finish ( 902s # ComAcmeCoyote *proxy, 902s # GAsyncResult *res, 902s # GError **error); 902s # 902s # gboolean com_acme_coyote_call_attack_sync ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # 902s # 902s # /* D-Bus property accessors: */ 902s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 902s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 902s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 902s # 902s # 902s # /* ---- */ 902s # 902s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 902s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 902s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 902s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 902s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 902s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 902s # 902s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 902s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 902s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 902s # 902s # struct _ComAcmeCoyoteProxy 902s # { 902s # /*< private >*/ 902s # GDBusProxy parent_instance; 902s # ComAcmeCoyoteProxyPrivate *priv; 902s # }; 902s # 902s # struct _ComAcmeCoyoteProxyClass 902s # { 902s # GDBusProxyClass parent_class; 902s # }; 902s # 902s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 902s # 902s # #if GLIB_CHECK_VERSION(2, 44, 0) 902s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 902s # #endif 902s # 902s # void com_acme_coyote_proxy_new ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 902s # GAsyncResult *res, 902s # GError **error); 902s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # void com_acme_coyote_proxy_new_for_bus ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 902s # GAsyncResult *res, 902s # GError **error); 902s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # 902s # /* ---- */ 902s # 902s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 902s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 902s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 902s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 902s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 902s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 902s # 902s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 902s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 902s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 902s # 902s # struct _ComAcmeCoyoteSkeleton 902s # { 902s # /*< private >*/ 902s # GDBusInterfaceSkeleton parent_instance; 902s # ComAcmeCoyoteSkeletonPrivate *priv; 902s # }; 902s # 902s # struct _ComAcmeCoyoteSkeletonClass 902s # { 902s # GDBusInterfaceSkeletonClass parent_class; 902s # }; 902s # 902s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 902s # 902s # #if GLIB_CHECK_VERSION(2, 44, 0) 902s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 902s # #endif 902s # 902s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 902s # 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # /* Declarations for org.project.Bar.Frobnicator */ 902s # 902s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 902s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 902s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 902s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 902s # 902s # struct _OrgProjectBarFrobnicator; 902s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 902s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 902s # 902s # struct _OrgProjectBarFrobnicatorIface 902s # { 902s # GTypeInterface parent_iface; 902s # 902s # gboolean (*handle_random_method) ( 902s # OrgProjectBarFrobnicator *object, 902s # GDBusMethodInvocation *invocation); 902s # 902s # }; 902s # 902s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 902s # 902s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 902s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 902s # 902s # 902s # /* D-Bus method call completion functions: */ 902s # void org_project_bar_frobnicator_complete_random_method ( 902s # OrgProjectBarFrobnicator *object, 902s # GDBusMethodInvocation *invocation); 902s # 902s # 902s # 902s # /* D-Bus method calls: */ 902s # void org_project_bar_frobnicator_call_random_method ( 902s # OrgProjectBarFrobnicator *proxy, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # 902s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 902s # OrgProjectBarFrobnicator *proxy, 902s # GAsyncResult *res, 902s # GError **error); 902s # 902s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 902s # OrgProjectBarFrobnicator *proxy, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # 902s # 902s # /* ---- */ 902s # 902s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 902s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 902s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 902s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 902s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 902s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 902s # 902s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 902s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 902s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 902s # 902s # struct _OrgProjectBarFrobnicatorProxy 902s # { 902s # /*< private >*/ 902s # GDBusProxy parent_instance; 902s # OrgProjectBarFrobnicatorProxyPrivate *priv; 902s # }; 902s # 902s # struct _OrgProjectBarFrobnicatorProxyClass 902s # { 902s # GDBusProxyClass parent_class; 902s # }; 902s # 902s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 902s # 902s # #if GLIB_CHECK_VERSION(2, 44, 0) 902s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 902s # #endif 902s # 902s # void org_project_bar_frobnicator_proxy_new ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 902s # GAsyncResult *res, 902s # GError **error); 902s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # void org_project_bar_frobnicator_proxy_new_for_bus ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 902s # GAsyncResult *res, 902s # GError **error); 902s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # 902s # /* ---- */ 902s # 902s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 902s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 902s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 902s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 902s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 902s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 902s # 902s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 902s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 902s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 902s # 902s # struct _OrgProjectBarFrobnicatorSkeleton 902s # { 902s # /*< private >*/ 902s # GDBusInterfaceSkeleton parent_instance; 902s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 902s # }; 902s # 902s # struct _OrgProjectBarFrobnicatorSkeletonClass 902s # { 902s # GDBusInterfaceSkeletonClass parent_class; 902s # }; 902s # 902s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 902s # 902s # #if GLIB_CHECK_VERSION(2, 44, 0) 902s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 902s # #endif 902s # 902s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 902s # 902s # 902s # G_END_DECLS 902s # 902s # #endif /* __STDOUT__ */ 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpexqvjpeg/tmprw003b8q1.xml', '/tmp/tmpexqvjpeg/tmpz_4ra6m72.xml', '--output', '-', '--body'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: /* 902s # * This file is generated by gdbus-codegen, do not modify it. 902s # * 902s # * The license of this code is the same as for the D-Bus interface description 902s # * it was derived from. Note that it links to GLib, so must comply with the 902s # * LGPL linking clauses. 902s # */ 902s # 902s # #ifdef HAVE_CONFIG_H 902s # # include "config.h" 902s # #endif 902s # 902s # #include 902s # #ifdef G_OS_UNIX 902s # # include 902s # #endif 902s # 902s # #ifdef G_ENABLE_DEBUG 902s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 902s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 902s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 902s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 902s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 902s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 902s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 902s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 902s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 902s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 902s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 902s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 902s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 902s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 902s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 902s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 902s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 902s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 902s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 902s # #else /* !G_ENABLE_DEBUG */ 902s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 902s # * Do not access GValues directly in your code. Instead, use the 902s # * g_value_get_*() functions 902s # */ 902s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 902s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 902s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 902s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 902s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 902s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 902s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 902s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 902s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 902s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 902s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 902s # #endif /* !G_ENABLE_DEBUG */ 902s # 902s # typedef struct 902s # { 902s # GDBusArgInfo parent_struct; 902s # gboolean use_gvariant; 902s # } _ExtendedGDBusArgInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusMethodInfo parent_struct; 902s # const gchar *signal_name; 902s # gboolean pass_fdlist; 902s # } _ExtendedGDBusMethodInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusSignalInfo parent_struct; 902s # const gchar *signal_name; 902s # } _ExtendedGDBusSignalInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusPropertyInfo parent_struct; 902s # const gchar *hyphen_name; 902s # guint use_gvariant : 1; 902s # guint emits_changed_signal : 1; 902s # } _ExtendedGDBusPropertyInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusInterfaceInfo parent_struct; 902s # const gchar *hyphen_name; 902s # } _ExtendedGDBusInterfaceInfo; 902s # 902s # typedef struct 902s # { 902s # const _ExtendedGDBusPropertyInfo *info; 902s # guint prop_id; 902s # GValue orig_value; /* the value before the change */ 902s # } ChangedProperty; 902s # 902s # static void 902s # _changed_property_free (ChangedProperty *data) 902s # { 902s # g_value_unset (&data->orig_value); 902s # g_free (data); 902s # } 902s # 902s # static gboolean 902s # _g_strv_equal0 (gchar **a, gchar **b) 902s # { 902s # gboolean ret = FALSE; 902s # guint n; 902s # if (a == NULL && b == NULL) 902s # { 902s # ret = TRUE; 902s # goto out; 902s # } 902s # if (a == NULL || b == NULL) 902s # goto out; 902s # if (g_strv_length (a) != g_strv_length (b)) 902s # goto out; 902s # for (n = 0; a[n] != NULL; n++) 902s # if (g_strcmp0 (a[n], b[n]) != 0) 902s # goto out; 902s # ret = TRUE; 902s # out: 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _g_variant_equal0 (GVariant *a, GVariant *b) 902s # { 902s # gboolean ret = FALSE; 902s # if (a == NULL && b == NULL) 902s # { 902s # ret = TRUE; 902s # goto out; 902s # } 902s # if (a == NULL || b == NULL) 902s # goto out; 902s # ret = g_variant_equal (a, b); 902s # out: 902s # return ret; 902s # } 902s # 902s # G_GNUC_UNUSED static gboolean 902s # _g_value_equal (const GValue *a, const GValue *b) 902s # { 902s # gboolean ret = FALSE; 902s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 902s # switch (G_VALUE_TYPE (a)) 902s # { 902s # case G_TYPE_BOOLEAN: 902s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 902s # break; 902s # case G_TYPE_UCHAR: 902s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 902s # break; 902s # case G_TYPE_INT: 902s # ret = (g_value_get_int (a) == g_value_get_int (b)); 902s # break; 902s # case G_TYPE_UINT: 902s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 902s # break; 902s # case G_TYPE_INT64: 902s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 902s # break; 902s # case G_TYPE_UINT64: 902s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 902s # break; 902s # case G_TYPE_DOUBLE: 902s # { 902s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 902s # gdouble da = g_value_get_double (a); 902s # gdouble db = g_value_get_double (b); 902s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 902s # } 902s # break; 902s # case G_TYPE_STRING: 902s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 902s # break; 902s # case G_TYPE_VARIANT: 902s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 902s # break; 902s # default: 902s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 902s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 902s # else 902s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 902s # break; 902s # } 902s # return ret; 902s # } 902s # 902s # static void 902s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint G_GNUC_UNUSED, 902s # void *marshal_data) 902s # { 902s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 902s # (void *data1, 902s # GDBusMethodInvocation *arg_method_invocation, 902s # void *data2); 902s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 902s # GCClosure *cc = (GCClosure*) closure; 902s # void *data1, *data2; 902s # gboolean v_return; 902s # 902s # g_return_if_fail (return_value != NULL); 902s # g_return_if_fail (n_param_values == 2); 902s # 902s # if (G_CCLOSURE_SWAP_DATA (closure)) 902s # { 902s # data1 = closure->data; 902s # data2 = g_value_peek_pointer (param_values + 0); 902s # } 902s # else 902s # { 902s # data1 = g_value_peek_pointer (param_values + 0); 902s # data2 = closure->data; 902s # } 902s # 902s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 902s # (marshal_data ? marshal_data : cc->callback); 902s # 902s # v_return = 902s # callback (data1, 902s # g_marshal_value_peek_object (param_values + 1), 902s # data2); 902s # 902s # g_value_set_boolean (return_value, v_return); 902s # } 902s # 902s # /* ------------------------------------------------------------------------ 902s # * Code for interface com.acme.Coyote 902s # * ------------------------------------------------------------------------ 902s # */ 902s # 902s # /** 902s # * SECTION:ComAcmeCoyote 902s # * @title: ComAcmeCoyote 902s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 902s # * 902s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 902s # */ 902s # 902s # enum 902s # { 902s # _COM_ACME_COYOTE_SURPRISED, 902s # }; 902s # 902s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 902s # 902s # /* ---- Introspection data for com.acme.Coyote ---- */ 902s # 902s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 902s # { 902s # { 902s # -1, 902s # (gchar *) "Run", 902s # NULL, 902s # NULL, 902s # NULL 902s # }, 902s # "handle-run", 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 902s # { 902s # { 902s # -1, 902s # (gchar *) "Sleep", 902s # NULL, 902s # NULL, 902s # NULL 902s # }, 902s # "handle-sleep", 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 902s # { 902s # { 902s # -1, 902s # (gchar *) "Attack", 902s # NULL, 902s # NULL, 902s # NULL 902s # }, 902s # "handle-attack", 902s # FALSE 902s # }; 902s # 902s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 902s # { 902s # &_com_acme_coyote_method_info_run.parent_struct, 902s # &_com_acme_coyote_method_info_sleep.parent_struct, 902s # &_com_acme_coyote_method_info_attack.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 902s # { 902s # { 902s # -1, 902s # (gchar *) "Surprised", 902s # NULL, 902s # NULL 902s # }, 902s # "surprised" 902s # }; 902s # 902s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 902s # { 902s # &_com_acme_coyote_signal_info_surprised.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 902s # { 902s # { 902s # -1, 902s # (gchar *) "Mood", 902s # (gchar *) "s", 902s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 902s # NULL 902s # }, 902s # "mood", 902s # FALSE, 902s # TRUE 902s # }; 902s # 902s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 902s # { 902s # &_com_acme_coyote_property_info_mood.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 902s # { 902s # { 902s # -1, 902s # (gchar *) "com.acme.Coyote", 902s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 902s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 902s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 902s # NULL 902s # }, 902s # "com-acme-coyote", 902s # }; 902s # 902s # 902s # /** 902s # * com_acme_coyote_interface_info: 902s # * 902s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 902s # * 902s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 902s # */ 902s # GDBusInterfaceInfo * 902s # com_acme_coyote_interface_info (void) 902s # { 902s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_override_properties: 902s # * @klass: The class structure for a #GObject derived class. 902s # * @property_id_begin: The property id to assign to the first overridden property. 902s # * 902s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 902s # * The properties are overridden in the order they are defined. 902s # * 902s # * Returns: The last property id. 902s # */ 902s # guint 902s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 902s # { 902s # g_object_class_override_property (klass, property_id_begin++, "mood"); 902s # return property_id_begin - 1; 902s # } 902s # 902s # 902s # inline static void 902s # com_acme_coyote_signal_marshal_surprised ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # g_cclosure_marshal_VOID__VOID (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # inline static void 902s # com_acme_coyote_method_marshal_run ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # inline static void 902s # com_acme_coyote_method_marshal_sleep ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # inline static void 902s # com_acme_coyote_method_marshal_attack ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # 902s # /** 902s # * ComAcmeCoyote: 902s # * 902s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 902s # */ 902s # 902s # /** 902s # * ComAcmeCoyoteIface: 902s # * @parent_iface: The parent interface. 902s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 902s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 902s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 902s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 902s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 902s # * 902s # * Virtual table for the D-Bus interface com.acme.Coyote. 902s # */ 902s # 902s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 902s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 902s # 902s # static void 902s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 902s # { 902s # /* GObject signals for incoming D-Bus method calls: */ 902s # /** 902s # * ComAcmeCoyote::handle-run: 902s # * @object: A #ComAcmeCoyote. 902s # * @invocation: A #GDBusMethodInvocation. 902s # * 902s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 902s # * 902s # * 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. 902s # * 902s # * 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. 902s # */ 902s # g_signal_new ("handle-run", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 902s # g_signal_accumulator_true_handled, 902s # NULL, 902s # com_acme_coyote_method_marshal_run, 902s # G_TYPE_BOOLEAN, 902s # 1, 902s # G_TYPE_DBUS_METHOD_INVOCATION); 902s # 902s # /** 902s # * ComAcmeCoyote::handle-sleep: 902s # * @object: A #ComAcmeCoyote. 902s # * @invocation: A #GDBusMethodInvocation. 902s # * 902s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 902s # * 902s # * 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. 902s # * 902s # * 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. 902s # */ 902s # g_signal_new ("handle-sleep", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 902s # g_signal_accumulator_true_handled, 902s # NULL, 902s # com_acme_coyote_method_marshal_sleep, 902s # G_TYPE_BOOLEAN, 902s # 1, 902s # G_TYPE_DBUS_METHOD_INVOCATION); 902s # 902s # /** 902s # * ComAcmeCoyote::handle-attack: 902s # * @object: A #ComAcmeCoyote. 902s # * @invocation: A #GDBusMethodInvocation. 902s # * 902s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 902s # * 902s # * 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. 902s # * 902s # * 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. 902s # */ 902s # g_signal_new ("handle-attack", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 902s # g_signal_accumulator_true_handled, 902s # NULL, 902s # com_acme_coyote_method_marshal_attack, 902s # G_TYPE_BOOLEAN, 902s # 1, 902s # G_TYPE_DBUS_METHOD_INVOCATION); 902s # 902s # /* GObject signals for received D-Bus signals: */ 902s # /** 902s # * ComAcmeCoyote::surprised: 902s # * @object: A #ComAcmeCoyote. 902s # * 902s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 902s # * 902s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 902s # */ 902s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 902s # g_signal_new ("surprised", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 902s # NULL, 902s # NULL, 902s # com_acme_coyote_signal_marshal_surprised, 902s # G_TYPE_NONE, 902s # 0); 902s # 902s # /* GObject properties for D-Bus properties: */ 902s # /** 902s # * ComAcmeCoyote:mood: 902s # * 902s # * Represents the D-Bus property "Mood". 902s # * 902s # * 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. 902s # */ 902s # g_object_interface_install_property (iface, 902s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_get_mood: (skip) 902s # * @object: A #ComAcmeCoyote. 902s # * 902s # * Gets the value of the "Mood" D-Bus property. 902s # * 902s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 902s # * 902s # * 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. 902s # * 902s # * 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. 902s # */ 902s # const gchar * 902s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 902s # { 902s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 902s # 902s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_dup_mood: (skip) 902s # * @object: A #ComAcmeCoyote. 902s # * 902s # * Gets a copy of the "Mood" D-Bus property. 902s # * 902s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 902s # * 902s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 902s # */ 902s # gchar * 902s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 902s # { 902s # gchar *value; 902s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 902s # return value; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_set_mood: (skip) 902s # * @object: A #ComAcmeCoyote. 902s # * @value: The value to set. 902s # * 902s # * Sets the "Mood" D-Bus property to @value. 902s # * 902s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 902s # */ 902s # void 902s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 902s # { 902s # g_object_set (G_OBJECT (object), "mood", value, NULL); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_emit_surprised: 902s # * @object: A #ComAcmeCoyote. 902s # * 902s # * Emits the "Surprised" D-Bus signal. 902s # */ 902s # void 902s # com_acme_coyote_emit_surprised ( 902s # ComAcmeCoyote *object) 902s # { 902s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_call_run: 902s # * @proxy: A #ComAcmeCoyoteProxy. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously invokes the Run() D-Bus method on @proxy. 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 902s # * 902s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 902s # */ 902s # void 902s # com_acme_coyote_call_run ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 902s # "Run", 902s # g_variant_new ("()"), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # cancellable, 902s # callback, 902s # user_data); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_call_run_finish: 902s # * @proxy: A #ComAcmeCoyoteProxy. 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 902s # * @error: Return location for error or %NULL. 902s # * 902s # * Finishes an operation started with com_acme_coyote_call_run(). 902s # * 902s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 902s # */ 902s # gboolean 902s # com_acme_coyote_call_run_finish ( 902s # ComAcmeCoyote *proxy, 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GVariant *_ret; 902s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 902s # if (_ret == NULL) 902s # goto _out; 902s # g_variant_get (_ret, 902s # "()"); 902s # g_variant_unref (_ret); 902s # _out: 902s # return _ret != NULL; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_call_run_sync: 902s # * @proxy: A #ComAcmeCoyoteProxy. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL. 902s # * 902s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 902s # * 902s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 902s # * 902s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 902s # */ 902s # gboolean 902s # com_acme_coyote_call_run_sync ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GVariant *_ret; 902s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 902s # "Run", 902s # g_variant_new ("()"), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # cancellable, 902s # error); 902s # if (_ret == NULL) 902s # goto _out; 902s # g_variant_get (_ret, 902s # "()"); 902s # g_variant_unref (_ret); 902s # _out: 902s # return _ret != NULL; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_call_sleep: 902s # * @proxy: A #ComAcmeCoyoteProxy. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 902s # * 902s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 902s # */ 902s # void 902s # com_acme_coyote_call_sleep ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 902s # "Sleep", 902s # g_variant_new ("()"), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # cancellable, 902s # callback, 902s # user_data); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_call_sleep_finish: 902s # * @proxy: A #ComAcmeCoyoteProxy. 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 902s # * @error: Return location for error or %NULL. 902s # * 902s # * Finishes an operation started with com_acme_coyote_call_sleep(). 902s # * 902s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 902s # */ 902s # gboolean 902s # com_acme_coyote_call_sleep_finish ( 902s # ComAcmeCoyote *proxy, 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GVariant *_ret; 902s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 902s # if (_ret == NULL) 902s # goto _out; 902s # g_variant_get (_ret, 902s # "()"); 902s # g_variant_unref (_ret); 902s # _out: 902s # return _ret != NULL; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_call_sleep_sync: 902s # * @proxy: A #ComAcmeCoyoteProxy. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL. 902s # * 902s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 902s # * 902s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 902s # * 902s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 902s # */ 902s # gboolean 902s # com_acme_coyote_call_sleep_sync ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GVariant *_ret; 902s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 902s # "Sleep", 902s # g_variant_new ("()"), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # cancellable, 902s # error); 902s # if (_ret == NULL) 902s # goto _out; 902s # g_variant_get (_ret, 902s # "()"); 902s # g_variant_unref (_ret); 902s # _out: 902s # return _ret != NULL; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_call_attack: 902s # * @proxy: A #ComAcmeCoyoteProxy. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 902s # * 902s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 902s # */ 902s # void 902s # com_acme_coyote_call_attack ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 902s # "Attack", 902s # g_variant_new ("()"), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # cancellable, 902s # callback, 902s # user_data); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_call_attack_finish: 902s # * @proxy: A #ComAcmeCoyoteProxy. 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 902s # * @error: Return location for error or %NULL. 902s # * 902s # * Finishes an operation started with com_acme_coyote_call_attack(). 902s # * 902s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 902s # */ 902s # gboolean 902s # com_acme_coyote_call_attack_finish ( 902s # ComAcmeCoyote *proxy, 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GVariant *_ret; 902s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 902s # if (_ret == NULL) 902s # goto _out; 902s # g_variant_get (_ret, 902s # "()"); 902s # g_variant_unref (_ret); 902s # _out: 902s # return _ret != NULL; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_call_attack_sync: 902s # * @proxy: A #ComAcmeCoyoteProxy. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL. 902s # * 902s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 902s # * 902s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 902s # * 902s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 902s # */ 902s # gboolean 902s # com_acme_coyote_call_attack_sync ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GVariant *_ret; 902s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 902s # "Attack", 902s # g_variant_new ("()"), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # cancellable, 902s # error); 902s # if (_ret == NULL) 902s # goto _out; 902s # g_variant_get (_ret, 902s # "()"); 902s # g_variant_unref (_ret); 902s # _out: 902s # return _ret != NULL; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_complete_run: 902s # * @object: A #ComAcmeCoyote. 902s # * @invocation: (transfer full): A #GDBusMethodInvocation. 902s # * 902s # * 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. 902s # * 902s # * This method will free @invocation, you cannot use it afterwards. 902s # */ 902s # void 902s # com_acme_coyote_complete_run ( 902s # ComAcmeCoyote *object G_GNUC_UNUSED, 902s # GDBusMethodInvocation *invocation) 902s # { 902s # g_dbus_method_invocation_return_value (invocation, 902s # g_variant_new ("()")); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_complete_sleep: 902s # * @object: A #ComAcmeCoyote. 902s # * @invocation: (transfer full): A #GDBusMethodInvocation. 902s # * 902s # * 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. 902s # * 902s # * This method will free @invocation, you cannot use it afterwards. 902s # */ 902s # void 902s # com_acme_coyote_complete_sleep ( 902s # ComAcmeCoyote *object G_GNUC_UNUSED, 902s # GDBusMethodInvocation *invocation) 902s # { 902s # g_dbus_method_invocation_return_value (invocation, 902s # g_variant_new ("()")); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_complete_attack: 902s # * @object: A #ComAcmeCoyote. 902s # * @invocation: (transfer full): A #GDBusMethodInvocation. 902s # * 902s # * 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. 902s # * 902s # * This method will free @invocation, you cannot use it afterwards. 902s # */ 902s # void 902s # com_acme_coyote_complete_attack ( 902s # ComAcmeCoyote *object G_GNUC_UNUSED, 902s # GDBusMethodInvocation *invocation) 902s # { 902s # g_dbus_method_invocation_return_value (invocation, 902s # g_variant_new ("()")); 902s # } 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * ComAcmeCoyoteProxy: 902s # * 902s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * ComAcmeCoyoteProxyClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #ComAcmeCoyoteProxy. 902s # */ 902s # 902s # struct _ComAcmeCoyoteProxyPrivate 902s # { 902s # GData *qdata; 902s # }; 902s # 902s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 902s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 902s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 902s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 902s # 902s # #endif 902s # static void 902s # com_acme_coyote_proxy_finalize (GObject *object) 902s # { 902s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 902s # g_datalist_clear (&proxy->priv->qdata); 902s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # com_acme_coyote_proxy_get_property (GObject *object, 902s # guint prop_id, 902s # GValue *value, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # const _ExtendedGDBusPropertyInfo *info; 902s # GVariant *variant; 902s # g_assert (prop_id != 0 && prop_id - 1 < 1); 902s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 902s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 902s # if (info->use_gvariant) 902s # { 902s # g_value_set_variant (value, variant); 902s # } 902s # else 902s # { 902s # if (variant != NULL) 902s # g_dbus_gvariant_to_gvalue (variant, value); 902s # } 902s # if (variant != NULL) 902s # g_variant_unref (variant); 902s # } 902s # 902s # static void 902s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 902s # GAsyncResult *res, 902s # gpointer user_data) 902s # { 902s # const _ExtendedGDBusPropertyInfo *info = user_data; 902s # GError *error; 902s # GVariant *_ret; 902s # error = NULL; 902s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 902s # if (!_ret) 902s # { 902s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 902s # info->parent_struct.name, 902s # error->message, g_quark_to_string (error->domain), error->code); 902s # g_error_free (error); 902s # } 902s # else 902s # { 902s # g_variant_unref (_ret); 902s # } 902s # } 902s # 902s # static void 902s # com_acme_coyote_proxy_set_property (GObject *object, 902s # guint prop_id, 902s # const GValue *value, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # const _ExtendedGDBusPropertyInfo *info; 902s # GVariant *variant; 902s # g_assert (prop_id != 0 && prop_id - 1 < 1); 902s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 902s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 902s # g_dbus_proxy_call (G_DBUS_PROXY (object), 902s # "org.freedesktop.DBus.Properties.Set", 902s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 902s # g_variant_unref (variant); 902s # } 902s # 902s # static void 902s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 902s # const gchar *sender_name G_GNUC_UNUSED, 902s # const gchar *signal_name, 902s # GVariant *parameters) 902s # { 902s # _ExtendedGDBusSignalInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # gsize n; 902s # guint signal_id; 902s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 902s # if (info == NULL) 902s # return; 902s # num_params = g_variant_n_children (parameters); 902s # paramv = g_new0 (GValue, num_params + 1); 902s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 902s # g_value_set_object (¶mv[0], proxy); 902s # g_variant_iter_init (&iter, parameters); 902s # n = 1; 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 902s # g_signal_emitv (paramv, signal_id, 0, NULL); 902s # for (n = 0; n < num_params + 1; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static void 902s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 902s # GVariant *changed_properties, 902s # const gchar *const *invalidated_properties) 902s # { 902s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 902s # guint n; 902s # const gchar *key; 902s # GVariantIter *iter; 902s # _ExtendedGDBusPropertyInfo *info; 902s # g_variant_get (changed_properties, "a{sv}", &iter); 902s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 902s # g_datalist_remove_data (&proxy->priv->qdata, key); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # g_variant_iter_free (iter); 902s # for (n = 0; invalidated_properties[n] != NULL; n++) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 902s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # } 902s # 902s # static const gchar * 902s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 902s # { 902s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 902s # GVariant *variant; 902s # const gchar *value = NULL; 902s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 902s # if (variant != NULL) 902s # { 902s # value = g_variant_get_string (variant, NULL); 902s # g_variant_unref (variant); 902s # } 902s # return value; 902s # } 902s # 902s # static void 902s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 902s # #else 902s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 902s # #endif 902s # 902s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 902s # } 902s # 902s # static void 902s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusProxyClass *proxy_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 902s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 902s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 902s # 902s # proxy_class = G_DBUS_PROXY_CLASS (klass); 902s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 902s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 902s # 902s # com_acme_coyote_override_properties (gobject_class, 1); 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 902s # { 902s # iface->get_mood = com_acme_coyote_proxy_get_mood; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_proxy_new: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 902s # * 902s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # com_acme_coyote_proxy_new ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_proxy_new_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with com_acme_coyote_proxy_new(). 902s # * 902s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # ComAcmeCoyote * 902s # com_acme_coyote_proxy_new_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return COM_ACME_COYOTE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_proxy_new_sync: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # ComAcmeCoyote * 902s # com_acme_coyote_proxy_new_sync ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return COM_ACME_COYOTE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /** 902s # * com_acme_coyote_proxy_new_for_bus: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 902s # * 902s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # com_acme_coyote_proxy_new_for_bus ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_proxy_new_for_bus_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 902s # * 902s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # ComAcmeCoyote * 902s # com_acme_coyote_proxy_new_for_bus_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return COM_ACME_COYOTE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_proxy_new_for_bus_sync: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # ComAcmeCoyote * 902s # com_acme_coyote_proxy_new_for_bus_sync ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return COM_ACME_COYOTE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * ComAcmeCoyoteSkeleton: 902s # * 902s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * ComAcmeCoyoteSkeletonClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #ComAcmeCoyoteSkeleton. 902s # */ 902s # 902s # struct _ComAcmeCoyoteSkeletonPrivate 902s # { 902s # GValue *properties; 902s # GList *changed_properties; 902s # GSource *changed_properties_idle_source; 902s # GMainContext *context; 902s # GMutex lock; 902s # }; 902s # 902s # static void 902s # _com_acme_coyote_skeleton_handle_method_call ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name, 902s # const gchar *method_name, 902s # GVariant *parameters, 902s # GDBusMethodInvocation *invocation, 902s # gpointer user_data) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 902s # _ExtendedGDBusMethodInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # guint num_extra; 902s # gsize n; 902s # guint signal_id; 902s # GValue return_value = G_VALUE_INIT; 902s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 902s # g_assert (info != NULL); 902s # num_params = g_variant_n_children (parameters); 902s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 902s # n = 0; 902s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 902s # g_value_set_object (¶mv[n++], skeleton); 902s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 902s # g_value_set_object (¶mv[n++], invocation); 902s # if (info->pass_fdlist) 902s # { 902s # #ifdef G_OS_UNIX 902s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 902s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 902s # #else 902s # g_assert_not_reached (); 902s # #endif 902s # } 902s # g_variant_iter_init (&iter, parameters); 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 902s # g_value_init (&return_value, G_TYPE_BOOLEAN); 902s # g_signal_emitv (paramv, signal_id, 0, &return_value); 902s # if (!g_value_get_boolean (&return_value)) 902s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 902s # g_value_unset (&return_value); 902s # for (n = 0; n < num_params + num_extra; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static GVariant * 902s # _com_acme_coyote_skeleton_handle_get_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # GVariant *ret; 902s # ret = NULL; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # g_value_init (&value, pspec->value_type); 902s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 902s # g_value_unset (&value); 902s # } 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _com_acme_coyote_skeleton_handle_set_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GVariant *variant, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # gboolean ret; 902s # ret = FALSE; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # if (info->use_gvariant) 902s # g_value_set_variant (&value, variant); 902s # else 902s # g_dbus_gvariant_to_gvalue (variant, &value); 902s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # g_value_unset (&value); 902s # ret = TRUE; 902s # } 902s # return ret; 902s # } 902s # 902s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 902s # { 902s # _com_acme_coyote_skeleton_handle_method_call, 902s # _com_acme_coyote_skeleton_handle_get_property, 902s # _com_acme_coyote_skeleton_handle_set_property, 902s # {NULL} 902s # }; 902s # 902s # static GDBusInterfaceInfo * 902s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return com_acme_coyote_interface_info (); 902s # } 902s # 902s # static GDBusInterfaceVTable * 902s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 902s # } 902s # 902s # static GVariant * 902s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 902s # 902s # GVariantBuilder builder; 902s # guint n; 902s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 902s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 902s # goto out; 902s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 902s # { 902s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 902s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 902s # { 902s # GVariant *value; 902s # 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); 902s # if (value != NULL) 902s # { 902s # g_variant_take_ref (value); 902s # g_variant_builder_add (&builder, "{sv}", info->name, value); 902s # g_variant_unref (value); 902s # } 902s # } 902s # } 902s # out: 902s # return g_variant_builder_end (&builder); 902s # } 902s # 902s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 902s # 902s # static void 902s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 902s # gboolean emit_changed = FALSE; 902s # 902s # g_mutex_lock (&skeleton->priv->lock); 902s # if (skeleton->priv->changed_properties_idle_source != NULL) 902s # { 902s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 902s # skeleton->priv->changed_properties_idle_source = NULL; 902s # emit_changed = TRUE; 902s # } 902s # g_mutex_unlock (&skeleton->priv->lock); 902s # 902s # if (emit_changed) 902s # _com_acme_coyote_emit_changed (skeleton); 902s # } 902s # 902s # static void 902s # _com_acme_coyote_on_signal_surprised ( 902s # ComAcmeCoyote *object) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 902s # 902s # GList *connections, *l; 902s # GVariant *signal_variant; 902s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 902s # 902s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 902s # for (l = connections; l != NULL; l = l->next) 902s # { 902s # GDBusConnection *connection = l->data; 902s # g_dbus_connection_emit_signal (connection, 902s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 902s # signal_variant, NULL); 902s # } 902s # g_variant_unref (signal_variant); 902s # g_list_free_full (connections, g_object_unref); 902s # } 902s # 902s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 902s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 902s # 902s # #endif 902s # static void 902s # com_acme_coyote_skeleton_finalize (GObject *object) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 902s # guint n; 902s # for (n = 0; n < 1; n++) 902s # g_value_unset (&skeleton->priv->properties[n]); 902s # g_free (skeleton->priv->properties); 902s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 902s # if (skeleton->priv->changed_properties_idle_source != NULL) 902s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 902s # g_main_context_unref (skeleton->priv->context); 902s # g_mutex_clear (&skeleton->priv->lock); 902s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # com_acme_coyote_skeleton_get_property (GObject *object, 902s # guint prop_id, 902s # GValue *value, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 902s # g_assert (prop_id != 0 && prop_id - 1 < 1); 902s # g_mutex_lock (&skeleton->priv->lock); 902s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 902s # g_mutex_unlock (&skeleton->priv->lock); 902s # } 902s # 902s # static gboolean 902s # _com_acme_coyote_emit_changed (gpointer user_data) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 902s # GList *l; 902s # GVariantBuilder builder; 902s # GVariantBuilder invalidated_builder; 902s # guint num_changes; 902s # 902s # g_mutex_lock (&skeleton->priv->lock); 902s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 902s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 902s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 902s # { 902s # ChangedProperty *cp = l->data; 902s # GVariant *variant; 902s # const GValue *cur_value; 902s # 902s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 902s # if (!_g_value_equal (cur_value, &cp->orig_value)) 902s # { 902s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 902s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 902s # g_variant_unref (variant); 902s # num_changes++; 902s # } 902s # } 902s # if (num_changes > 0) 902s # { 902s # GList *connections, *ll; 902s # GVariant *signal_variant; 902s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 902s # &builder, &invalidated_builder)); 902s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 902s # for (ll = connections; ll != NULL; ll = ll->next) 902s # { 902s # GDBusConnection *connection = ll->data; 902s # 902s # g_dbus_connection_emit_signal (connection, 902s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 902s # "org.freedesktop.DBus.Properties", 902s # "PropertiesChanged", 902s # signal_variant, 902s # NULL); 902s # } 902s # g_variant_unref (signal_variant); 902s # g_list_free_full (connections, g_object_unref); 902s # } 902s # else 902s # { 902s # g_variant_builder_clear (&builder); 902s # g_variant_builder_clear (&invalidated_builder); 902s # } 902s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 902s # skeleton->priv->changed_properties = NULL; 902s # skeleton->priv->changed_properties_idle_source = NULL; 902s # g_mutex_unlock (&skeleton->priv->lock); 902s # return FALSE; 902s # } 902s # 902s # static void 902s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 902s # { 902s # ChangedProperty *cp; 902s # GList *l; 902s # cp = NULL; 902s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 902s # { 902s # ChangedProperty *i_cp = l->data; 902s # if (i_cp->info == info) 902s # { 902s # cp = i_cp; 902s # break; 902s # } 902s # } 902s # if (cp == NULL) 902s # { 902s # cp = g_new0 (ChangedProperty, 1); 902s # cp->prop_id = prop_id; 902s # cp->info = info; 902s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 902s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 902s # g_value_copy (orig_value, &cp->orig_value); 902s # } 902s # } 902s # 902s # static void 902s # com_acme_coyote_skeleton_notify (GObject *object, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 902s # g_mutex_lock (&skeleton->priv->lock); 902s # if (skeleton->priv->changed_properties != NULL && 902s # skeleton->priv->changed_properties_idle_source == NULL) 902s # { 902s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 902s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 902s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 902s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 902s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 902s # g_source_unref (skeleton->priv->changed_properties_idle_source); 902s # } 902s # g_mutex_unlock (&skeleton->priv->lock); 902s # } 902s # 902s # static void 902s # com_acme_coyote_skeleton_set_property (GObject *object, 902s # guint prop_id, 902s # const GValue *value, 902s # GParamSpec *pspec) 902s # { 902s # const _ExtendedGDBusPropertyInfo *info; 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 902s # g_assert (prop_id != 0 && prop_id - 1 < 1); 902s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 902s # g_mutex_lock (&skeleton->priv->lock); 902s # g_object_freeze_notify (object); 902s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 902s # { 902s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 902s # info->emits_changed_signal) 902s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 902s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 902s # g_object_notify_by_pspec (object, pspec); 902s # } 902s # g_mutex_unlock (&skeleton->priv->lock); 902s # g_object_thaw_notify (object); 902s # } 902s # 902s # static void 902s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 902s # #else 902s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 902s # #endif 902s # 902s # g_mutex_init (&skeleton->priv->lock); 902s # skeleton->priv->context = g_main_context_ref_thread_default (); 902s # skeleton->priv->properties = g_new0 (GValue, 1); 902s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 902s # } 902s # 902s # static const gchar * 902s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 902s # const gchar *value; 902s # g_mutex_lock (&skeleton->priv->lock); 902s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 902s # g_mutex_unlock (&skeleton->priv->lock); 902s # return value; 902s # } 902s # 902s # static void 902s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusInterfaceSkeletonClass *skeleton_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 902s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 902s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 902s # gobject_class->notify = com_acme_coyote_skeleton_notify; 902s # 902s # 902s # com_acme_coyote_override_properties (gobject_class, 1); 902s # 902s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 902s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 902s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 902s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 902s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 902s # { 902s # iface->surprised = _com_acme_coyote_on_signal_surprised; 902s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_skeleton_new: 902s # * 902s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 902s # * 902s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 902s # */ 902s # ComAcmeCoyote * 902s # com_acme_coyote_skeleton_new (void) 902s # { 902s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 902s # } 902s # 902s # /* ------------------------------------------------------------------------ 902s # * Code for interface org.project.Bar.Frobnicator 902s # * ------------------------------------------------------------------------ 902s # */ 902s # 902s # /** 902s # * SECTION:OrgProjectBarFrobnicator 902s # * @title: OrgProjectBarFrobnicator 902s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 902s # * 902s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 902s # */ 902s # 902s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 902s # 902s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 902s # { 902s # { 902s # -1, 902s # (gchar *) "RandomMethod", 902s # NULL, 902s # NULL, 902s # NULL 902s # }, 902s # "handle-random-method", 902s # FALSE 902s # }; 902s # 902s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 902s # { 902s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 902s # { 902s # { 902s # -1, 902s # (gchar *) "org.project.Bar.Frobnicator", 902s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 902s # NULL, 902s # NULL, 902s # NULL 902s # }, 902s # "org-project-bar-frobnicator", 902s # }; 902s # 902s # 902s # /** 902s # * org_project_bar_frobnicator_interface_info: 902s # * 902s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 902s # * 902s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 902s # */ 902s # GDBusInterfaceInfo * 902s # org_project_bar_frobnicator_interface_info (void) 902s # { 902s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_override_properties: 902s # * @klass: The class structure for a #GObject derived class. 902s # * @property_id_begin: The property id to assign to the first overridden property. 902s # * 902s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 902s # * The properties are overridden in the order they are defined. 902s # * 902s # * Returns: The last property id. 902s # */ 902s # guint 902s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 902s # { 902s # return property_id_begin - 1; 902s # } 902s # 902s # 902s # inline static void 902s # org_project_bar_frobnicator_method_marshal_random_method ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # 902s # /** 902s # * OrgProjectBarFrobnicator: 902s # * 902s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 902s # */ 902s # 902s # /** 902s # * OrgProjectBarFrobnicatorIface: 902s # * @parent_iface: The parent interface. 902s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 902s # * 902s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 902s # */ 902s # 902s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 902s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 902s # 902s # static void 902s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 902s # { 902s # /* GObject signals for incoming D-Bus method calls: */ 902s # /** 902s # * OrgProjectBarFrobnicator::handle-random-method: 902s # * @object: A #OrgProjectBarFrobnicator. 902s # * @invocation: A #GDBusMethodInvocation. 902s # * 902s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 902s # * 902s # * 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. 902s # * 902s # * 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. 902s # */ 902s # g_signal_new ("handle-random-method", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 902s # g_signal_accumulator_true_handled, 902s # NULL, 902s # org_project_bar_frobnicator_method_marshal_random_method, 902s # G_TYPE_BOOLEAN, 902s # 1, 902s # G_TYPE_DBUS_METHOD_INVOCATION); 902s # 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_call_random_method: 902s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 902s # * 902s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 902s # */ 902s # void 902s # org_project_bar_frobnicator_call_random_method ( 902s # OrgProjectBarFrobnicator *proxy, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 902s # "RandomMethod", 902s # g_variant_new ("()"), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # cancellable, 902s # callback, 902s # user_data); 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_call_random_method_finish: 902s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 902s # * @error: Return location for error or %NULL. 902s # * 902s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 902s # * 902s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 902s # */ 902s # gboolean 902s # org_project_bar_frobnicator_call_random_method_finish ( 902s # OrgProjectBarFrobnicator *proxy, 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GVariant *_ret; 902s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 902s # if (_ret == NULL) 902s # goto _out; 902s # g_variant_get (_ret, 902s # "()"); 902s # g_variant_unref (_ret); 902s # _out: 902s # return _ret != NULL; 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_call_random_method_sync: 902s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL. 902s # * 902s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 902s # * 902s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 902s # */ 902s # gboolean 902s # org_project_bar_frobnicator_call_random_method_sync ( 902s # OrgProjectBarFrobnicator *proxy, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GVariant *_ret; 902s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 902s # "RandomMethod", 902s # g_variant_new ("()"), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # cancellable, 902s # error); 902s # if (_ret == NULL) 902s # goto _out; 902s # g_variant_get (_ret, 902s # "()"); 902s # g_variant_unref (_ret); 902s # _out: 902s # return _ret != NULL; 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_complete_random_method: 902s # * @object: A #OrgProjectBarFrobnicator. 902s # * @invocation: (transfer full): A #GDBusMethodInvocation. 902s # * 902s # * 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. 902s # * 902s # * This method will free @invocation, you cannot use it afterwards. 902s # */ 902s # void 902s # org_project_bar_frobnicator_complete_random_method ( 902s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 902s # GDBusMethodInvocation *invocation) 902s # { 902s # g_dbus_method_invocation_return_value (invocation, 902s # g_variant_new ("()")); 902s # } 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectBarFrobnicatorProxy: 902s # * 902s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectBarFrobnicatorProxyClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectBarFrobnicatorProxy. 902s # */ 902s # 902s # struct _OrgProjectBarFrobnicatorProxyPrivate 902s # { 902s # GData *qdata; 902s # }; 902s # 902s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 902s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 902s # { 902s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 902s # g_datalist_clear (&proxy->priv->qdata); 902s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # const GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 902s # const gchar *sender_name G_GNUC_UNUSED, 902s # const gchar *signal_name, 902s # GVariant *parameters) 902s # { 902s # _ExtendedGDBusSignalInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # gsize n; 902s # guint signal_id; 902s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 902s # if (info == NULL) 902s # return; 902s # num_params = g_variant_n_children (parameters); 902s # paramv = g_new0 (GValue, num_params + 1); 902s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 902s # g_value_set_object (¶mv[0], proxy); 902s # g_variant_iter_init (&iter, parameters); 902s # n = 1; 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 902s # g_signal_emitv (paramv, signal_id, 0, NULL); 902s # for (n = 0; n < num_params + 1; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 902s # GVariant *changed_properties, 902s # const gchar *const *invalidated_properties) 902s # { 902s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 902s # guint n; 902s # const gchar *key; 902s # GVariantIter *iter; 902s # _ExtendedGDBusPropertyInfo *info; 902s # g_variant_get (changed_properties, "a{sv}", &iter); 902s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 902s # g_datalist_remove_data (&proxy->priv->qdata, key); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # g_variant_iter_free (iter); 902s # for (n = 0; invalidated_properties[n] != NULL; n++) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 902s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 902s # #else 902s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 902s # #endif 902s # 902s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusProxyClass *proxy_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 902s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 902s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 902s # 902s # proxy_class = G_DBUS_PROXY_CLASS (klass); 902s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 902s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_proxy_new: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 902s # * 902s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_bar_frobnicator_proxy_new ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_proxy_new_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectBarFrobnicator * 902s # org_project_bar_frobnicator_proxy_new_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_proxy_new_sync: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectBarFrobnicator * 902s # org_project_bar_frobnicator_proxy_new_sync ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /** 902s # * org_project_bar_frobnicator_proxy_new_for_bus: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 902s # * 902s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_bar_frobnicator_proxy_new_for_bus ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectBarFrobnicator * 902s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectBarFrobnicator * 902s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectBarFrobnicatorSkeleton: 902s # * 902s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectBarFrobnicatorSkeletonClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 902s # */ 902s # 902s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 902s # { 902s # GValue *properties; 902s # GList *changed_properties; 902s # GSource *changed_properties_idle_source; 902s # GMainContext *context; 902s # GMutex lock; 902s # }; 902s # 902s # static void 902s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name, 902s # const gchar *method_name, 902s # GVariant *parameters, 902s # GDBusMethodInvocation *invocation, 902s # gpointer user_data) 902s # { 902s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 902s # _ExtendedGDBusMethodInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # guint num_extra; 902s # gsize n; 902s # guint signal_id; 902s # GValue return_value = G_VALUE_INIT; 902s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 902s # g_assert (info != NULL); 902s # num_params = g_variant_n_children (parameters); 902s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 902s # n = 0; 902s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 902s # g_value_set_object (¶mv[n++], skeleton); 902s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 902s # g_value_set_object (¶mv[n++], invocation); 902s # if (info->pass_fdlist) 902s # { 902s # #ifdef G_OS_UNIX 902s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 902s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 902s # #else 902s # g_assert_not_reached (); 902s # #endif 902s # } 902s # g_variant_iter_init (&iter, parameters); 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 902s # g_value_init (&return_value, G_TYPE_BOOLEAN); 902s # g_signal_emitv (paramv, signal_id, 0, &return_value); 902s # if (!g_value_get_boolean (&return_value)) 902s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 902s # g_value_unset (&return_value); 902s # for (n = 0; n < num_params + num_extra; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static GVariant * 902s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # GVariant *ret; 902s # ret = NULL; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # g_value_init (&value, pspec->value_type); 902s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 902s # g_value_unset (&value); 902s # } 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GVariant *variant, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # gboolean ret; 902s # ret = FALSE; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # if (info->use_gvariant) 902s # g_value_set_variant (&value, variant); 902s # else 902s # g_dbus_gvariant_to_gvalue (variant, &value); 902s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # g_value_unset (&value); 902s # ret = TRUE; 902s # } 902s # return ret; 902s # } 902s # 902s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 902s # { 902s # _org_project_bar_frobnicator_skeleton_handle_method_call, 902s # _org_project_bar_frobnicator_skeleton_handle_get_property, 902s # _org_project_bar_frobnicator_skeleton_handle_set_property, 902s # {NULL} 902s # }; 902s # 902s # static GDBusInterfaceInfo * 902s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return org_project_bar_frobnicator_interface_info (); 902s # } 902s # 902s # static GDBusInterfaceVTable * 902s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 902s # } 902s # 902s # static GVariant * 902s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 902s # { 902s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 902s # 902s # GVariantBuilder builder; 902s # guint n; 902s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 902s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 902s # goto out; 902s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 902s # { 902s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 902s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 902s # { 902s # GVariant *value; 902s # 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); 902s # if (value != NULL) 902s # { 902s # g_variant_take_ref (value); 902s # g_variant_builder_add (&builder, "{sv}", info->name, value); 902s # g_variant_unref (value); 902s # } 902s # } 902s # } 902s # out: 902s # return g_variant_builder_end (&builder); 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 902s # { 902s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 902s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 902s # if (skeleton->priv->changed_properties_idle_source != NULL) 902s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 902s # g_main_context_unref (skeleton->priv->context); 902s # g_mutex_clear (&skeleton->priv->lock); 902s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 902s # #else 902s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 902s # #endif 902s # 902s # g_mutex_init (&skeleton->priv->lock); 902s # skeleton->priv->context = g_main_context_ref_thread_default (); 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusInterfaceSkeletonClass *skeleton_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 902s # 902s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 902s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 902s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 902s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 902s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_skeleton_new: 902s # * 902s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 902s # * 902s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 902s # */ 902s # OrgProjectBarFrobnicator * 902s # org_project_bar_frobnicator_skeleton_new (void) 902s # { 902s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 902s # } 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpexqvjpeg/tmpz_4ra6m72.xml', '/tmp/tmpexqvjpeg/tmprw003b8q1.xml', '--output', '-', '--body'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: /* 902s # * This file is generated by gdbus-codegen, do not modify it. 902s # * 902s # * The license of this code is the same as for the D-Bus interface description 902s # * it was derived from. Note that it links to GLib, so must comply with the 902s # * LGPL linking clauses. 902s # */ 902s # 902s # #ifdef HAVE_CONFIG_H 902s # # include "config.h" 902s # #endif 902s # 902s # #include 902s # #ifdef G_OS_UNIX 902s # # include 902s # #endif 902s # 902s # #ifdef G_ENABLE_DEBUG 902s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 902s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 902s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 902s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 902s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 902s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 902s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 902s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 902s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 902s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 902s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 902s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 902s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 902s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 902s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 902s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 902s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 902s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 902s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 902s # #else /* !G_ENABLE_DEBUG */ 902s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 902s # * Do not access GValues directly in your code. Instead, use the 902s # * g_value_get_*() functions 902s # */ 902s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 902s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 902s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 902s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 902s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 902s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 902s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 902s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 902s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 902s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 902s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 902s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 902s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 902s # #endif /* !G_ENABLE_DEBUG */ 902s # 902s # typedef struct 902s # { 902s # GDBusArgInfo parent_struct; 902s # gboolean use_gvariant; 902s # } _ExtendedGDBusArgInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusMethodInfo parent_struct; 902s # const gchar *signal_name; 902s # gboolean pass_fdlist; 902s # } _ExtendedGDBusMethodInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusSignalInfo parent_struct; 902s # const gchar *signal_name; 902s # } _ExtendedGDBusSignalInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusPropertyInfo parent_struct; 902s # const gchar *hyphen_name; 902s # guint use_gvariant : 1; 902s # guint emits_changed_signal : 1; 902s # } _ExtendedGDBusPropertyInfo; 902s # 902s # typedef struct 902s # { 902s # GDBusInterfaceInfo parent_struct; 902s # const gchar *hyphen_name; 902s # } _ExtendedGDBusInterfaceInfo; 902s # 902s # typedef struct 902s # { 902s # const _ExtendedGDBusPropertyInfo *info; 902s # guint prop_id; 902s # GValue orig_value; /* the value before the change */ 902s # } ChangedProperty; 902s # 902s # static void 902s # _changed_property_free (ChangedProperty *data) 902s # { 902s # g_value_unset (&data->orig_value); 902s # g_free (data); 902s # } 902s # 902s # static gboolean 902s # _g_strv_equal0 (gchar **a, gchar **b) 902s # { 902s # gboolean ret = FALSE; 902s # guint n; 902s # if (a == NULL && b == NULL) 902s # { 902s # ret = TRUE; 902s # goto out; 902s # } 902s # if (a == NULL || b == NULL) 902s # goto out; 902s # if (g_strv_length (a) != g_strv_length (b)) 902s # goto out; 902s # for (n = 0; a[n] != NULL; n++) 902s # if (g_strcmp0 (a[n], b[n]) != 0) 902s # goto out; 902s # ret = TRUE; 902s # out: 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _g_variant_equal0 (GVariant *a, GVariant *b) 902s # { 902s # gboolean ret = FALSE; 902s # if (a == NULL && b == NULL) 902s # { 902s # ret = TRUE; 902s # goto out; 902s # } 902s # if (a == NULL || b == NULL) 902s # goto out; 902s # ret = g_variant_equal (a, b); 902s # out: 902s # return ret; 902s # } 902s # 902s # G_GNUC_UNUSED static gboolean 902s # _g_value_equal (const GValue *a, const GValue *b) 902s # { 902s # gboolean ret = FALSE; 902s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 902s # switch (G_VALUE_TYPE (a)) 902s # { 902s # case G_TYPE_BOOLEAN: 902s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 902s # break; 902s # case G_TYPE_UCHAR: 902s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 902s # break; 902s # case G_TYPE_INT: 902s # ret = (g_value_get_int (a) == g_value_get_int (b)); 902s # break; 902s # case G_TYPE_UINT: 902s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 902s # break; 902s # case G_TYPE_INT64: 902s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 902s # break; 902s # case G_TYPE_UINT64: 902s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 902s # break; 902s # case G_TYPE_DOUBLE: 902s # { 902s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 902s # gdouble da = g_value_get_double (a); 902s # gdouble db = g_value_get_double (b); 902s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 902s # } 902s # break; 902s # case G_TYPE_STRING: 902s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 902s # break; 902s # case G_TYPE_VARIANT: 902s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 902s # break; 902s # default: 902s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 902s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 902s # else 902s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 902s # break; 902s # } 902s # return ret; 902s # } 902s # 902s # static void 902s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint G_GNUC_UNUSED, 902s # void *marshal_data) 902s # { 902s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 902s # (void *data1, 902s # GDBusMethodInvocation *arg_method_invocation, 902s # void *data2); 902s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 902s # GCClosure *cc = (GCClosure*) closure; 902s # void *data1, *data2; 902s # gboolean v_return; 902s # 902s # g_return_if_fail (return_value != NULL); 902s # g_return_if_fail (n_param_values == 2); 902s # 902s # if (G_CCLOSURE_SWAP_DATA (closure)) 902s # { 902s # data1 = closure->data; 902s # data2 = g_value_peek_pointer (param_values + 0); 902s # } 902s # else 902s # { 902s # data1 = g_value_peek_pointer (param_values + 0); 902s # data2 = closure->data; 902s # } 902s # 902s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 902s # (marshal_data ? marshal_data : cc->callback); 902s # 902s # v_return = 902s # callback (data1, 902s # g_marshal_value_peek_object (param_values + 1), 902s # data2); 902s # 902s # g_value_set_boolean (return_value, v_return); 902s # } 902s # 902s # /* ------------------------------------------------------------------------ 902s # * Code for interface com.acme.Coyote 902s # * ------------------------------------------------------------------------ 902s # */ 902s # 902s # /** 902s # * SECTION:ComAcmeCoyote 902s # * @title: ComAcmeCoyote 902s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 902s # * 902s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 902s # */ 902s # 902s # enum 902s # { 902s # _COM_ACME_COYOTE_SURPRISED, 902s # }; 902s # 902s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 902s # 902s # /* ---- Introspection data for com.acme.Coyote ---- */ 902s # 902s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 902s # { 902s # { 902s # -1, 902s # (gchar *) "Run", 902s # NULL, 902s # NULL, 902s # NULL 902s # }, 902s # "handle-run", 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 902s # { 902s # { 902s # -1, 902s # (gchar *) "Sleep", 902s # NULL, 902s # NULL, 902s # NULL 902s # }, 902s # "handle-sleep", 902s # FALSE 902s # }; 902s # 902s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 902s # { 902s # { 902s # -1, 902s # (gchar *) "Attack", 902s # NULL, 902s # NULL, 902s # NULL 902s # }, 902s # "handle-attack", 902s # FALSE 902s # }; 902s # 902s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 902s # { 902s # &_com_acme_coyote_method_info_run.parent_struct, 902s # &_com_acme_coyote_method_info_sleep.parent_struct, 902s # &_com_acme_coyote_method_info_attack.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 902s # { 902s # { 902s # -1, 902s # (gchar *) "Surprised", 902s # NULL, 902s # NULL 902s # }, 902s # "surprised" 902s # }; 902s # 902s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 902s # { 902s # &_com_acme_coyote_signal_info_surprised.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 902s # { 902s # { 902s # -1, 902s # (gchar *) "Mood", 902s # (gchar *) "s", 902s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 902s # NULL 902s # }, 902s # "mood", 902s # FALSE, 902s # TRUE 902s # }; 902s # 902s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 902s # { 902s # &_com_acme_coyote_property_info_mood.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 902s # { 902s # { 902s # -1, 902s # (gchar *) "com.acme.Coyote", 902s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 902s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 902s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 902s # NULL 902s # }, 902s # "com-acme-coyote", 902s # }; 902s # 902s # 902s # /** 902s # * com_acme_coyote_interface_info: 902s # * 902s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 902s # * 902s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 902s # */ 902s # GDBusInterfaceInfo * 902s # com_acme_coyote_interface_info (void) 902s # { 902s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_override_properties: 902s # * @klass: The class structure for a #GObject derived class. 902s # * @property_id_begin: The property id to assign to the first overridden property. 902s # * 902s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 902s # * The properties are overridden in the order they are defined. 902s # * 902s # * Returns: The last property id. 902s # */ 902s # guint 902s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 902s # { 902s # g_object_class_override_property (klass, property_id_begin++, "mood"); 902s # return property_id_begin - 1; 902s # } 902s # 902s # 902s # inline static void 902s # com_acme_coyote_signal_marshal_surprised ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # g_cclosure_marshal_VOID__VOID (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # inline static void 902s # com_acme_coyote_method_marshal_run ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # inline static void 902s # com_acme_coyote_method_marshal_sleep ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # inline static void 902s # com_acme_coyote_method_marshal_attack ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # 902s # /** 902s # * ComAcmeCoyote: 902s # * 902s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 902s # */ 902s # 902s # /** 902s # * ComAcmeCoyoteIface: 902s # * @parent_iface: The parent interface. 902s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 902s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 902s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 902s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 902s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 902s # * 902s # * Virtual table for the D-Bus interface com.acme.Coyote. 902s # */ 902s # 902s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 902s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 902s # 902s # static void 902s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 902s # { 902s # /* GObject signals for incoming D-Bus method calls: */ 902s # /** 902s # * ComAcmeCoyote::handle-run: 902s # * @object: A #ComAcmeCoyote. 902s # * @invocation: A #GDBusMethodInvocation. 902s # * 902s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 902s # * 902s # * 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. 902s # * 902s # * 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. 902s # */ 902s # g_signal_new ("handle-run", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 902s # g_signal_accumulator_true_handled, 902s # NULL, 902s # com_acme_coyote_method_marshal_run, 902s # G_TYPE_BOOLEAN, 902s # 1, 902s # G_TYPE_DBUS_METHOD_INVOCATION); 902s # 902s # /** 902s # * ComAcmeCoyote::handle-sleep: 902s # * @object: A #ComAcmeCoyote. 902s # * @invocation: A #GDBusMethodInvocation. 902s # * 902s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 902s # * 902s # * 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. 902s # * 902s # * 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. 902s # */ 902s # g_signal_new ("handle-sleep", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 902s # g_signal_accumulator_true_handled, 902s # NULL, 902s # com_acme_coyote_method_marshal_sleep, 902s # G_TYPE_BOOLEAN, 902s # 1, 902s # G_TYPE_DBUS_METHOD_INVOCATION); 902s # 902s # /** 902s # * ComAcmeCoyote::handle-attack: 902s # * @object: A #ComAcmeCoyote. 902s # * @invocation: A #GDBusMethodInvocation. 902s # * 902s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 902s # * 902s # * 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. 902s # * 902s # * 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. 902s # */ 902s # g_signal_new ("handle-attack", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 902s # g_signal_accumulator_true_handled, 902s # NULL, 902s # com_acme_coyote_method_marshal_attack, 902s # G_TYPE_BOOLEAN, 902s # 1, 902s # G_TYPE_DBUS_METHOD_INVOCATION); 902s # 902s # /* GObject signals for received D-Bus signals: */ 902s # /** 902s # * ComAcmeCoyote::surprised: 902s # * @object: A #ComAcmeCoyote. 902s # * 902s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 902s # * 902s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 902s # */ 902s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 902s # g_signal_new ("surprised", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 902s # NULL, 902s # NULL, 902s # com_acme_coyote_signal_marshal_surprised, 902s # G_TYPE_NONE, 902s # 0); 902s # 902s # /* GObject properties for D-Bus properties: */ 902s # /** 902s # * ComAcmeCoyote:mood: 902s # * 902s # * Represents the D-Bus property "Mood". 902s # * 902s # * 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. 902s # */ 902s # g_object_interface_install_property (iface, 902s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_get_mood: (skip) 902s # * @object: A #ComAcmeCoyote. 902s # * 902s # * Gets the value of the "Mood" D-Bus property. 902s # * 902s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 902s # * 902s # * 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. 902s # * 902s # * 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. 902s # */ 902s # const gchar * 902s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 902s # { 902s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 902s # 902s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_dup_mood: (skip) 902s # * @object: A #ComAcmeCoyote. 902s # * 902s # * Gets a copy of the "Mood" D-Bus property. 902s # * 902s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 902s # * 902s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 902s # */ 902s # gchar * 902s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 902s # { 902s # gchar *value; 902s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 902s # return value; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_set_mood: (skip) 902s # * @object: A #ComAcmeCoyote. 902s # * @value: The value to set. 902s # * 902s # * Sets the "Mood" D-Bus property to @value. 902s # * 902s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 902s # */ 902s # void 902s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 902s # { 902s # g_object_set (G_OBJECT (object), "mood", value, NULL); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_emit_surprised: 902s # * @object: A #ComAcmeCoyote. 902s # * 902s # * Emits the "Surprised" D-Bus signal. 902s # */ 902s # void 902s # com_acme_coyote_emit_surprised ( 902s # ComAcmeCoyote *object) 902s # { 902s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_call_run: 902s # * @proxy: A #ComAcmeCoyoteProxy. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously invokes the Run() D-Bus method on @proxy. 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 902s # * 902s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 902s # */ 902s # void 902s # com_acme_coyote_call_run ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 902s # "Run", 902s # g_variant_new ("()"), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # cancellable, 902s # callback, 902s # user_data); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_call_run_finish: 902s # * @proxy: A #ComAcmeCoyoteProxy. 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 902s # * @error: Return location for error or %NULL. 902s # * 902s # * Finishes an operation started with com_acme_coyote_call_run(). 902s # * 902s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 902s # */ 902s # gboolean 902s # com_acme_coyote_call_run_finish ( 902s # ComAcmeCoyote *proxy, 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GVariant *_ret; 902s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 902s # if (_ret == NULL) 902s # goto _out; 902s # g_variant_get (_ret, 902s # "()"); 902s # g_variant_unref (_ret); 902s # _out: 902s # return _ret != NULL; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_call_run_sync: 902s # * @proxy: A #ComAcmeCoyoteProxy. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL. 902s # * 902s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 902s # * 902s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 902s # * 902s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 902s # */ 902s # gboolean 902s # com_acme_coyote_call_run_sync ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GVariant *_ret; 902s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 902s # "Run", 902s # g_variant_new ("()"), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # cancellable, 902s # error); 902s # if (_ret == NULL) 902s # goto _out; 902s # g_variant_get (_ret, 902s # "()"); 902s # g_variant_unref (_ret); 902s # _out: 902s # return _ret != NULL; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_call_sleep: 902s # * @proxy: A #ComAcmeCoyoteProxy. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 902s # * 902s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 902s # */ 902s # void 902s # com_acme_coyote_call_sleep ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 902s # "Sleep", 902s # g_variant_new ("()"), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # cancellable, 902s # callback, 902s # user_data); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_call_sleep_finish: 902s # * @proxy: A #ComAcmeCoyoteProxy. 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 902s # * @error: Return location for error or %NULL. 902s # * 902s # * Finishes an operation started with com_acme_coyote_call_sleep(). 902s # * 902s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 902s # */ 902s # gboolean 902s # com_acme_coyote_call_sleep_finish ( 902s # ComAcmeCoyote *proxy, 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GVariant *_ret; 902s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 902s # if (_ret == NULL) 902s # goto _out; 902s # g_variant_get (_ret, 902s # "()"); 902s # g_variant_unref (_ret); 902s # _out: 902s # return _ret != NULL; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_call_sleep_sync: 902s # * @proxy: A #ComAcmeCoyoteProxy. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL. 902s # * 902s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 902s # * 902s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 902s # * 902s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 902s # */ 902s # gboolean 902s # com_acme_coyote_call_sleep_sync ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GVariant *_ret; 902s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 902s # "Sleep", 902s # g_variant_new ("()"), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # cancellable, 902s # error); 902s # if (_ret == NULL) 902s # goto _out; 902s # g_variant_get (_ret, 902s # "()"); 902s # g_variant_unref (_ret); 902s # _out: 902s # return _ret != NULL; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_call_attack: 902s # * @proxy: A #ComAcmeCoyoteProxy. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 902s # * 902s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 902s # */ 902s # void 902s # com_acme_coyote_call_attack ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 902s # "Attack", 902s # g_variant_new ("()"), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # cancellable, 902s # callback, 902s # user_data); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_call_attack_finish: 902s # * @proxy: A #ComAcmeCoyoteProxy. 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 902s # * @error: Return location for error or %NULL. 902s # * 902s # * Finishes an operation started with com_acme_coyote_call_attack(). 902s # * 902s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 902s # */ 902s # gboolean 902s # com_acme_coyote_call_attack_finish ( 902s # ComAcmeCoyote *proxy, 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GVariant *_ret; 902s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 902s # if (_ret == NULL) 902s # goto _out; 902s # g_variant_get (_ret, 902s # "()"); 902s # g_variant_unref (_ret); 902s # _out: 902s # return _ret != NULL; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_call_attack_sync: 902s # * @proxy: A #ComAcmeCoyoteProxy. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL. 902s # * 902s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 902s # * 902s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 902s # * 902s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 902s # */ 902s # gboolean 902s # com_acme_coyote_call_attack_sync ( 902s # ComAcmeCoyote *proxy, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GVariant *_ret; 902s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 902s # "Attack", 902s # g_variant_new ("()"), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # cancellable, 902s # error); 902s # if (_ret == NULL) 902s # goto _out; 902s # g_variant_get (_ret, 902s # "()"); 902s # g_variant_unref (_ret); 902s # _out: 902s # return _ret != NULL; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_complete_run: 902s # * @object: A #ComAcmeCoyote. 902s # * @invocation: (transfer full): A #GDBusMethodInvocation. 902s # * 902s # * 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. 902s # * 902s # * This method will free @invocation, you cannot use it afterwards. 902s # */ 902s # void 902s # com_acme_coyote_complete_run ( 902s # ComAcmeCoyote *object G_GNUC_UNUSED, 902s # GDBusMethodInvocation *invocation) 902s # { 902s # g_dbus_method_invocation_return_value (invocation, 902s # g_variant_new ("()")); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_complete_sleep: 902s # * @object: A #ComAcmeCoyote. 902s # * @invocation: (transfer full): A #GDBusMethodInvocation. 902s # * 902s # * 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. 902s # * 902s # * This method will free @invocation, you cannot use it afterwards. 902s # */ 902s # void 902s # com_acme_coyote_complete_sleep ( 902s # ComAcmeCoyote *object G_GNUC_UNUSED, 902s # GDBusMethodInvocation *invocation) 902s # { 902s # g_dbus_method_invocation_return_value (invocation, 902s # g_variant_new ("()")); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_complete_attack: 902s # * @object: A #ComAcmeCoyote. 902s # * @invocation: (transfer full): A #GDBusMethodInvocation. 902s # * 902s # * 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. 902s # * 902s # * This method will free @invocation, you cannot use it afterwards. 902s # */ 902s # void 902s # com_acme_coyote_complete_attack ( 902s # ComAcmeCoyote *object G_GNUC_UNUSED, 902s # GDBusMethodInvocation *invocation) 902s # { 902s # g_dbus_method_invocation_return_value (invocation, 902s # g_variant_new ("()")); 902s # } 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * ComAcmeCoyoteProxy: 902s # * 902s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * ComAcmeCoyoteProxyClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #ComAcmeCoyoteProxy. 902s # */ 902s # 902s # struct _ComAcmeCoyoteProxyPrivate 902s # { 902s # GData *qdata; 902s # }; 902s # 902s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 902s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 902s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 902s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 902s # 902s # #endif 902s # static void 902s # com_acme_coyote_proxy_finalize (GObject *object) 902s # { 902s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 902s # g_datalist_clear (&proxy->priv->qdata); 902s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # com_acme_coyote_proxy_get_property (GObject *object, 902s # guint prop_id, 902s # GValue *value, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # const _ExtendedGDBusPropertyInfo *info; 902s # GVariant *variant; 902s # g_assert (prop_id != 0 && prop_id - 1 < 1); 902s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 902s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 902s # if (info->use_gvariant) 902s # { 902s # g_value_set_variant (value, variant); 902s # } 902s # else 902s # { 902s # if (variant != NULL) 902s # g_dbus_gvariant_to_gvalue (variant, value); 902s # } 902s # if (variant != NULL) 902s # g_variant_unref (variant); 902s # } 902s # 902s # static void 902s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 902s # GAsyncResult *res, 902s # gpointer user_data) 902s # { 902s # const _ExtendedGDBusPropertyInfo *info = user_data; 902s # GError *error; 902s # GVariant *_ret; 902s # error = NULL; 902s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 902s # if (!_ret) 902s # { 902s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 902s # info->parent_struct.name, 902s # error->message, g_quark_to_string (error->domain), error->code); 902s # g_error_free (error); 902s # } 902s # else 902s # { 902s # g_variant_unref (_ret); 902s # } 902s # } 902s # 902s # static void 902s # com_acme_coyote_proxy_set_property (GObject *object, 902s # guint prop_id, 902s # const GValue *value, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # const _ExtendedGDBusPropertyInfo *info; 902s # GVariant *variant; 902s # g_assert (prop_id != 0 && prop_id - 1 < 1); 902s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 902s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 902s # g_dbus_proxy_call (G_DBUS_PROXY (object), 902s # "org.freedesktop.DBus.Properties.Set", 902s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 902s # g_variant_unref (variant); 902s # } 902s # 902s # static void 902s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 902s # const gchar *sender_name G_GNUC_UNUSED, 902s # const gchar *signal_name, 902s # GVariant *parameters) 902s # { 902s # _ExtendedGDBusSignalInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # gsize n; 902s # guint signal_id; 902s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 902s # if (info == NULL) 902s # return; 902s # num_params = g_variant_n_children (parameters); 902s # paramv = g_new0 (GValue, num_params + 1); 902s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 902s # g_value_set_object (¶mv[0], proxy); 902s # g_variant_iter_init (&iter, parameters); 902s # n = 1; 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 902s # g_signal_emitv (paramv, signal_id, 0, NULL); 902s # for (n = 0; n < num_params + 1; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static void 902s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 902s # GVariant *changed_properties, 902s # const gchar *const *invalidated_properties) 902s # { 902s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 902s # guint n; 902s # const gchar *key; 902s # GVariantIter *iter; 902s # _ExtendedGDBusPropertyInfo *info; 902s # g_variant_get (changed_properties, "a{sv}", &iter); 902s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 902s # g_datalist_remove_data (&proxy->priv->qdata, key); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # g_variant_iter_free (iter); 902s # for (n = 0; invalidated_properties[n] != NULL; n++) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 902s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # } 902s # 902s # static const gchar * 902s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 902s # { 902s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 902s # GVariant *variant; 902s # const gchar *value = NULL; 902s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 902s # if (variant != NULL) 902s # { 902s # value = g_variant_get_string (variant, NULL); 902s # g_variant_unref (variant); 902s # } 902s # return value; 902s # } 902s # 902s # static void 902s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 902s # #else 902s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 902s # #endif 902s # 902s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 902s # } 902s # 902s # static void 902s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusProxyClass *proxy_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 902s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 902s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 902s # 902s # proxy_class = G_DBUS_PROXY_CLASS (klass); 902s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 902s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 902s # 902s # com_acme_coyote_override_properties (gobject_class, 1); 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 902s # { 902s # iface->get_mood = com_acme_coyote_proxy_get_mood; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_proxy_new: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 902s # * 902s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # com_acme_coyote_proxy_new ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_proxy_new_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with com_acme_coyote_proxy_new(). 902s # * 902s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # ComAcmeCoyote * 902s # com_acme_coyote_proxy_new_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return COM_ACME_COYOTE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_proxy_new_sync: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # ComAcmeCoyote * 902s # com_acme_coyote_proxy_new_sync ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return COM_ACME_COYOTE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /** 902s # * com_acme_coyote_proxy_new_for_bus: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 902s # * 902s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # com_acme_coyote_proxy_new_for_bus ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * com_acme_coyote_proxy_new_for_bus_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 902s # * 902s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # ComAcmeCoyote * 902s # com_acme_coyote_proxy_new_for_bus_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return COM_ACME_COYOTE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_proxy_new_for_bus_sync: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # ComAcmeCoyote * 902s # com_acme_coyote_proxy_new_for_bus_sync ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return COM_ACME_COYOTE (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * ComAcmeCoyoteSkeleton: 902s # * 902s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * ComAcmeCoyoteSkeletonClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #ComAcmeCoyoteSkeleton. 902s # */ 902s # 902s # struct _ComAcmeCoyoteSkeletonPrivate 902s # { 902s # GValue *properties; 902s # GList *changed_properties; 902s # GSource *changed_properties_idle_source; 902s # GMainContext *context; 902s # GMutex lock; 902s # }; 902s # 902s # static void 902s # _com_acme_coyote_skeleton_handle_method_call ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name, 902s # const gchar *method_name, 902s # GVariant *parameters, 902s # GDBusMethodInvocation *invocation, 902s # gpointer user_data) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 902s # _ExtendedGDBusMethodInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # guint num_extra; 902s # gsize n; 902s # guint signal_id; 902s # GValue return_value = G_VALUE_INIT; 902s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 902s # g_assert (info != NULL); 902s # num_params = g_variant_n_children (parameters); 902s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 902s # n = 0; 902s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 902s # g_value_set_object (¶mv[n++], skeleton); 902s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 902s # g_value_set_object (¶mv[n++], invocation); 902s # if (info->pass_fdlist) 902s # { 902s # #ifdef G_OS_UNIX 902s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 902s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 902s # #else 902s # g_assert_not_reached (); 902s # #endif 902s # } 902s # g_variant_iter_init (&iter, parameters); 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 902s # g_value_init (&return_value, G_TYPE_BOOLEAN); 902s # g_signal_emitv (paramv, signal_id, 0, &return_value); 902s # if (!g_value_get_boolean (&return_value)) 902s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 902s # g_value_unset (&return_value); 902s # for (n = 0; n < num_params + num_extra; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static GVariant * 902s # _com_acme_coyote_skeleton_handle_get_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # GVariant *ret; 902s # ret = NULL; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # g_value_init (&value, pspec->value_type); 902s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 902s # g_value_unset (&value); 902s # } 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _com_acme_coyote_skeleton_handle_set_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GVariant *variant, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # gboolean ret; 902s # ret = FALSE; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # if (info->use_gvariant) 902s # g_value_set_variant (&value, variant); 902s # else 902s # g_dbus_gvariant_to_gvalue (variant, &value); 902s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # g_value_unset (&value); 902s # ret = TRUE; 902s # } 902s # return ret; 902s # } 902s # 902s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 902s # { 902s # _com_acme_coyote_skeleton_handle_method_call, 902s # _com_acme_coyote_skeleton_handle_get_property, 902s # _com_acme_coyote_skeleton_handle_set_property, 902s # {NULL} 902s # }; 902s # 902s # static GDBusInterfaceInfo * 902s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return com_acme_coyote_interface_info (); 902s # } 902s # 902s # static GDBusInterfaceVTable * 902s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 902s # } 902s # 902s # static GVariant * 902s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 902s # 902s # GVariantBuilder builder; 902s # guint n; 902s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 902s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 902s # goto out; 902s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 902s # { 902s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 902s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 902s # { 902s # GVariant *value; 902s # 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); 902s # if (value != NULL) 902s # { 902s # g_variant_take_ref (value); 902s # g_variant_builder_add (&builder, "{sv}", info->name, value); 902s # g_variant_unref (value); 902s # } 902s # } 902s # } 902s # out: 902s # return g_variant_builder_end (&builder); 902s # } 902s # 902s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 902s # 902s # static void 902s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 902s # gboolean emit_changed = FALSE; 902s # 902s # g_mutex_lock (&skeleton->priv->lock); 902s # if (skeleton->priv->changed_properties_idle_source != NULL) 902s # { 902s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 902s # skeleton->priv->changed_properties_idle_source = NULL; 902s # emit_changed = TRUE; 902s # } 902s # g_mutex_unlock (&skeleton->priv->lock); 902s # 902s # if (emit_changed) 902s # _com_acme_coyote_emit_changed (skeleton); 902s # } 902s # 902s # static void 902s # _com_acme_coyote_on_signal_surprised ( 902s # ComAcmeCoyote *object) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 902s # 902s # GList *connections, *l; 902s # GVariant *signal_variant; 902s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 902s # 902s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 902s # for (l = connections; l != NULL; l = l->next) 902s # { 902s # GDBusConnection *connection = l->data; 902s # g_dbus_connection_emit_signal (connection, 902s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 902s # signal_variant, NULL); 902s # } 902s # g_variant_unref (signal_variant); 902s # g_list_free_full (connections, g_object_unref); 902s # } 902s # 902s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 902s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 902s # 902s # #endif 902s # static void 902s # com_acme_coyote_skeleton_finalize (GObject *object) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 902s # guint n; 902s # for (n = 0; n < 1; n++) 902s # g_value_unset (&skeleton->priv->properties[n]); 902s # g_free (skeleton->priv->properties); 902s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 902s # if (skeleton->priv->changed_properties_idle_source != NULL) 902s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 902s # g_main_context_unref (skeleton->priv->context); 902s # g_mutex_clear (&skeleton->priv->lock); 902s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # com_acme_coyote_skeleton_get_property (GObject *object, 902s # guint prop_id, 902s # GValue *value, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 902s # g_assert (prop_id != 0 && prop_id - 1 < 1); 902s # g_mutex_lock (&skeleton->priv->lock); 902s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 902s # g_mutex_unlock (&skeleton->priv->lock); 902s # } 902s # 902s # static gboolean 902s # _com_acme_coyote_emit_changed (gpointer user_data) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 902s # GList *l; 902s # GVariantBuilder builder; 902s # GVariantBuilder invalidated_builder; 902s # guint num_changes; 902s # 902s # g_mutex_lock (&skeleton->priv->lock); 902s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 902s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 902s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 902s # { 902s # ChangedProperty *cp = l->data; 902s # GVariant *variant; 902s # const GValue *cur_value; 902s # 902s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 902s # if (!_g_value_equal (cur_value, &cp->orig_value)) 902s # { 902s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 902s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 902s # g_variant_unref (variant); 902s # num_changes++; 902s # } 902s # } 902s # if (num_changes > 0) 902s # { 902s # GList *connections, *ll; 902s # GVariant *signal_variant; 902s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 902s # &builder, &invalidated_builder)); 902s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 902s # for (ll = connections; ll != NULL; ll = ll->next) 902s # { 902s # GDBusConnection *connection = ll->data; 902s # 902s # g_dbus_connection_emit_signal (connection, 902s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 902s # "org.freedesktop.DBus.Properties", 902s # "PropertiesChanged", 902s # signal_variant, 902s # NULL); 902s # } 902s # g_variant_unref (signal_variant); 902s # g_list_free_full (connections, g_object_unref); 902s # } 902s # else 902s # { 902s # g_variant_builder_clear (&builder); 902s # g_variant_builder_clear (&invalidated_builder); 902s # } 902s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 902s # skeleton->priv->changed_properties = NULL; 902s # skeleton->priv->changed_properties_idle_source = NULL; 902s # g_mutex_unlock (&skeleton->priv->lock); 902s # return FALSE; 902s # } 902s # 902s # static void 902s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 902s # { 902s # ChangedProperty *cp; 902s # GList *l; 902s # cp = NULL; 902s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 902s # { 902s # ChangedProperty *i_cp = l->data; 902s # if (i_cp->info == info) 902s # { 902s # cp = i_cp; 902s # break; 902s # } 902s # } 902s # if (cp == NULL) 902s # { 902s # cp = g_new0 (ChangedProperty, 1); 902s # cp->prop_id = prop_id; 902s # cp->info = info; 902s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 902s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 902s # g_value_copy (orig_value, &cp->orig_value); 902s # } 902s # } 902s # 902s # static void 902s # com_acme_coyote_skeleton_notify (GObject *object, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 902s # g_mutex_lock (&skeleton->priv->lock); 902s # if (skeleton->priv->changed_properties != NULL && 902s # skeleton->priv->changed_properties_idle_source == NULL) 902s # { 902s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 902s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 902s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 902s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 902s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 902s # g_source_unref (skeleton->priv->changed_properties_idle_source); 902s # } 902s # g_mutex_unlock (&skeleton->priv->lock); 902s # } 902s # 902s # static void 902s # com_acme_coyote_skeleton_set_property (GObject *object, 902s # guint prop_id, 902s # const GValue *value, 902s # GParamSpec *pspec) 902s # { 902s # const _ExtendedGDBusPropertyInfo *info; 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 902s # g_assert (prop_id != 0 && prop_id - 1 < 1); 902s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 902s # g_mutex_lock (&skeleton->priv->lock); 902s # g_object_freeze_notify (object); 902s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 902s # { 902s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 902s # info->emits_changed_signal) 902s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 902s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 902s # g_object_notify_by_pspec (object, pspec); 902s # } 902s # g_mutex_unlock (&skeleton->priv->lock); 902s # g_object_thaw_notify (object); 902s # } 902s # 902s # static void 902s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 902s # #else 902s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 902s # #endif 902s # 902s # g_mutex_init (&skeleton->priv->lock); 902s # skeleton->priv->context = g_main_context_ref_thread_default (); 902s # skeleton->priv->properties = g_new0 (GValue, 1); 902s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 902s # } 902s # 902s # static const gchar * 902s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 902s # { 902s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 902s # const gchar *value; 902s # g_mutex_lock (&skeleton->priv->lock); 902s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 902s # g_mutex_unlock (&skeleton->priv->lock); 902s # return value; 902s # } 902s # 902s # static void 902s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusInterfaceSkeletonClass *skeleton_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 902s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 902s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 902s # gobject_class->notify = com_acme_coyote_skeleton_notify; 902s # 902s # 902s # com_acme_coyote_override_properties (gobject_class, 1); 902s # 902s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 902s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 902s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 902s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 902s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 902s # { 902s # iface->surprised = _com_acme_coyote_on_signal_surprised; 902s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 902s # } 902s # 902s # /** 902s # * com_acme_coyote_skeleton_new: 902s # * 902s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 902s # * 902s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 902s # */ 902s # ComAcmeCoyote * 902s # com_acme_coyote_skeleton_new (void) 902s # { 902s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 902s # } 902s # 902s # /* ------------------------------------------------------------------------ 902s # * Code for interface org.project.Bar.Frobnicator 902s # * ------------------------------------------------------------------------ 902s # */ 902s # 902s # /** 902s # * SECTION:OrgProjectBarFrobnicator 902s # * @title: OrgProjectBarFrobnicator 902s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 902s # * 902s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 902s # */ 902s # 902s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 902s # 902s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 902s # { 902s # { 902s # -1, 902s # (gchar *) "RandomMethod", 902s # NULL, 902s # NULL, 902s # NULL 902s # }, 902s # "handle-random-method", 902s # FALSE 902s # }; 902s # 902s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 902s # { 902s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 902s # NULL 902s # }; 902s # 902s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 902s # { 902s # { 902s # -1, 902s # (gchar *) "org.project.Bar.Frobnicator", 902s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 902s # NULL, 902s # NULL, 902s # NULL 902s # }, 902s # "org-project-bar-frobnicator", 902s # }; 902s # 902s # 902s # /** 902s # * org_project_bar_frobnicator_interface_info: 902s # * 902s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 902s # * 902s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 902s # */ 902s # GDBusInterfaceInfo * 902s # org_project_bar_frobnicator_interface_info (void) 902s # { 902s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_override_properties: 902s # * @klass: The class structure for a #GObject derived class. 902s # * @property_id_begin: The property id to assign to the first overridden property. 902s # * 902s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 902s # * The properties are overridden in the order they are defined. 902s # * 902s # * Returns: The last property id. 902s # */ 902s # guint 902s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 902s # { 902s # return property_id_begin - 1; 902s # } 902s # 902s # 902s # inline static void 902s # org_project_bar_frobnicator_method_marshal_random_method ( 902s # GClosure *closure, 902s # GValue *return_value, 902s # unsigned int n_param_values, 902s # const GValue *param_values, 902s # void *invocation_hint, 902s # void *marshal_data) 902s # { 902s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 902s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 902s # } 902s # 902s # 902s # /** 902s # * OrgProjectBarFrobnicator: 902s # * 902s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 902s # */ 902s # 902s # /** 902s # * OrgProjectBarFrobnicatorIface: 902s # * @parent_iface: The parent interface. 902s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 902s # * 902s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 902s # */ 902s # 902s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 902s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 902s # 902s # static void 902s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 902s # { 902s # /* GObject signals for incoming D-Bus method calls: */ 902s # /** 902s # * OrgProjectBarFrobnicator::handle-random-method: 902s # * @object: A #OrgProjectBarFrobnicator. 902s # * @invocation: A #GDBusMethodInvocation. 902s # * 902s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 902s # * 902s # * 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. 902s # * 902s # * 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. 902s # */ 902s # g_signal_new ("handle-random-method", 902s # G_TYPE_FROM_INTERFACE (iface), 902s # G_SIGNAL_RUN_LAST, 902s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 902s # g_signal_accumulator_true_handled, 902s # NULL, 902s # org_project_bar_frobnicator_method_marshal_random_method, 902s # G_TYPE_BOOLEAN, 902s # 1, 902s # G_TYPE_DBUS_METHOD_INVOCATION); 902s # 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_call_random_method: 902s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 902s # * 902s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 902s # */ 902s # void 902s # org_project_bar_frobnicator_call_random_method ( 902s # OrgProjectBarFrobnicator *proxy, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 902s # "RandomMethod", 902s # g_variant_new ("()"), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # cancellable, 902s # callback, 902s # user_data); 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_call_random_method_finish: 902s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 902s # * @error: Return location for error or %NULL. 902s # * 902s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 902s # * 902s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 902s # */ 902s # gboolean 902s # org_project_bar_frobnicator_call_random_method_finish ( 902s # OrgProjectBarFrobnicator *proxy, 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GVariant *_ret; 902s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 902s # if (_ret == NULL) 902s # goto _out; 902s # g_variant_get (_ret, 902s # "()"); 902s # g_variant_unref (_ret); 902s # _out: 902s # return _ret != NULL; 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_call_random_method_sync: 902s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL. 902s # * 902s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 902s # * 902s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 902s # */ 902s # gboolean 902s # org_project_bar_frobnicator_call_random_method_sync ( 902s # OrgProjectBarFrobnicator *proxy, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GVariant *_ret; 902s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 902s # "RandomMethod", 902s # g_variant_new ("()"), 902s # G_DBUS_CALL_FLAGS_NONE, 902s # -1, 902s # cancellable, 902s # error); 902s # if (_ret == NULL) 902s # goto _out; 902s # g_variant_get (_ret, 902s # "()"); 902s # g_variant_unref (_ret); 902s # _out: 902s # return _ret != NULL; 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_complete_random_method: 902s # * @object: A #OrgProjectBarFrobnicator. 902s # * @invocation: (transfer full): A #GDBusMethodInvocation. 902s # * 902s # * 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. 902s # * 902s # * This method will free @invocation, you cannot use it afterwards. 902s # */ 902s # void 902s # org_project_bar_frobnicator_complete_random_method ( 902s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 902s # GDBusMethodInvocation *invocation) 902s # { 902s # g_dbus_method_invocation_return_value (invocation, 902s # g_variant_new ("()")); 902s # } 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectBarFrobnicatorProxy: 902s # * 902s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectBarFrobnicatorProxyClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectBarFrobnicatorProxy. 902s # */ 902s # 902s # struct _OrgProjectBarFrobnicatorProxyPrivate 902s # { 902s # GData *qdata; 902s # }; 902s # 902s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 902s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 902s # { 902s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 902s # g_datalist_clear (&proxy->priv->qdata); 902s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 902s # guint prop_id G_GNUC_UNUSED, 902s # const GValue *value G_GNUC_UNUSED, 902s # GParamSpec *pspec G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 902s # const gchar *sender_name G_GNUC_UNUSED, 902s # const gchar *signal_name, 902s # GVariant *parameters) 902s # { 902s # _ExtendedGDBusSignalInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # gsize n; 902s # guint signal_id; 902s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 902s # if (info == NULL) 902s # return; 902s # num_params = g_variant_n_children (parameters); 902s # paramv = g_new0 (GValue, num_params + 1); 902s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 902s # g_value_set_object (¶mv[0], proxy); 902s # g_variant_iter_init (&iter, parameters); 902s # n = 1; 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 902s # g_signal_emitv (paramv, signal_id, 0, NULL); 902s # for (n = 0; n < num_params + 1; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 902s # GVariant *changed_properties, 902s # const gchar *const *invalidated_properties) 902s # { 902s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 902s # guint n; 902s # const gchar *key; 902s # GVariantIter *iter; 902s # _ExtendedGDBusPropertyInfo *info; 902s # g_variant_get (changed_properties, "a{sv}", &iter); 902s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 902s # g_datalist_remove_data (&proxy->priv->qdata, key); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # g_variant_iter_free (iter); 902s # for (n = 0; invalidated_properties[n] != NULL; n++) 902s # { 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 902s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 902s # if (info != NULL) 902s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 902s # } 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 902s # #else 902s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 902s # #endif 902s # 902s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusProxyClass *proxy_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 902s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 902s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 902s # 902s # proxy_class = G_DBUS_PROXY_CLASS (klass); 902s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 902s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_proxy_new: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 902s # * 902s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_bar_frobnicator_proxy_new ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_proxy_new_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectBarFrobnicator * 902s # org_project_bar_frobnicator_proxy_new_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_proxy_new_sync: 902s # * @connection: A #GDBusConnection. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectBarFrobnicator * 902s # org_project_bar_frobnicator_proxy_new_sync ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /** 902s # * org_project_bar_frobnicator_proxy_new_for_bus: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 902s # * @user_data: User data to pass to @callback. 902s # * 902s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 902s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 902s # * 902s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 902s # */ 902s # void 902s # org_project_bar_frobnicator_proxy_new_for_bus ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data) 902s # { 902s # 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); 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 902s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 902s # * @error: Return location for error or %NULL 902s # * 902s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 902s # * 902s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectBarFrobnicator * 902s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 902s # GAsyncResult *res, 902s # GError **error) 902s # { 902s # GObject *ret; 902s # GObject *source_object; 902s # source_object = g_async_result_get_source_object (res); 902s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 902s # g_object_unref (source_object); 902s # if (ret != NULL) 902s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 902s # * @bus_type: A #GBusType. 902s # * @flags: Flags from the #GDBusProxyFlags enumeration. 902s # * @name: A bus name (well-known or unique). 902s # * @object_path: An object path. 902s # * @cancellable: (nullable): A #GCancellable or %NULL. 902s # * @error: Return location for error or %NULL 902s # * 902s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 902s # * 902s # * The calling thread is blocked until a reply is received. 902s # * 902s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 902s # * 902s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 902s # */ 902s # OrgProjectBarFrobnicator * 902s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error) 902s # { 902s # GInitable *ret; 902s # 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); 902s # if (ret != NULL) 902s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 902s # else 902s # return NULL; 902s # } 902s # 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # 902s # /** 902s # * OrgProjectBarFrobnicatorSkeleton: 902s # * 902s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 902s # */ 902s # 902s # /** 902s # * OrgProjectBarFrobnicatorSkeletonClass: 902s # * @parent_class: The parent class. 902s # * 902s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 902s # */ 902s # 902s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 902s # { 902s # GValue *properties; 902s # GList *changed_properties; 902s # GSource *changed_properties_idle_source; 902s # GMainContext *context; 902s # GMutex lock; 902s # }; 902s # 902s # static void 902s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name, 902s # const gchar *method_name, 902s # GVariant *parameters, 902s # GDBusMethodInvocation *invocation, 902s # gpointer user_data) 902s # { 902s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 902s # _ExtendedGDBusMethodInfo *info; 902s # GVariantIter iter; 902s # GVariant *child; 902s # GValue *paramv; 902s # gsize num_params; 902s # guint num_extra; 902s # gsize n; 902s # guint signal_id; 902s # GValue return_value = G_VALUE_INIT; 902s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 902s # g_assert (info != NULL); 902s # num_params = g_variant_n_children (parameters); 902s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 902s # n = 0; 902s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 902s # g_value_set_object (¶mv[n++], skeleton); 902s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 902s # g_value_set_object (¶mv[n++], invocation); 902s # if (info->pass_fdlist) 902s # { 902s # #ifdef G_OS_UNIX 902s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 902s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 902s # #else 902s # g_assert_not_reached (); 902s # #endif 902s # } 902s # g_variant_iter_init (&iter, parameters); 902s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 902s # { 902s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 902s # if (arg_info->use_gvariant) 902s # { 902s # g_value_init (¶mv[n], G_TYPE_VARIANT); 902s # g_value_set_variant (¶mv[n], child); 902s # n++; 902s # } 902s # else 902s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 902s # g_variant_unref (child); 902s # } 902s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 902s # g_value_init (&return_value, G_TYPE_BOOLEAN); 902s # g_signal_emitv (paramv, signal_id, 0, &return_value); 902s # if (!g_value_get_boolean (&return_value)) 902s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 902s # g_value_unset (&return_value); 902s # for (n = 0; n < num_params + num_extra; n++) 902s # g_value_unset (¶mv[n]); 902s # g_free (paramv); 902s # } 902s # 902s # static GVariant * 902s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # GVariant *ret; 902s # ret = NULL; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # g_value_init (&value, pspec->value_type); 902s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 902s # g_value_unset (&value); 902s # } 902s # return ret; 902s # } 902s # 902s # static gboolean 902s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 902s # GDBusConnection *connection G_GNUC_UNUSED, 902s # const gchar *sender G_GNUC_UNUSED, 902s # const gchar *object_path G_GNUC_UNUSED, 902s # const gchar *interface_name G_GNUC_UNUSED, 902s # const gchar *property_name, 902s # GVariant *variant, 902s # GError **error, 902s # gpointer user_data) 902s # { 902s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 902s # GValue value = G_VALUE_INIT; 902s # GParamSpec *pspec; 902s # _ExtendedGDBusPropertyInfo *info; 902s # gboolean ret; 902s # ret = FALSE; 902s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 902s # g_assert (info != NULL); 902s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 902s # if (pspec == NULL) 902s # { 902s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 902s # } 902s # else 902s # { 902s # if (info->use_gvariant) 902s # g_value_set_variant (&value, variant); 902s # else 902s # g_dbus_gvariant_to_gvalue (variant, &value); 902s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 902s # g_value_unset (&value); 902s # ret = TRUE; 902s # } 902s # return ret; 902s # } 902s # 902s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 902s # { 902s # _org_project_bar_frobnicator_skeleton_handle_method_call, 902s # _org_project_bar_frobnicator_skeleton_handle_get_property, 902s # _org_project_bar_frobnicator_skeleton_handle_set_property, 902s # {NULL} 902s # }; 902s # 902s # static GDBusInterfaceInfo * 902s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return org_project_bar_frobnicator_interface_info (); 902s # } 902s # 902s # static GDBusInterfaceVTable * 902s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 902s # { 902s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 902s # } 902s # 902s # static GVariant * 902s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 902s # { 902s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 902s # 902s # GVariantBuilder builder; 902s # guint n; 902s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 902s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 902s # goto out; 902s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 902s # { 902s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 902s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 902s # { 902s # GVariant *value; 902s # 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); 902s # if (value != NULL) 902s # { 902s # g_variant_take_ref (value); 902s # g_variant_builder_add (&builder, "{sv}", info->name, value); 902s # g_variant_unref (value); 902s # } 902s # } 902s # } 902s # out: 902s # return g_variant_builder_end (&builder); 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 902s # 902s # #else 902s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 902s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 902s # 902s # #endif 902s # static void 902s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 902s # { 902s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 902s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 902s # if (skeleton->priv->changed_properties_idle_source != NULL) 902s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 902s # g_main_context_unref (skeleton->priv->context); 902s # g_mutex_clear (&skeleton->priv->lock); 902s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 902s # { 902s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 902s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 902s # #else 902s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 902s # #endif 902s # 902s # g_mutex_init (&skeleton->priv->lock); 902s # skeleton->priv->context = g_main_context_ref_thread_default (); 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 902s # { 902s # GObjectClass *gobject_class; 902s # GDBusInterfaceSkeletonClass *skeleton_class; 902s # 902s # gobject_class = G_OBJECT_CLASS (klass); 902s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 902s # 902s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 902s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 902s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 902s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 902s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 902s # 902s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 902s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 902s # #endif 902s # } 902s # 902s # static void 902s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 902s # { 902s # } 902s # 902s # /** 902s # * org_project_bar_frobnicator_skeleton_new: 902s # * 902s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 902s # * 902s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 902s # */ 902s # OrgProjectBarFrobnicator * 902s # org_project_bar_frobnicator_skeleton_new (void) 902s # { 902s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 902s # } 902s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 902s # tmpdir: /tmp/tmpf4v61l40 902s # codegen: /usr/bin/gdbus-codegen 902s # /tmp/tmpf4v61l40/tmphjetdugq.xml: 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf4v61l40/tmphjetdugq.xml', '--output', '-', '--header'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: /* 902s # * This file is generated by gdbus-codegen, do not modify it. 902s # * 902s # * The license of this code is the same as for the D-Bus interface description 902s # * it was derived from. Note that it links to GLib, so must comply with the 902s # * LGPL linking clauses. 902s # */ 902s # 902s # #ifndef __STDOUT__ 902s # #define __STDOUT__ 902s # 902s # #include 902s # 902s # G_BEGIN_DECLS 902s # 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # /* Declarations for FDPassing */ 902s # 902s # #define TYPE_FDPASSING (fdpassing_get_type ()) 902s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 902s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 902s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 902s # 902s # struct _FDPassing; 902s # typedef struct _FDPassing FDPassing; 902s # typedef struct _FDPassingIface FDPassingIface; 902s # 902s # struct _FDPassingIface 902s # { 902s # GTypeInterface parent_iface; 902s # 902s # gboolean (*handle_hello_fd) ( 902s # FDPassing *object, 902s # GDBusMethodInvocation *invocation, 902s # GUnixFDList *fd_list, 902s # const gchar *arg_greeting); 902s # 902s # gboolean (*handle_no_annotation) ( 902s # FDPassing *object, 902s # GDBusMethodInvocation *invocation, 902s # GVariant *arg_greeting, 902s # const gchar *arg_greeting_locale); 902s # 902s # gboolean (*handle_no_annotation_nested) ( 902s # FDPassing *object, 902s # GDBusMethodInvocation *invocation, 902s # GVariant *arg_files); 902s # 902s # }; 902s # 902s # GType fdpassing_get_type (void) G_GNUC_CONST; 902s # 902s # GDBusInterfaceInfo *fdpassing_interface_info (void); 902s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 902s # 902s # 902s # /* D-Bus method call completion functions: */ 902s # void fdpassing_complete_hello_fd ( 902s # FDPassing *object, 902s # GDBusMethodInvocation *invocation, 902s # GUnixFDList *fd_list, 902s # const gchar *response); 902s # 902s # void fdpassing_complete_no_annotation ( 902s # FDPassing *object, 902s # GDBusMethodInvocation *invocation, 902s # GVariant *response, 902s # const gchar *response_locale); 902s # 902s # void fdpassing_complete_no_annotation_nested ( 902s # FDPassing *object, 902s # GDBusMethodInvocation *invocation); 902s # 902s # 902s # 902s # /* D-Bus method calls: */ 902s # void fdpassing_call_hello_fd ( 902s # FDPassing *proxy, 902s # const gchar *arg_greeting, 902s # GUnixFDList *fd_list, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # 902s # gboolean fdpassing_call_hello_fd_finish ( 902s # FDPassing *proxy, 902s # gchar **out_response, 902s # GUnixFDList **out_fd_list, 902s # GAsyncResult *res, 902s # GError **error); 902s # 902s # gboolean fdpassing_call_hello_fd_sync ( 902s # FDPassing *proxy, 902s # const gchar *arg_greeting, 902s # GUnixFDList *fd_list, 902s # gchar **out_response, 902s # GUnixFDList **out_fd_list, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # void fdpassing_call_no_annotation ( 902s # FDPassing *proxy, 902s # GVariant *arg_greeting, 902s # const gchar *arg_greeting_locale, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # 902s # gboolean fdpassing_call_no_annotation_finish ( 902s # FDPassing *proxy, 902s # GVariant **out_response, 902s # gchar **out_response_locale, 902s # GAsyncResult *res, 902s # GError **error); 902s # 902s # gboolean fdpassing_call_no_annotation_sync ( 902s # FDPassing *proxy, 902s # GVariant *arg_greeting, 902s # const gchar *arg_greeting_locale, 902s # GVariant **out_response, 902s # gchar **out_response_locale, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # void fdpassing_call_no_annotation_nested ( 902s # FDPassing *proxy, 902s # GVariant *arg_files, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # 902s # gboolean fdpassing_call_no_annotation_nested_finish ( 902s # FDPassing *proxy, 902s # GAsyncResult *res, 902s # GError **error); 902s # 902s # gboolean fdpassing_call_no_annotation_nested_sync ( 902s # FDPassing *proxy, 902s # GVariant *arg_files, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # 902s # 902s # /* ---- */ 902s # 902s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 902s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 902s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 902s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 902s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 902s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 902s # 902s # typedef struct _FDPassingProxy FDPassingProxy; 902s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 902s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 902s # 902s # struct _FDPassingProxy 902s # { 902s # /*< private >*/ 902s # GDBusProxy parent_instance; 902s # FDPassingProxyPrivate *priv; 902s # }; 902s # 902s # struct _FDPassingProxyClass 902s # { 902s # GDBusProxyClass parent_class; 902s # }; 902s # 902s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 902s # 902s # #if GLIB_CHECK_VERSION(2, 44, 0) 902s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 902s # #endif 902s # 902s # void fdpassing_proxy_new ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # FDPassing *fdpassing_proxy_new_finish ( 902s # GAsyncResult *res, 902s # GError **error); 902s # FDPassing *fdpassing_proxy_new_sync ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # void fdpassing_proxy_new_for_bus ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 902s # GAsyncResult *res, 902s # GError **error); 902s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # 902s # /* ---- */ 902s # 902s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 902s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 902s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 902s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 902s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 902s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 902s # 902s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 902s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 902s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 902s # 902s # struct _FDPassingSkeleton 902s # { 902s # /*< private >*/ 902s # GDBusInterfaceSkeleton parent_instance; 902s # FDPassingSkeletonPrivate *priv; 902s # }; 902s # 902s # struct _FDPassingSkeletonClass 902s # { 902s # GDBusInterfaceSkeletonClass parent_class; 902s # }; 902s # 902s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 902s # 902s # #if GLIB_CHECK_VERSION(2, 44, 0) 902s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 902s # #endif 902s # 902s # FDPassing *fdpassing_skeleton_new (void); 902s # 902s # 902s # G_END_DECLS 902s # 902s # #endif /* __STDOUT__ */ 902s # /tmp/tmpf4v61l40/tmpvfql1so_.xml: 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf4v61l40/tmpvfql1so_.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: /* 902s # * This file is generated by gdbus-codegen, do not modify it. 902s # * 902s # * The license of this code is the same as for the D-Bus interface description 902s # * it was derived from. Note that it links to GLib, so must comply with the 902s # * LGPL linking clauses. 902s # */ 902s # 902s # #ifndef __STDOUT__ 902s # #define __STDOUT__ 902s # 902s # #include 902s # 902s # G_BEGIN_DECLS 902s # 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # /* Declarations for FDPassing */ 902s # 902s # #define TYPE_FDPASSING (fdpassing_get_type ()) 902s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)ok - glib/codegen.py.test 902s # Running test: glib/credentials.test 902s ok - glib/credentials.test 902s # Running test: glib/mimeapps.test 902s ) 902s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 902s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 902s # 902s # struct _FDPassing; 902s # typedef struct _FDPassing FDPassing; 902s # typedef struct _FDPassingIface FDPassingIface; 902s # 902s # struct _FDPassingIface 902s # { 902s # GTypeInterface parent_iface; 902s # 902s # gboolean (*handle_hello_fd) ( 902s # FDPassing *object, 902s # GDBusMethodInvocation *invocation, 902s # GUnixFDList *fd_list, 902s # const gchar *arg_greeting); 902s # 902s # gboolean (*handle_no_annotation) ( 902s # FDPassing *object, 902s # GDBusMethodInvocation *invocation, 902s # GVariant *arg_greeting, 902s # const gchar *arg_greeting_locale); 902s # 902s # gboolean (*handle_no_annotation_nested) ( 902s # FDPassing *object, 902s # GDBusMethodInvocation *invocation, 902s # GVariant *arg_files); 902s # 902s # }; 902s # 902s # GType fdpassing_get_type (void) G_GNUC_CONST; 902s # 902s # GDBusInterfaceInfo *fdpassing_interface_info (void); 902s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 902s # 902s # 902s # /* D-Bus method call completion functions: */ 902s # void fdpassing_complete_hello_fd ( 902s # FDPassing *object, 902s # GDBusMethodInvocation *invocation, 902s # GUnixFDList *fd_list, 902s # const gchar *response); 902s # 902s # void fdpassing_complete_no_annotation ( 902s # FDPassing *object, 902s # GDBusMethodInvocation *invocation, 902s # GVariant *response, 902s # const gchar *response_locale); 902s # 902s # void fdpassing_complete_no_annotation_nested ( 902s # FDPassing *object, 902s # GDBusMethodInvocation *invocation); 902s # 902s # 902s # 902s # /* D-Bus method calls: */ 902s # void fdpassing_call_hello_fd ( 902s # FDPassing *proxy, 902s # const gchar *arg_greeting, 902s # GUnixFDList *fd_list, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # 902s # gboolean fdpassing_call_hello_fd_finish ( 902s # FDPassing *proxy, 902s # gchar **out_response, 902s # GUnixFDList **out_fd_list, 902s # GAsyncResult *res, 902s # GError **error); 902s # 902s # gboolean fdpassing_call_hello_fd_sync ( 902s # FDPassing *proxy, 902s # const gchar *arg_greeting, 902s # GUnixFDList *fd_list, 902s # gchar **out_response, 902s # GUnixFDList **out_fd_list, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # void fdpassing_call_no_annotation ( 902s # FDPassing *proxy, 902s # GVariant *arg_greeting, 902s # const gchar *arg_greeting_locale, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # 902s # gboolean fdpassing_call_no_annotation_finish ( 902s # FDPassing *proxy, 902s # GVariant **out_response, 902s # gchar **out_response_locale, 902s # GAsyncResult *res, 902s # GError **error); 902s # 902s # gboolean fdpassing_call_no_annotation_sync ( 902s # FDPassing *proxy, 902s # GVariant *arg_greeting, 902s # const gchar *arg_greeting_locale, 902s # GVariant **out_response, 902s # gchar **out_response_locale, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # void fdpassing_call_no_annotation_nested ( 902s # FDPassing *proxy, 902s # GVariant *arg_files, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # 902s # gboolean fdpassing_call_no_annotation_nested_finish ( 902s # FDPassing *proxy, 902s # GAsyncResult *res, 902s # GError **error); 902s # 902s # gboolean fdpassing_call_no_annotation_nested_sync ( 902s # FDPassing *proxy, 902s # GVariant *arg_files, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # 902s # 902s # /* ---- */ 902s # 902s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 902s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 902s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 902s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 902s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 902s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 902s # 902s # typedef struct _FDPassingProxy FDPassingProxy; 902s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 902s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 902s # 902s # struct _FDPassingProxy 902s # { 902s # /*< private >*/ 902s # GDBusProxy parent_instance; 902s # FDPassingProxyPrivate *priv; 902s # }; 902s # 902s # struct _FDPassingProxyClass 902s # { 902s # GDBusProxyClass parent_class; 902s # }; 902s # 902s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 902s # 902s # #if GLIB_CHECK_VERSION(2, 44, 0) 902s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 902s # #endif 902s # 902s # void fdpassing_proxy_new ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # FDPassing *fdpassing_proxy_new_finish ( 902s # GAsyncResult *res, 902s # GError **error); 902s # FDPassing *fdpassing_proxy_new_sync ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # void fdpassing_proxy_new_for_bus ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 902s # GAsyncResult *res, 902s # GError **error); 902s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # 902s # /* ---- */ 902s # 902s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 902s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 902s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 902s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 902s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 902s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 902s # 902s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 902s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 902s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 902s # 902s # struct _FDPassingSkeleton 902s # { 902s # /*< private >*/ 902s # GDBusInterfaceSkeleton parent_instance; 902s # FDPassingSkeletonPrivate *priv; 902s # }; 902s # 902s # struct _FDPassingSkeletonClass 902s # { 902s # GDBusInterfaceSkeletonClass parent_class; 902s # }; 902s # 902s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 902s # 902s # #if GLIB_CHECK_VERSION(2, 44, 0) 902s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 902s # #endif 902s # 902s # FDPassing *fdpassing_skeleton_new (void); 902s # 902s # 902s # G_END_DECLS 902s # 902s # #endif /* __STDOUT__ */ 902s # /tmp/tmpf4v61l40/tmplmvo6r6i.xml: 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # 902s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf4v61l40/tmplmvo6r6i.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 902s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 902s # Output: /* 902s # * This file is generated by gdbus-codegen, do not modify it. 902s # * 902s # * The license of this code is the same as for the D-Bus interface description 902s # * it was derived from. Note that it links to GLib, so must comply with the 902s # * LGPL linking clauses. 902s # */ 902s # 902s # #ifndef __STDOUT__ 902s # #define __STDOUT__ 902s # 902s # #include 902s # 902s # G_BEGIN_DECLS 902s # 902s # 902s # /* ------------------------------------------------------------------------ */ 902s # /* Declarations for FDPassing */ 902s # 902s # #define TYPE_FDPASSING (fdpassing_get_type ()) 902s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 902s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 902s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 902s # 902s # struct _FDPassing; 902s # typedef struct _FDPassing FDPassing; 902s # typedef struct _FDPassingIface FDPassingIface; 902s # 902s # struct _FDPassingIface 902s # { 902s # GTypeInterface parent_iface; 902s # 902s # gboolean (*handle_hello_fd) ( 902s # FDPassing *object, 902s # GDBusMethodInvocation *invocation, 902s # GUnixFDList *fd_list, 902s # const gchar *arg_greeting); 902s # 902s # gboolean (*handle_no_annotation) ( 902s # FDPassing *object, 902s # GDBusMethodInvocation *invocation, 902s # GUnixFDList *fd_list, 902s # GVariant *arg_greeting, 902s # const gchar *arg_greeting_locale); 902s # 902s # gboolean (*handle_no_annotation_nested) ( 902s # FDPassing *object, 902s # GDBusMethodInvocation *invocation, 902s # GUnixFDList *fd_list, 902s # GVariant *arg_files); 902s # 902s # }; 902s # 902s # GType fdpassing_get_type (void) G_GNUC_CONST; 902s # 902s # GDBusInterfaceInfo *fdpassing_interface_info (void); 902s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 902s # 902s # 902s # /* D-Bus method call completion functions: */ 902s # void fdpassing_complete_hello_fd ( 902s # FDPassing *object, 902s # GDBusMethodInvocation *invocation, 902s # GUnixFDList *fd_list, 902s # const gchar *response); 902s # 902s # void fdpassing_complete_no_annotation ( 902s # FDPassing *object, 902s # GDBusMethodInvocation *invocation, 902s # GUnixFDList *fd_list, 902s # GVariant *response, 902s # const gchar *response_locale); 902s # 902s # void fdpassing_complete_no_annotation_nested ( 902s # FDPassing *object, 902s # GDBusMethodInvocation *invocation, 902s # GUnixFDList *fd_list); 902s # 902s # 902s # 902s # /* D-Bus method calls: */ 902s # void fdpassing_call_hello_fd ( 902s # FDPassing *proxy, 902s # const gchar *arg_greeting, 902s # GDBusCallFlags call_flags, 902s # gint timeout_msec, 902s # GUnixFDList *fd_list, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # 902s # gboolean fdpassing_call_hello_fd_finish ( 902s # FDPassing *proxy, 902s # gchar **out_response, 902s # GUnixFDList **out_fd_list, 902s # GAsyncResult *res, 902s # GError **error); 902s # 902s # gboolean fdpassing_call_hello_fd_sync ( 902s # FDPassing *proxy, 902s # const gchar *arg_greeting, 902s # GDBusCallFlags call_flags, 902s # gint timeout_msec, 902s # GUnixFDList *fd_list, 902s # gchar **out_response, 902s # GUnixFDList **out_fd_list, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # void fdpassing_call_no_annotation ( 902s # FDPassing *proxy, 902s # GVariant *arg_greeting, 902s # const gchar *arg_greeting_locale, 902s # GDBusCallFlags call_flags, 902s # gint timeout_msec, 902s # GUnixFDList *fd_list, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # 902s # gboolean fdpassing_call_no_annotation_finish ( 902s # FDPassing *proxy, 902s # GVariant **out_response, 902s # gchar **out_response_locale, 902s # GUnixFDList **out_fd_list, 902s # GAsyncResult *res, 902s # GError **error); 902s # 902s # gboolean fdpassing_call_no_annotation_sync ( 902s # FDPassing *proxy, 902s # GVariant *arg_greeting, 902s # const gchar *arg_greeting_locale, 902s # GDBusCallFlags call_flags, 902s # gint timeout_msec, 902s # GUnixFDList *fd_list, 902s # GVariant **out_response, 902s # gchar **out_response_locale, 902s # GUnixFDList **out_fd_list, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # void fdpassing_call_no_annotation_nested ( 902s # FDPassing *proxy, 902s # GVariant *arg_files, 902s # GDBusCallFlags call_flags, 902s # gint timeout_msec, 902s # GUnixFDList *fd_list, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # 902s # gboolean fdpassing_call_no_annotation_nested_finish ( 902s # FDPassing *proxy, 902s # GUnixFDList **out_fd_list, 902s # GAsyncResult *res, 902s # GError **error); 902s # 902s # gboolean fdpassing_call_no_annotation_nested_sync ( 902s # FDPassing *proxy, 902s # GVariant *arg_files, 902s # GDBusCallFlags call_flags, 902s # gint timeout_msec, 902s # GUnixFDList *fd_list, 902s # GUnixFDList **out_fd_list, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # 902s # 902s # /* ---- */ 902s # 902s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 902s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 902s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 902s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 902s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 902s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 902s # 902s # typedef struct _FDPassingProxy FDPassingProxy; 902s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 902s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 902s # 902s # struct _FDPassingProxy 902s # { 902s # /*< private >*/ 902s # GDBusProxy parent_instance; 902s # FDPassingProxyPrivate *priv; 902s # }; 902s # 902s # struct _FDPassingProxyClass 902s # { 902s # GDBusProxyClass parent_class; 902s # }; 902s # 902s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 902s # 902s # #if GLIB_CHECK_VERSION(2, 44, 0) 902s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 902s # #endif 902s # 902s # void fdpassing_proxy_new ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # FDPassing *fdpassing_proxy_new_finish ( 902s # GAsyncResult *res, 902s # GError **error); 902s # FDPassing *fdpassing_proxy_new_sync ( 902s # GDBusConnection *connection, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # void fdpassing_proxy_new_for_bus ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GAsyncReadyCallback callback, 902s # gpointer user_data); 902s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 902s # GAsyncResult *res, 902s # GError **error); 902s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 902s # GBusType bus_type, 902s # GDBusProxyFlags flags, 902s # const gchar *name, 902s # const gchar *object_path, 902s # GCancellable *cancellable, 902s # GError **error); 902s # 902s # 902s # /* ---- */ 902s # 902s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 902s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 902s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 902s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 902s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 902s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 902s # 902s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 902s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 902s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 902s # 902s # struct _FDPassingSkeleton 902s # { 902s # /*< private >*/ 902s # GDBusInterfaceSkeleton parent_instance; 902s # FDPassingSkeletonPrivate *priv; 902s # }; 902s # 902s # struct _FDPassingSkeletonClass 902s # { 902s # GDBusInterfaceSkeletonClass parent_class; 902s # }; 902s # 902s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 902s # 902s # #if GLIB_CHECK_VERSION(2, 44, 0) 902s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 902s # #endif 902s # 902s # FDPassing *fdpassing_skeleton_new (void); 902s # 902s # 902s # G_END_DECLS 902s # 902s # #endif /* __STDOUT__ */ 902s 1..39 902s TAP version 14 902s # random seed: R02S775101b77b5505ffc80b9e742bcab6fc 902s 1..1 902s # Start of credentials tests 902s # GCredentials:linux-ucred:pid=2096,uid=1000,gid=1000 902s # GCredentials:linux-ucred:pid=2096,uid=0,gid=1000 902s ok 1 /credentials/basic 902s # End of credentials tests 902s TAP version 14 902s # random seed: R02Sa8b0c344a8493f1a2d2f4f56cbf9a1ff 902s 1..7 902s # Start of appinfo tests 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/runtime 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/system-data1/applications' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/data/applications' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/data/applications/myapp.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/data/applications/myapp2.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/data/applications/myapp3.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/data/applications/myapp4.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/data/applications/myapp5.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 902s # removing '/tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/data/applications/mimeapps.list' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/data/applications/mimeinfo.cache' 902s ok 1 /appinfo/all 902s # Start of mime tests 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/runtime 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/system-data1/applications' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/data/applications' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 902s # removing '/tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/config 902s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_FZ0G02/appinfo/all/.dirs/config to /tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/config 902s ok 2 /appinfo/mime/api 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/runtime 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/system-data1/applications' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/data/applications' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 902s # removing '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/config 902s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_FZ0G02/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/config 902s ok 3 /appinfo/mime/default 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/runtime 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/system-data1/applications' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/data/applications' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 902s # removing '/tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/config 902s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_FZ0G02/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/config 902s ok 4 /appinfo/mime/file 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/runtime 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/data/applications' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 902s # removing '/tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 902s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_FZ0G02/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/config 902s ok 5 /appinfo/mime/scheme-handler 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/runtime 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/system-data1/applications' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/data/applications' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 902s # removing '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/config 902s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_FZ0G02/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/config 902s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/config 902s ok - glib/mimeapps.test 902s # Running test: glib/portal-support-snap.test 902s ok - glib/portal-support-snap.test 902s # Running test: glib/dump.test 902s ok - glib/dump.test 902s # Running test: glib/sequence.test 902s ok 6 /appinfo/mime/default-last-used 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/runtime 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 902s # removing '/tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 902s # creating '/tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 902s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_FZ0G02/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_FZ0G02/appinfo/mime/ignore-nonexisting/.dirs/config 902s ok 7 /appinfo/mime/ignore-nonexisting 902s # End of mime tests 902s # End of appinfo tests 902s TAP version 14 902s # random seed: R02Se171a280354ec4005a59852ab4eb83e3 902s 1..7 902s # Start of portal-support tests 902s # Start of snap tests 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/no-snapctl/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/no-snapctl/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_QVDO02/portal-support/snap/no-snapctl/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/no-snapctl/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_QVDO02/portal-support/snap/no-snapctl/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/no-snapctl/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/no-snapctl/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/no-snapctl/.dirs/runtime 902s # Created snap.yaml in /tmp/test_portal-support-snap_QVDO02/meta/snap.yaml 902s Unable to clean up temporary directory /tmp/test_portal-support-snap_QVDO02/portal-support/snap/no-snapctl: No such file or directory 902s ok 1 /portal-support/snap/no-snapctl 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/none/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/none/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_QVDO02/portal-support/snap/none/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/none/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_QVDO02/portal-support/snap/none/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/none/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/none/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/none/.dirs/runtime 902s # Created snap.yaml in /tmp/test_portal-support-snap_QVDO02/meta/snap.yaml 902s # Created snapctl in /tmp/test_portal-support-snap_QVDO02/portal-support/snap/none/.dirs/runtime/snapctl 902s Unable to clean up temporary directory /tmp/test_portal-support-snap_QVDO02/portal-support/snap/none: No such file or directory 902s ok 2 /portal-support/snap/none 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/all/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/all/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_QVDO02/portal-support/snap/all/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/all/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_QVDO02/portal-support/snap/all/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/all/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/all/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/all/.dirs/runtime 902s # Created snap.yaml in /tmp/test_portal-support-snap_QVDO02/meta/snap.yaml 902s # Created snapctl in /tmp/test_portal-support-snap_QVDO02/portal-support/snap/all/.dirs/runtime/snapctl 902s Unable to clean up temporary directory /tmp/test_portal-support-snap_QVDO02/portal-support/snap/all: No such file or directory 902s ok 3 /portal-support/snap/all 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/desktop-only/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/desktop-only/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_QVDO02/portal-support/snap/desktop-only/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/desktop-only/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_QVDO02/portal-support/snap/desktop-only/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/desktop-only/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/desktop-only/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/desktop-only/.dirs/runtime 902s # Created snap.yaml in /tmp/test_portal-support-snap_QVDO02/meta/snap.yaml 902s # Created snapctl in /tmp/test_portal-support-snap_QVDO02/portal-support/snap/desktop-only/.dirs/runtime/snapctl 902s Unable to clean up temporary directory /tmp/test_portal-support-snap_QVDO02/portal-support/snap/desktop-only: No such file or directory 902s ok 4 /portal-support/snap/desktop-only 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/network-only/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/network-only/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_QVDO02/portal-support/snap/network-only/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/network-only/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_QVDO02/portal-support/snap/network-only/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/network-only/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/network-only/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/network-only/.dirs/runtime 902s # Created snap.yaml in /tmp/test_portal-support-snap_QVDO02/meta/snap.yaml 902s # Created snapctl in /tmp/test_portal-support-snap_QVDO02/portal-support/snap/network-only/.dirs/runtime/snapctl 902s Unable to clean up temporary directory /tmp/test_portal-support-snap_QVDO02/portal-support/snap/network-only: No such file or directory 902s ok 5 /portal-support/snap/network-only 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/gsettings-only/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/gsettings-only/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_QVDO02/portal-support/snap/gsettings-only/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/gsettings-only/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_QVDO02/portal-support/snap/gsettings-only/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/gsettings-only/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/gsettings-only/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/gsettings-only/.dirs/runtime 902s # Created snap.yaml in /tmp/test_portal-support-snap_QVDO02/meta/snap.yaml 902s # Created snapctl in /tmp/test_portal-support-snap_QVDO02/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 902s Unable to clean up temporary directory /tmp/test_portal-support-snap_QVDO02/portal-support/snap/gsettings-only: No such file or directory 902s ok 6 /portal-support/snap/gsettings-only 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/updates-dynamically/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/updates-dynamically/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_QVDO02/portal-support/snap/updates-dynamically/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/updates-dynamically/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_QVDO02/portal-support/snap/updates-dynamically/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/updates-dynamically/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/updates-dynamically/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QVDO02/portal-support/snap/updates-dynamically/.dirs/runtime 902s # Created snap.yaml in /tmp/test_portal-support-snap_QVDO02/meta/snap.yaml 902s # Created snapctl in /tmp/test_portal-support-snap_QVDO02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 902s # Created snapctl in /tmp/test_portal-support-snap_QVDO02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 902s # Created snapctl in /tmp/test_portal-support-snap_QVDO02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 902s # Created snapctl in /tmp/test_portal-support-snap_QVDO02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 902s # Created snapctl in /tmp/test_portal-support-snap_QVDO02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 902s # Created snapctl in /tmp/test_portal-support-snap_QVDO02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 902s # Created snapctl in /tmp/test_portal-support-snap_QVDO02/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 902s Unable to clean up temporary directory /tmp/test_portal-support-snap_QVDO02/portal-support/snap/updates-dynamically: No such file or directory 902s ok 7 /portal-support/snap/updates-dynamically 902s # End of snap tests 902s # End of portal-support tests 902s Unable to clean up temporary directory /tmp/test_portal-support-snap_QVDO02: No such file or directory 902s TAP version 14 902s # random seed: R02Sd20316adc7117140955cc94da473aec1 902s 1..4 902s # Start of dump tests 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_FAXP02/dump/empty-file/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_FAXP02/dump/empty-file/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_FAXP02/dump/empty-file/.dirs/system-config1:/tmp/test_dump_FAXP02/dump/empty-file/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_FAXP02/dump/empty-file/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_FAXP02/dump/empty-file/.dirs/system-data1:/tmp/test_dump_FAXP02/dump/empty-file/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_FAXP02/dump/empty-file/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_FAXP02/dump/empty-file/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_FAXP02/dump/empty-file/.dirs/runtime 902s ok 1 /dump/empty-file 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_FAXP02/dump/missing-get-type/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_FAXP02/dump/missing-get-type/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_FAXP02/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_FAXP02/dump/missing-get-type/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_FAXP02/dump/missing-get-type/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_FAXP02/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_FAXP02/dump/missing-get-type/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_FAXP02/dump/missing-get-type/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_FAXP02/dump/missing-get-type/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_FAXP02/dump/missing-get-type/.dirs/runtime 902s Invalid GType function: 'does_not_exist_get_type' 902s ok 2 /dump/missing-get-type 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_FAXP02/dump/missing-quark/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_FAXP02/dump/missing-quark/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_FAXP02/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_FAXP02/dump/missing-quark/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_FAXP02/dump/missing-quark/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_FAXP02/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_FAXP02/dump/missing-quark/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_FAXP02/dump/missing-quark/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_FAXP02/dump/missing-quark/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_FAXP02/dump/missing-quark/.dirs/runtime 902s Invalid error quark function: 'does_not_exist_error' 902s ok 3 /dump/missing-quark 902s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_FAXP02/dump/basic/.dirs/home 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_FAXP02/dump/basic/.dirs/cache 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_FAXP02/dump/basic/.dirs/system-config1:/tmp/test_dump_FAXP02/dump/basic/.dirs/system-config2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_FAXP02/dump/basic/.dirs/config 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_FAXP02/dump/basic/.dirs/system-data1:/tmp/test_dump_FAXP02/dump/basic/.dirs/system-data2 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_FAXP02/dump/basic/.dirs/data 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_FAXP02/dump/basic/.dirs/state 902s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_FAXP02/dump/basic/.dirs/runtime 902s ok 4 /dump/basic 902s # End of dump tests 902s TAP version 14 902s # random seed: R02S629c7ebdcf66acff9de285915a76a9c3 902s 1..16 902s # Start of sequence tests 902s ok 1 /sequence/out-of-range-jump 902s ok 2 /sequence/iter-move 902s ok 3 /sequence/insert-sorted-non-pointer 902s ok 4 /sequence/stable-sort 902s ok 5 /sequence/is_empty 902s # Start of random tests 903s ok 6 /sequence/random/seed:825541564 903s # slow test /sequence/random/seed:825541564 executed in 0.53 secs 903s ok 7 /sequence/random/seed:801678400 904s ok 8 /sequence/random/seed:1477639090 904s # slow test /sequence/random/seed:1477639090 executed in 0.51 secs 904s ok 9 /sequence/random/seed:3369132895 904s # slow test /sequence/random/seed:3369132895 executed in 0.50 secs 905s ok 10 /sequence/random/seed:1192944867 905s ok 11 /sequence/random/seed:770458294 906s ok 12 /sequence/random/seed:1099575817 906s # Executing: glib/sequence.test 906s ok 13 /sequence/random/seed:590523467 906s # slow test /sequence/random/seed:590523467 executed in 0.61 secs 907s ok 14 /sequence/random/seed:3583571454 907s ok 15 /sequence/random/seed:579241222 908s ok 16 /sequence/random/seed:455209000 908s # End of random tests 908s # End of sequence tests 908s ok - glib/sequence.test 908s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 908s TAP version 14 908s # random seed: R02S108e7ab561b9ebf8f4e8736572c9057c 908s 1..8 908s # Start of gdbus tests 908s # Start of codegen tests 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/annotations/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/annotations/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/annotations/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/annotations/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/annotations/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/annotations/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/annotations/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/annotations/.dirs/runtime 908s ok 1 /gdbus/codegen/annotations 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/interface_stability/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/interface_stability/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/interface_stability/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/interface_stability/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/interface_stability/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/interface_stability/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/interface_stability/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/interface_stability/.dirs/runtime 908s ok 2 /gdbus/codegen/interface_stability 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/object-manager/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/object-manager/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/object-manager/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/object-manager/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/object-manager/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/object-manager/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/object-manager/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/object-manager/.dirs/runtime 908s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 908s ok 3 /gdbus/codegen/object-manager 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/property-naming/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/property-naming/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/property-naming/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/property-naming/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/property-naming/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/property-naming/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/property-naming/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/property-naming/.dirs/runtime 908s ok 4 /gdbus/codegen/property-naming 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/autocleanups/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/autocleanups/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/autocleanups/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/autocleanups/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/autocleanups/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/autocleanups/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/autocleanups/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/autocleanups/.dirs/runtime 908s ok 5 /gdbus/codegen/autocleanups 908s ok - glib/gdbus-test-codegen-min-required-2-64.test 908s # Running test: glib/deprecated-properties.test 908s ok - glib/deprecated-properties.test 908s # Running test: glib/relation.test 908s ok - glib/relation.test 908s # Running test: glib/utils.test 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/deprecations/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/deprecations/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/deprecations/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/deprecations/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/deprecations/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/deprecations/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/deprecations/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/deprecations/.dirs/runtime 908s ok 6 /gdbus/codegen/deprecations 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/standalone-interface-info/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/standalone-interface-info/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/standalone-interface-info/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/standalone-interface-info/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/standalone-interface-info/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/standalone-interface-info/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/standalone-interface-info/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/standalone-interface-info/.dirs/runtime 908s ok 7 /gdbus/codegen/standalone-interface-info 908s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/unix-fd-list/.dirs/home 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/unix-fd-list/.dirs/cache 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/unix-fd-list/.dirs/system-config2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/unix-fd-list/.dirs/config 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/unix-fd-list/.dirs/system-data2 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/unix-fd-list/.dirs/data 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/unix-fd-list/.dirs/state 908s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_BEAJ02/gdbus/codegen/unix-fd-list/.dirs/runtime 908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 908s ok 8 /gdbus/codegen/unix-fd-list 908s # End of codegen tests 908s # End of gdbus tests 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 908s TAP version 14 908s # random seed: R02Sbdba39fd69ed18aa9e6f3f8941c2a578 908s 1..3 908s # Start of deprecated-properties tests 908s ok 1 /deprecated-properties/construct 908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 908s ok 2 /deprecated-properties/default-construct 908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 908s ok 3 /deprecated-properties/set 908s # End of deprecated-properties tests 908s TAP version 14 908s # random seed: R02S91e4063913f481daab9c0fbefde4d4c1 908s 1..1 908s # Start of glib tests 908s ok 1 /glib/relation 908s # End of glib tests 908s TAP version 14 908s # random seed: R02Sfef7da1749a4bec10de60464aa7e47c4 908s 1..40 908s # Start of utils tests 908s ok 1 /utils/language-names 908s ok 2 /utils/locale-variants 908s ok 3 /utils/version 908s ok 4 /utils/appname 908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 908s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 908s ok 5 /utils/prgname-thread-safety 908s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 908s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 908s ok 6 /utils/tmpdir 908s ok 7 /utils/basic_bits 908s ok 8 /utils/bits 908s ok 9 /utils/swap 908s ok 10 /utils/find-program 908s ok 11 /utils/find-program-for-path 908s ok 12 /utils/debug 908s ok 13 /utils/codeset 908s ok 14 /utils/codeset2 908s ok 15 /utils/console-charset 908s ok 16 /utils/gettext 908s ok 17 /utils/username 908s ok 18 /utils/realname 908s ok 19 /utils/hostname 908s ok 20 /utils/xdgdirs 908s ok 21 /utils/specialdir 908s # NAME: Ubuntu 908s ok - glib/utils.test 908s # Running test: glib/tls-interaction.test 908s ok 22 /utils/os-info 908s ok 23 /utils/clear-pointer 908s ok 24 /utils/clear-pointer-cast 908s ok 25 /utils/take-pointer 908s ok 26 /utils/clear-source 908s ok 27 /utils/misc-mem 908s # /utils/aligned-mem summary: Aligned memory allocator 908s # Alignment must not be zero 908s # Alignment must be a power of two 908s # Alignment must be a multiple of sizeof(void*) 908s ok 28 /utils/aligned-mem 908s # /utils/free-sized summary: Check that g_free_sized() works 908s ok 29 /utils/free-sized 908s ok 30 /utils/nullify 908s ok 31 /utils/atexit 908s ok 32 /utils/check-setuid 908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 908s ok 33 /utils/int-limits 908s ok 34 /utils/clear-list 908s ok 35 /utils/clear-slist 908s # Start of specialdir tests 908s ok 36 /utils/specialdir/desktop 908s # End of specialdir tests 908s # Start of clear-pointer tests 908s ok 37 /utils/clear-pointer/side-effects 908s # End of clear-pointer tests 908s # Start of aligned-mem tests 908s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 908s ok 38 /utils/aligned-mem/alignment 908s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 908s ok 39 /utils/aligned-mem/zeroed 908s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 908s ok 40 /utils/aligned-mem/free-sized 908s # Start of subprocess tests 908s # End of subprocess tests 908s # End of aligned-mem tests 908s # End of utils tests 908s TAP version 14 908s # random seed: R02Scb74d1070270b22bdcbd8d1ffc13aa4c 908s 1..42 908s # Start of tls-interaction tests 908s # Start of ask-password tests 908s # Start of invoke-with-loop tests 908s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 908s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 908s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 908s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 908s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 908s # End of invoke-with-loop tests 908s # Start of invoke-without-loop tests 908s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 908s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 908s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 908s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 908s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 908s # End of invoke-without-loop tests 908s # Start of invoke-in-loop tests 908s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 908s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 908s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 908s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 908s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 908s # End of invoke-in-loop tests 908s # Start of sync tests 908s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 908s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 908s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 908s # End of sync tests 908s # Start of async tests 908s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 908s ok 20 /tls-interaction/ask-password/async/async-implementation-success 908s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 908s # End of async tests 908s # End of ask-password tests 908s # Start of request-certificate tests 908s # Start of invoke-with-loop tests 908s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 908s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 908s ok - glib/tls-interaction.test 908s # Running test: glib/spawn-singlethread.test 908s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 908s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 908s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 908s # End of invoke-with-loop tests 908s # Start of invoke-without-loop tests 908s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 908s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 908s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 908s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 908s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 908s # End of invoke-without-loop tests 908s # Start of invoke-in-loop tests 908s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 908s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 908s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 908s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 908s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 908s # End of invoke-in-loop tests 908s # Start of sync tests 908s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 908s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 908s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 908s # End of sync tests 908s # Start of async tests 908s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 908s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 908s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 908s # End of async tests 908s # End of request-certificate tests 908s # End of tls-interaction tests 908s TAP version 14 908s # random seed: R02S42ccc1f65543e1f9af85d1aee8698262 908s 1..9 908s # Start of gthread tests 908s ok 1 /gthread/spawn-single-sync 908s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 908s ok 2 /gthread/spawn-stderr-socket 908s ok 3 /gthread/spawn-single-async 908s # thread 1 908s # thread 1 908s ok 4 /gthread/spawn-single-async-with-fds 908s ok 5 /gthread/spawn-async-with-invalid-fds 908s ok 6 /gthread/spawn-script 908s ok 7 /gthread/spawn-posix-spawn 908s # Start of spawn tests 908s ok 8 /gthread/spawn/nonexistent 908s # FD map: 908s # • 5 → 15 908s # • 6 → 16 908s # • 7 → 17 908s # • 8 → 18 908s # • 9 → 19 908s # • 10 → 20 908s # • 11 → 21 908s # • 12 → 22 908s # • 13 → 23 908s # • 3 → 13 908s ok 9 /gthread/spawn/fd-assignment-clash 908s # End of spawn tests 908s # End of gthread tests 908s ok - glib/spawn-singlethread.test 908s # Running test: glib/io-stream.test 908s TAP version 14 908s # random seed: R02Se9a580a25154a20c860279b01ccf4264 908s 1..3 908s # Start of io-stream tests 908s ok 1 /io-stream/copy-chunks 908s # Start of close tests 908s # Start of async tests 908s ok 2 /io-stream/close/async/memory 908s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 908s ok 3 /io-stream/close/async/file 908s # End of async tests 908s # End of close tests 908s ok - glib/io-stream.test 908s # Running test: glib/utf8-performance.test 908s ok - glib/utf8-performance.test 908s # Running test: glib/rwlock.test 908s # End of io-stream tests 908s TAP version 14 908s # random seed: R02S0d329f796313eed5564bfd20f0a243b1 908s 1..36 908s # Start of utf8 tests 908s # Start of perf tests 908s # Start of get_char tests 908s # max perf: 43.0 MB/s 908s ok 1 /utf8/perf/get_char/ascii 908s # max perf: 67.0 MB/s 908s ok 2 /utf8/perf/get_char/latin1 908s # max perf: inf MB/s 908s ok 3 /utf8/perf/get_char/cyrillic 908s # max perf: inf MB/s 908s ok 4 /utf8/perf/get_char/han 908s # End of get_char tests 908s # Start of get_char-backwards tests 908s # max perf: inf MB/s 908s ok 5 /utf8/perf/get_char-backwards/ascii 908s # max perf: inf MB/s 908s ok 6 /utf8/perf/get_char-backwards/latin1 908s # max perf: 160.0 MB/s 908s ok 7 /utf8/perf/get_char-backwards/cyrillic 908s # max perf: 156.0 MB/s 908s ok 8 /utf8/perf/get_char-backwards/han 908s # End of get_char-backwards tests 908s # Start of get_char_validated tests 908s # max perf: inf MB/s 908s ok 9 /utf8/perf/get_char_validated/ascii 908s # max perf: inf MB/s 908s ok 10 /utf8/perf/get_char_validated/latin1 908s # max perf: 160.0 MB/s 908s ok 11 /utf8/perf/get_char_validated/cyrillic 908s # max perf: inf MB/s 908s ok 12 /utf8/perf/get_char_validated/han 908s # End of get_char_validated tests 908s # Start of utf8_to_ucs4 tests 908s # max perf: 43.0 MB/s 908s ok 13 /utf8/perf/utf8_to_ucs4/ascii 908s # max perf: 67.0 MB/s 908s ok 14 /utf8/perf/utf8_to_ucs4/latin1 908s # max perf: 160.0 MB/s 908s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 908s # max perf: 156.0 MB/s 908s ok 16 /utf8/perf/utf8_to_ucs4/han 908s # End of utf8_to_ucs4 tests 908s # Start of utf8_to_ucs4-sized tests 908s # max perf: 43.0 MB/s 908s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 908s # max perf: inf MB/s 908s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 908s # max perf: 160.0 MB/s 908s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 908s # max perf: 156.0 MB/s 908s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 908s # End of utf8_to_ucs4-sized tests 908s # Start of utf8_to_ucs4_fast tests 908s # max perf: inf MB/s 908s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 908s # max perf: inf MB/s 908s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 908s # max perf: 160.0 MB/s 908s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 908s # max perf: inf MB/s 908s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 908s # End of utf8_to_ucs4_fast tests 908s # Start of utf8_to_ucs4_fast-sized tests 908s # max perf: 43.0 MB/s 908s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 908s # max perf: inf MB/s 908s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 908s # max perf: inf MB/s 908s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 908s # max perf: 156.0 MB/s 908s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 908s # End of utf8_to_ucs4_fast-sized tests 908s # Start of utf8_validate tests 908s # max perf: inf MB/s 908s ok 29 /utf8/perf/utf8_validate/ascii 908s # max perf: inf MB/s 908s ok 30 /utf8/perf/utf8_validate/latin1 908s # max perf: inf MB/s 908s ok 31 /utf8/perf/utf8_validate/cyrillic 908s # max perf: 156.0 MB/s 908s ok 32 /utf8/perf/utf8_validate/han 908s # End of utf8_validate tests 908s # Start of utf8_validate-sized tests 908s # max perf: inf MB/s 908s ok 33 /utf8/perf/utf8_validate-sized/ascii 908s # max perf: inf MB/s 908s ok 34 /utf8/perf/utf8_validate-sized/latin1 908s # max perf: inf MB/s 908s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 908s # max perf: 156.0 MB/s 908s ok 36 /utf8/perf/utf8_validate-sized/han 908s # End of utf8_validate-sized tests 908s # End of perf tests 908s # End of utf8 tests 908s TAP version 14 908s # random seed: R02S00291fefdf9ac40f9d1a6ca0256b501b 908s 1..8 908s # Start of thread tests 908s ok 1 /thread/rwlock1 908s ok 2 /thread/rwlock2 908s ok 3 /thread/rwlock3 908s ok 4 /thread/rwlock4 908s ok 5 /thread/rwlock5 908s ok 6 /thread/rwlock6 911s # Executing: glib/rwlock.test 914s ok 7 /thread/rwlock7 914s # slow test /thread/rwlock7 executed in 5.97 secs 914s ok - glib/rwlock.test 914s # Running test: glib/defaultvalue.test 914s ok 8 /thread/rwlock8 914s # End of thread tests 914s TAP version 14 914s # random seed: R02Seb797d3e605babd0b16899ac5f8727b8 914s 1..84 914s # Start of Default Values tests 914s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 914s ok 2 /Default Values/GAppLaunchContext 914s ok 3 /Default Values/GApplicationCommandLine 914s # skipping GApplication:is-remote 914s ok 4 /Default Values/GApplication 914s ok 5 /Default Values/GBinding # SKIP mandatory construct params 914s ok 6 /Default Values/GBindingGroup 914s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 914s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 914s ok 9 /Default Values/GBytesIcon 914s ok 10 /Default Values/GCancellable 914s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 914s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 914s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 914s ok 14 /Default Values/GCredentials 914s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 914s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 914s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 914s ok 18 /Default Values/GDBusAuthObserver 914s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 914s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 914s ok 21 /Default Values/GDBusMessage 914s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 914s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 914s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 914s ok 25 /Default Values/GDBusObjectProxy 914s ok 26 /Default Values/GDBusObjectSkeleton 914s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 914s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 914s ok 29 /Default Values/GEmblem 914s ok 30 /Default Values/GEmblemedIcon 914s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 914s ok 32 /Default Values/GFileInfo 914s ok - glib/defaultvalue.test 914s # Running test: glib/1bit-mutex.test 914s ok 33 /Default Values/GFileInputStream 914s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 914s ok 35 /Default Values/GFileOutputStream 914s ok 36 /Default Values/GFilenameCompleter 914s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 914s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 914s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 914s ok 40 /Default Values/GInitiallyUnowned 914s ok 41 /Default Values/GIOModule 914s ok 42 /Default Values/GListStore 914s ok 43 /Default Values/GMemoryInputStream 914s ok 44 /Default Values/GMemoryOutputStream 914s ok 45 /Default Values/GMenu 914s ok 46 /Default Values/GMenuItem 914s ok 47 /Default Values/GMountOperation 914s ok 48 /Default Values/GNativeSocketAddress 914s ok 49 /Default Values/GNetworkAddress 914s ok 50 /Default Values/GNetworkService 914s ok 51 /Default Values/GNotification 914s ok 52 /Default Values/GObject 914s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 914s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 914s # skipping GProxyAddressEnumerator:proxy-resolver 914s ok 54 /Default Values/GProxyAddressEnumerator 914s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 914s ok 56 /Default Values/GSettings # SKIP mandatory construct params 914s ok 57 /Default Values/GSignalGroup 914s ok 58 /Default Values/GSimpleAction 914s ok 59 /Default Values/GSimpleActionGroup 914s ok 60 /Default Values/GSimpleAsyncResult 914s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 914s ok 62 /Default Values/GSimplePermission 914s ok 63 /Default Values/GSimpleProxyResolver 914s # skipping GSocketClient:proxy-resolver 914s ok 64 /Default Values/GSocketClient 914s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 914s ok 66 /Default Values/GSocket # SKIP initialization failed 914s ok 67 /Default Values/GSocketListener 914s ok 68 /Default Values/GSocketService 914s ok 69 /Default Values/GSubprocess # SKIP initialization failed 914s ok 70 /Default Values/GSubprocessLauncher 914s # GLib-GIO-DEBUG: GTask 0x591991dda020 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 914s ok 71 /Default Values/GTask 914s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 914s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 914s ok 74 /Default Values/GTestDBus 914s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 914s ok 76 /Default Values/GThreadedSocketService 914s ok 77 /Default Values/GTlsInteraction 914s ok 78 /Default Values/GTlsPassword 914s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 914s ok 80 /Default Values/GUnixFDList 914s ok 81 /Default Values/GVfs 914s ok 82 /Default Values/GVolumeMonitor 914s ok 83 /Default Values/GZlibCompressor 914s ok 84 /Default Values/GZlibDecompressor 914s # End of Default Values tests 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 914s TAP version 14 914s # random seed: R02S6c756f17d2936062b69d8df4bc36aae2 914s 1..2 914s # Start of glib tests 914s # Start of 1bit-mutex tests 916s # Executing: glib/1bit-mutex.test 920s ok 1 /glib/1bit-mutex/int 920s # slow test /glib/1bit-mutex/int executed in 6.06 secs 922s # Executing: glib/1bit-mutex.test 926s # Executing: glib/1bit-mutex.test 926s ok 2 /glib/1bit-mutex/pointer 926s # slow test /glib/1bit-mutex/pointer executed in 6.41 secs 926s # End of 1bit-mutex tests 926s # End of glib tests 926s ok - glib/1bit-mutex.test 926s # Running test: glib/contenttype.test 926s TAP version 14 926s # random seed: R02S04e3171738dbc557e7741ace750087e8 926s 1..13 926s # Start of contenttype tests 926s ok 1 /contenttype/guess 926s ok 2 /contenttype/guess_svg_from_data 926s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 926s ok 4 /contenttype/unknown 926s ok 5 /contenttype/subtype 926s ok 6 /contenttype/list 926s ok 7 /contenttype/executable 926s ok 8 /contenttype/description 926s ok 9 /contenttype/icon 926s ok 10 /contenttype/symbolic-icon 926s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 926s ok 11 /contenttype/tree 926s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 926s ok 12 /contenttype/tree_invalid_encoding 926s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 926s ok 13 /contenttype/test_type_is_a_special_case 926s # End of contenttype tests 926s ok - glib/contenttype.test 926s # Running test: glib/logging.test 926s TAP version 14 926s # random seed: R02S43f901bdfdcaa8b95dbc3a0cc1ef1401 926s 1..17 926s # Start of logging tests 928s ok 1 /logging/default-handler 928s # slow test /logging/default-handler executed in 1.56 secs 928s ok 2 /logging/warnings 928s ok 3 /logging/fatal-log-mask 928s # bu-DEBUG: message 928s # ba-DEBUG: message 928s # ba-INFO: message 928s ok 4 /logging/set-handler 928s ok 5 /logging/print-handler 928s ok 6 /logging/printerr-handler 928s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 928s # The Log Message Handler 928s # 928s # The Good Fail Message Handler 928s # 928s ok 7 /logging/653052 928s ok 8 /logging/gibberish 928s # Start of default-handler tests 928s # Start of subprocess tests 928s # End of subprocess tests 928s # End of default-handler tests 928s # End of logging tests 928s # Start of structured-logging tests 928s ok 9 /structured-logging/no-state 928s ok 10 /structured-logging/some-state 928s ok 11 /structured-logging/robustness 928s ok 12 /structured-logging/roundtrip1 928s ok 13 /structured-logging/roundtrip2 928s ok 14 /structured-logging/roundtrip3 928s ok 15 /structured-logging/variant1 928s ok 16 /structured-logging/variant2 928s ok 17 /structured-logging/set-writer-func-twice 928s # End of structured-logging tests 928s TAP version 14 928s # random seed: R02S86b453466f30c206d4b9ac7aa74354a9 928s 1..19 928s # Start of binding tests 928s ok 1 /binding/default 928s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 928s ok 2 /binding/canonicalisation 928s ok 3 /binding/bidirectional 928s ok 4 /binding/transform 928s ok 5 /binding/transform-default 928s ok 6 /binding/transform-closure 928s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 928s ok 7 /binding/chain 928s ok 8 /binding/sync-create 928s ok 9 /binding/invert-boolean 928s ok 10 /binding/same-object 928s ok 11 /binding/unbind 928s ok 12 /binding/unbind-weak 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 928s ok 13 /binding/unbind-multiple 928s ok 14 /binding/fail 928s ok 15 /binding/interface 928s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 928s ok 16 /binding/concurrent-unbind 928s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 928s ok 17 /binding/concurrent-finalizing 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 928s ok 18 /binding/dispose-source 928s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 928s ok 19 /binding/dispose-target 928s # End of binding tests 928s TAP version 14 928s # random seed: R02S180beee63fc9b14db74699c6c270830b 928s 1..2 928s # Start of gdbus tests 928s ok - glib/logging.test 928s # Running test: glib/binding.test 928s ok - glib/binding.test 928s # Running test: glib/gdbus-address-get-session.test 928s ok 1 /gdbus/x11-autolaunch 928s ok 2 /gdbus/xdg-runtime 928s # End of gdbus tests 928s ok - glib/gdbus-address-get-session.test 928s # Running test: glib/cxx-2b.test 928s TAP version 14 928s # random seed: R02S1b7718f1e1c9944380eb33ee7139727a 928s 1..2 928s # Start of gtask tests 928s # 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. 928s ok 1 /gtask/name 928s # Start of name tests 928s # 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. 928s ok 2 /gtask/name/macro-wrapper 928s # End of name tests 928s # End of gtask tests 928s ok - glib/cxx-2b.test 928s # Running test: glib/win32-appinfo.test 928s TAP version 14 928s # random seed: R02S1723e35c8ec8020c6a2d0de711d9948e 928s 1..5 928s # Start of appinfo tests 928s ok 1 /appinfo/utf16-strfuncs 928s ok 2 /appinfo/win32-extract-executable 928s ok 3 /appinfo/win32-rundll32-fixup 928s ok 4 /appinfo/win32-parse-filename 928s ok 5 /appinfo/win32-utf16-conversion-fail 928s # Start of subprocess tests 928s # End of subprocess tests 928s # End of appinfo tests 928s TAP version 14 928s # random seed: R02S6da7d749586759979c8e8a9379e1a3c5 928s 1..1 928s # Start of gobject tests 928s # Start of refcount tests 928s # init 0x5feafc908420 928s # 928s # init 0x5feafc9085c0 928s # 928s ok - glib/win32-appinfo.test 928s # Running test: glib/signals-refcount4.test 931s # Executing: glib/signals-refcount4.test 933s # dispose 0x5feafc908420! 933s # 933s # dispose 0x5feafc9085c0! 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/ifaceproperties.test 933s TAP version 14 933s # random seed: R02S1d317517a243436f2b733ec5ba153161 933s 1..7 933s # Start of interface tests 933s # Start of properties tests 933s ok 1 /interface/properties/set 933s ok 2 /interface/properties/notify 933s ok 3 /interface/properties/find-overridden 933s ok 4 /interface/properties/list-overridden 933s ok 5 /interface/properties/find-interface 933s ok 6 /interface/properties/list-interface 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 933s ok 7 /interface/properties/not-overridden 933s # End of properties tests 933s # End of interface tests 933s ok - glib/ifaceproperties.test 933s # Running test: glib/gdbus-method-invocation.test 933s ok - glib/gdbus-method-invocation.test 933s # Running test: glib/keyfile.test 933s ok - glib/keyfile.test 933s # Running test: glib/bitlock.test 933s ok - glib/bitlock.test 933s # Running test: glib/srvtarget.test 933s TAP version 14 933s # random seed: R02S1a1c19e51483af553bb317cb95c889f0 933s 1..1 933s # Start of gdbus tests 933s # Start of method-invocation tests 933s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_5AMP02/gdbus/method-invocation/return/.dirs/home 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_5AMP02/gdbus/method-invocation/return/.dirs/cache 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_5AMP02/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_5AMP02/gdbus/method-invocation/return/.dirs/system-config2 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_5AMP02/gdbus/method-invocation/return/.dirs/config 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_5AMP02/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_5AMP02/gdbus/method-invocation/return/.dirs/system-data2 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_5AMP02/gdbus/method-invocation/return/.dirs/data 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_5AMP02/gdbus/method-invocation/return/.dirs/state 933s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_5AMP02/gdbus/method-invocation/return/.dirs/runtime 933s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 933s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 933s # Calling org.freedesktop.DBus.Properties.Get 933s # Calling org.freedesktop.DBus.Properties.Get 933s # Calling org.freedesktop.DBus.Properties.Get 933s # Calling org.freedesktop.DBus.Properties.Set 933s # Calling org.freedesktop.DBus.Properties.GetAll 933s # Calling org.example.Foo.WrongReturnType 933s # Calling org.example.Foo.GetFDs 933s # Calling org.example.Foo.GetFDs 933s # Calling org.example.Foo.ReturnError 933s # Calling org.example.Foo.CloseBeforeReturning 933s ok 1 /gdbus/method-invocation/return 933s # End of method-invocation tests 933s # End of gdbus tests 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s TAP version 14 933s # random seed: R02S7fcf273017d73b6c73586f1e93eb8cf0 933s 1..36 933s # Start of keyfile tests 933s ok 1 /keyfile/line-ends 933s ok 2 /keyfile/whitespace 933s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 933s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 933s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 933s ok 3 /keyfile/comments 933s ok 4 /keyfile/listing 933s ok 5 /keyfile/string 933s ok 6 /keyfile/boolean 933s ok 7 /keyfile/number 933s ok 8 /keyfile/locale-string 933s ok 9 /keyfile/lists 933s ok 10 /keyfile/lists-set-get 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 933s ok 11 /keyfile/group-remove 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 933s ok 12 /keyfile/key-remove 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 933s ok 13 /keyfile/groups 933s ok 14 /keyfile/duplicate-keys 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 933s ok 15 /keyfile/duplicate-groups 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 933s ok 16 /keyfile/duplicate-groups2 933s ok 17 /keyfile/group-names 933s ok 18 /keyfile/key-names 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 933s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 933s ok 19 /keyfile/reload 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 933s ok 20 /keyfile/int64 933s ok 21 /keyfile/load 933s ok 22 /keyfile/save 933s ok 23 /keyfile/load-fail 933s ok 24 /keyfile/non-utf8 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 933s ok 25 /keyfile/page-boundary 933s ok 26 /keyfile/ref 933s ok 27 /keyfile/replace-value 933s ok 28 /keyfile/list-separator 933s ok 29 /keyfile/empty-string 933s ok 30 /keyfile/limbo 933s # Testing invalid encoding ?non-UTF-8? 933s # Testing invalid encoding ?UTF? 933s # Testing invalid encoding ?UTF-9? 933s ok 31 /keyfile/utf8 933s ok 32 /keyfile/roundtrip 933s ok 33 /keyfile/bytes 933s ok 34 /keyfile/get-locale 933s ok 35 /keyfile/free-when-not-last-ref 933s # Start of locale-string tests 933s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 933s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 933s ok 36 /keyfile/locale-string/multiple-loads 933s # End of locale-string tests 933s # End of keyfile tests 933s TAP version 14 933s # random seed: R02Sde9dc6c0c370afe55584c6c52f30dc7f 933s 1..1 933s # Start of bitlock tests 933s # Start of performance tests 933s # max perf: iterations per second 933s ok 1 /bitlock/performance/uncontended 933s # End of performance tests 933s # End of bitlock tests 933s TAP version 14 933s # random seed: R02Se6a716f1940369f2091332f8db7417e0 933s 1..1 933s # Start of srvtarget tests 933s ok - glib/srvtarget.test 933s ok 1 /srvtarget/srv-target-ordering 933s # End of srvtarget tests 933s # Running test: glib/gapplication.test 933s TAP version 14 933s # random seed: R02Sb830e5524a48bab597958b7ae3cc434c 933s 1..24 933s # Start of gapplication tests 933s ok 1 /gapplication/no-dbus 933s ok 2 /gapplication/no-appid 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 933s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s ok 3 /gapplication/properties 933s ok 4 /gapplication/app-id 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 933s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s ok 5 /gapplication/quit 933s ok 6 /gapplication/registered 933s ok 7 /gapplication/local-actions 933s ok 8 /gapplication/local-command-line 933s ok 9 /gapplication/resource-path 933s ok 10 /gapplication/test-help 933s ok 11 /gapplication/command-line-done 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 933s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s ok 12 /gapplication/test-busy 933s ok 13 /gapplication/test-handle-local-options1 933s ok 14 /gapplication/test-handle-local-options2 933s ok 15 /gapplication/test-handle-local-options3 933s ok 16 /gapplication/api 933s ok 17 /gapplication/version 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 933s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 933s # launching subprocess 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s ok 18 /gapplication/replace 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 933s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 933s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 933s # launching subprocess 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s ok 19 /gapplication/no-replace 934s # slow test /gapplication/no-replace executed in 0.51 secs 934s # Start of dbus tests 934s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 934s # Message 0 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # Message 1 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # Message 2 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s ok 20 /gapplication/dbus/activate 934s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 934s # Message 0 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 934s # Message 1 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # Message 2 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # Message 3 934s ok - glib/gapplication.test 934s # Running test: glib/mapping.test 934s ok - glib/mapping.test 934s # Running test: glib/environment.test 934s ok - glib/environment.test 934s # Running test: glib/gdbus-message.test 934s ok - glib/gdbus-message.test 934s # Running test: glib/performance.test 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s ok 21 /gapplication/dbus/open 934s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 934s # Message 0 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # Message 1 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # Message 2 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s ok 22 /gapplication/dbus/command-line 934s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s ok 23 /gapplication/dbus/command-line-done 934s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 934s # Message 0 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # Message 1 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # Message 2 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # Message 3 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # Message 4 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # Message 5 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # Message 6 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # Message 7 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # Message 8 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # Message 9 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # Message 10 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # Message 11 934s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 934s ok 24 /gapplication/dbus/activate-action 934s # End of dbus tests 934s # End of gapplication tests 934s TAP version 14 934s # random seed: R02Sf1b714751c6cfd0714b0e2a2ba287f30 934s 1..3 934s # Start of mapping tests 934s # test_mapping: ok 934s ok 1 /mapping/flags 934s ok 2 /mapping/private 934s # test_child_private: child spawned 934s # Subtest: /usr/libexec/installed-tests/glib/mapping 934s # random seed: R02S26197eb579720ddaae214faa73bfdd68 934s # test_child_private: received first child signal 934s # test_child_private: received parent signal 934s # Child exited with status 0 934s # test_child_private: received second child signal 934s ok 3 /mapping/private-child 934s # End of mapping tests 934s TAP version 14 934s # random seed: R02S0f909e28070dff186386128789832bf4 934s 1..6 934s # Start of environ tests 934s # /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. 934s ok 1 /environ/listenv 934s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 934s ok 2 /environ/getenv 934s ok 3 /environ/setenv 934s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 934s ok 4 /environ/array 934s # /environ/null summary: Test getting and setting variables on a NULL envp array. 934s ok 5 /environ/null 934s # /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. 934s ok 6 /environ/case 934s # End of environ tests 934s TAP version 14 934s # random seed: R02S1d21f840dbcd841fe95d13b8e22294b4 934s 1..3 934s # Start of gdbus tests 934s # Start of message tests 934s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_NGDM02/gdbus/message/lock/.dirs/home 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_NGDM02/gdbus/message/lock/.dirs/cache 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_NGDM02/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_NGDM02/gdbus/message/lock/.dirs/system-config2 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_NGDM02/gdbus/message/lock/.dirs/config 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_NGDM02/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_NGDM02/gdbus/message/lock/.dirs/system-data2 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_NGDM02/gdbus/message/lock/.dirs/data 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_NGDM02/gdbus/message/lock/.dirs/state 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_NGDM02/gdbus/message/lock/.dirs/runtime 934s ok 1 /gdbus/message/lock 934s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_NGDM02/gdbus/message/copy/.dirs/home 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_NGDM02/gdbus/message/copy/.dirs/cache 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_NGDM02/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_NGDM02/gdbus/message/copy/.dirs/system-config2 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_NGDM02/gdbus/message/copy/.dirs/config 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_NGDM02/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_NGDM02/gdbus/message/copy/.dirs/system-data2 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_NGDM02/gdbus/message/copy/.dirs/data 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_NGDM02/gdbus/message/copy/.dirs/state 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_NGDM02/gdbus/message/copy/.dirs/runtime 934s ok 2 /gdbus/message/copy 934s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_NGDM02/gdbus/message/bytes-needed/.dirs/home 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_NGDM02/gdbus/message/bytes-needed/.dirs/cache 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_NGDM02/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_NGDM02/gdbus/message/bytes-needed/.dirs/system-config2 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_NGDM02/gdbus/message/bytes-needed/.dirs/config 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_NGDM02/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_NGDM02/gdbus/message/bytes-needed/.dirs/system-data2 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_NGDM02/gdbus/message/bytes-needed/.dirs/data 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_NGDM02/gdbus/message/bytes-needed/.dirs/state 934s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_NGDM02/gdbus/message/bytes-needed/.dirs/runtime 934s # Vector: 0 934s # Vector: 1 934s # Vector: 2 934s # Vector: 3 934s # Vector: 4 934s # Vector: 5 934s ok 3 /gdbus/message/bytes-needed 934s # End of message tests 934s # End of gdbus tests 934s Running test simple-construction 936s # Executing: glib/performance.test 941s # Executing: glib/performance.test 942s simple-construction: Millions of constructed objects per second: 29.400 942s Running test simple-construction1 944s simple-construction1: Millions of constructed objects per second: 128.257 944s Running test complex-construction 946s # Executing: glib/performance.test 947s complex-construction: Millions of constructed objects per second: 9.591 947s Running test complex-construction1 951s # Executing: glib/performance.test 952s complex-construction1: Millions of constructed objects per second: 18.306 952s Running test complex-construction2 956s # Executing: glib/performance.test 956s complex-construction2: Millions of constructed objects per second: 21.476 956s Running test finalization 958s finalization: Millions of finalized objects per second: 6.688 958s Running test type-check 958s type-check: Million type checks per second: -inf 958s Running test emit-unhandled 959s emit-unhandled: Emissions per second: 8435587 959s Running test emit-unhandled-empty 960s emit-unhandled-empty: Emissions per second: 70822086 960s Running test emit-unhandled-generic 961s emit-unhandled-generic: Emissions per second: 13059616 961s Running test emit-unhandled-generic-empty 961s # Executing: glib/performance.test 962s emit-unhandled-generic-empty: Emissions per second: 70826475 962s Running test emit-unhandled-args 963s emit-unhandled-args: Emissions per second: 6925986 963s Running test emit-handled 964s emit-handled: Emissions per second: 5329059 964s Running test emit-handled-empty 965s emit-handled-empty: Emissions per second: 5458210 965s Running test emit-handled-generic 966s # Executing: glib/performance.test 966s emit-handled-generic: Emissions per second: 5450354 966s Running test emit-handled-generic-empty 967s emit-handled-generic-empty: Emissions per second: 11038674 967s Running test emit-handled-args 968s emit-handled-args: Emissions per second: 4748305 968s Running test notify-unhandled 969s notify-unhandled: Notify (unhandled) per second: 55638458 969s Running test notify-by-pspec-unhandled 970s notify-by-pspec-unhandled: Notify (unhandled) per second: 121139948 970s Running test notify-handled 971s # Executing: glib/performance.test 971s notify-handled: Notify per second: 3338272 971s Running test notify-by-pspec-handled 972s notify-by-pspec-handled: Notify per second: 3444832 972s Running test property-set 973s property-set: Property set per second: 28256337 973s Running test property-get 974s property-get: Property get per second: 25511292 974s Running test refcount 975s refcount: Million refs+unref per second: 78.77 975s Running test refcount-1 976s # Executing: glib/performance.test 976s refcount-1: Million refs+unref per second: 241.61 976s Running test refcount-toggle 977s refcount-toggle: Million refs+unref per second: 119.51 977s ok - glib/performance.test 977s # Running test: glib/type.test 977s TAP version 14 977s # random seed: R02Sf97ae6bb900978585516af299b112d4a 977s 1..6 977s # Start of type tests 977s ok 1 /type/registration-serial 977s ok 2 /type/interface-prerequisite 977s ok 3 /type/interface-check 977s ok 4 /type/next-base 977s ok 5 /type/is-a 977s # Invalid types can?t be queried. 977s # Unclassed types can?t be queried. 977s ok - glib/type.test 977s # Running test: glib/slice.test 977s ok 6 /type/query 977s # End of type tests 977s TAP version 14 977s # random seed: R02S2d71c24cff45cfa8f90dc552662d078b 977s 1..3 977s # Start of slice tests 977s ok 1 /slice/copy 977s ok 2 /slice/chain 977s ok 3 /slice/allocate 977s # End of slice tests 977s ok - glib/slice.test 977s # Running test: glib/gio-tool.py.test 977s TAP version 13 977s ok 1 __main__.TestGioTool.test_help 977s # tmpdir: /tmp/tmpimtdsow_ 977s # gio: /usr/bin/gio 977s # Running: ['/usr/bin/gio', '--help'] 977s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 977s # Output: Usage: 977s # gio COMMAND [ARGS…] 977s # 977s # Commands: 977s # help Print help 977s # version Print version 977s # cat Concatenate files to standard output 977s # copy Copy one or more files 977s # info Show information about locations 977s # launch Launch an application from a desktop file 977s # list List the contents of locations 977s # mime Get or set the handler for a mimetype 977s # mkdir Create directories 977s # monitor Monitor files and directories for changes 977s # mount Mount or unmount the locations 977s # move Move one or more files 977s # open Open files with the default application 977s # rename Rename a file 977s # remove Delete one or more files 977s # save Read from standard input and save 977s # set Set a file attribute 977s # trash Move files or directories to the trash 977s # tree Lists the contents of locations in a tree 977s # 977s # Use “gio help COMMAND†to get detailed help. 977s # Running: ['/usr/bin/gio', 'help'] 977s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 977s # Output: Usage: 977s # gio COMMAND [ARGS…] 977s # 977s # Commands: 977s # help Print help 977s # version Print version 977s # cat Concatenate files to standard output 977s # copy Copy one or more files 977s # info Show information about locations 977s # launch Launch an application from a desktop file 977s # list List the contents of locations 977s # mime Get or set the handler for a mimetype 977s # mkdir Create directories 977s # monitor Monitor files and directories for changes 977s # mount Mount or unmount the locations 977s # move Move one or more files 977s # open Open files with the default application 977s # rename Rename a file 977s # remove Delete one or more files 977s # save Read from standard input and save 977s # set Set a file attribute 977s # trash Move files or directories to the trash 977s # tree Lists the contents of locations in a tree 977s # 977s # Use “gio help COMMAND†to get detailed help. 977s ok 2 __main__.TestGioTool.test_info_non_default_attributes 977s # tmpdir: /tmp/tmp5b7dvfq4 977s # gio: /usr/bin/gio 977s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmp5b7dvfq4/tmpf1i9vhml'] 977s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 977s # Output: uri: file:///tmp/tmp5b7dvfq4/tmpf1i9vhml 977s # local path: /tmp/tmp5b7dvfq4/tmpf1i9vhml 977s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 977s # attributes: 977s # standard::content-type: application/x-zerosize 977s ok 3 __main__.TestGioTool.test_no_args 977s # tmpdir: /tmp/tmpmuksgqyf 977s # gio: /usr/bin/gio 977s # Running: ['/usr/bin/gio'] 977s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 977s 1..3 977s ok - glib/gio-tool.py.test 977s # Running test: glib/tls-certificate.test 977s TAP version 14 977s # random seed: R02Se5b9c39a338530d56201f6fbf0e1ba64 977s 1..19 977s # Start of tls-certificate tests 977s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 977s ok 1 /tls-certificate/pem-parser 977s ok - glib/tls-certificate.test 977s # Running test: glib/static-link.test 977s ok # SKIP - glib/static-link.test 977s # Running test: glib/node.test 977s ok - glib/node.test 977s # Running test: glib/dynamictype.test 977s ok - glib/dynamictype.test 977s # Running test: glib/gdbus-close-pending.test 977s ok 2 /tls-certificate/pem-parser-handles-chain 977s ok 3 /tls-certificate/from_file 977s ok 4 /tls-certificate/from_files 977s ok 5 /tls-certificate/from_files_crlf 977s ok 6 /tls-certificate/from_files_pkcs8 977s ok 7 /tls-certificate/from_files_pkcs8enc 977s ok 8 /tls-certificate/list_from_file 977s ok 9 /tls-certificate/pkcs11-uri 977s ok 10 /tls-certificate/pkcs11-uri-unsupported 977s ok 11 /tls-certificate/from_pkcs12 977s ok 12 /tls-certificate/from_pkcs12_file 977s ok 13 /tls-certificate/not-valid-before 977s ok 14 /tls-certificate/not-valid-after 977s ok 15 /tls-certificate/subject-name 977s ok 16 /tls-certificate/issuer-name 977s ok 17 /tls-certificate/dns-names 977s ok 18 /tls-certificate/ip-addresses 977s ok 19 /tls-certificate/pem-parser-no-sentinel 977s # End of tls-certificate tests 977s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 977s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 977s and make sure you have glib build dependencies installed, including 977s meson. 977s TAP version 14 977s # random seed: R02Sd052bf6a9df1827d817fce815265b869 977s 1..6 977s # Start of node tests 977s ok 1 /node/allocation 977s ok 2 /node/construction 977s ok 3 /node/traversal 977s ok 4 /node/misc 977s ok 5 /node/unlink 977s ok 6 /node/copy 977s # End of node tests 977s TAP version 14 977s # random seed: R02S51db7096443c93dc81fae21c528ef887 977s 1..2 977s # Start of gobject tests 977s ok 1 /gobject/dynamic-type 977s # Start of dynamic-type tests 977s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 977s ok 2 /gobject/dynamic-type/query 977s # End of dynamic-type tests 977s # End of gobject tests 977s TAP version 14 977s # random seed: R02S40f3f9b077bdbdec1d486b87ffb9b43d 977s 1..2 977s # Start of gdbus tests 977s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_DJP6Z2/gdbus/close-pending/.dirs/home 977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_DJP6Z2/gdbus/close-pending/.dirs/cache 977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_DJP6Z2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_DJP6Z2/gdbus/close-pending/.dirs/system-config2 977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_DJP6Z2/gdbus/close-pending/.dirs/config 977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_DJP6Z2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_DJP6Z2/gdbus/close-pending/.dirs/system-data2 977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_DJP6Z2/gdbus/close-pending/.dirs/data 977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_DJP6Z2/gdbus/close-pending/.dirs/state 977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_DJP6Z2/gdbus/close-pending/.dirs/runtime 978s ok 1 /gdbus/close-pending 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_DJP6Z2/gdbus/unref-pending/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_DJP6Z2/gdbus/unref-pending/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_DJP6Z2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_DJP6Z2/gdbus/unref-pending/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_DJP6Z2/gdbus/unref-pending/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_DJP6Z2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_DJP6Z2/gdbus/unref-pending/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_DJP6Z2/gdbus/unref-pending/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_DJP6Z2/gdbus/unref-pending/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_DJP6Z2/gdbus/unref-pending/.dirs/runtime 978s ok 2 /gdbus/unref-pending 978s # End of gdbus tests 978s ok - glib/gdbus-close-pending.test 978s # Running test: glib/gdbus-addresses.test 978s TAP version 14 978s # random seed: R02Sc16def9a6794351b2906316d1ad230ef 978s 1..9 978s # Start of gdbus tests 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/empty-address/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/empty-address/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZOPO02/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZOPO02/gdbus/empty-address/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/empty-address/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZOPO02/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZOPO02/gdbus/empty-address/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/empty-address/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/empty-address/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZOPO02/gdbus/empty-address/.dirs/runtime 978s ok 1 /gdbus/empty-address 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/unsupported-address/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/unsupported-address/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZOPO02/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZOPO02/gdbus/unsupported-address/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/unsupported-address/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZOPO02/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZOPO02/gdbus/unsupported-address/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/unsupported-address/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/unsupported-address/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZOPO02/gdbus/unsupported-address/.dirs/runtime 978s ok 2 /gdbus/unsupported-address 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/address-parsing/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/address-parsing/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZOPO02/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_ZOPO02/gdbus/address-parsing/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/address-parsing/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZOPO02/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_ZOPO02/gdbus/address-parsing/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/address-parsing/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/address-parsing/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZOPO02/gdbus/address-parsing/.dirs/runtime 978s ok 3 /gdbus/address-parsing 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/unix-address/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/unix-address/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZOPO02/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZOPO02/gdbus/unix-address/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/unix-address/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZOPO02/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZOPO02/gdbus/unix-address/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/unix-address/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/unix-address/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZOPO02/gdbus/unix-address/.dirs/runtime 978s ok 4 /gdbus/unix-address 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/nonce-tcp-address/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/nonce-tcp-address/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZOPO02/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZOPO02/gdbus/nonce-tcp-address/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/nonce-tcp-address/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZOPO02/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZOPO02/gdbus/nonce-tcp-address/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/nonce-tcp-address/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/nonce-tcp-address/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZOPO02/gdbus/nonce-tcp-address/.dirs/runtime 978s ok 5 /gdbus/nonce-tcp-address 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/tcp-address/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/tcp-address/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZOPO02/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZOPO02/gdbus/tcp-address/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/tcp-address/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZOPO02/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZOPO02/gdbus/tcp-address/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/tcp-address/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/tcp-address/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZOPO02/gdbus/tcp-address/.dirs/runtime 978s ok 6 /gdbus/tcp-address 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/autolaunch-address/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/autolaunch-address/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZOPO02/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZOPO02/gdbus/autolaunch-address/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/autolaunch-address/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZOPO02/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZOPO02/gdbus/autolaunch-address/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/autolaunch-address/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/autolaunch-address/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZOPO02/gdbus/autolaunch-address/.dirs/runtime 978s ok 7 /gdbus/autolaunch-address 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/mixed-address/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/mixed-address/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZOPO02/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZOPO02/gdbus/mixed-address/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/mixed-address/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZOPO02/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZOPO02/gdbus/mixed-address/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/mixed-address/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/mixed-address/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZOPO02/gdbus/mixed-address/.dirs/runtime 978s ok 8 /gdbus/mixed-address 978s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/escape-address/.dirs/home 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/escape-address/.dirs/cache 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_ZOPO02/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_ZOPO02/gdbus/escape-address/.dirs/system-config2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/escape-address/.dirs/config 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_ZOPO02/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_ZOPO02/gdbus/escape-address/.dirs/system-data2 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/escape-address/.dirs/data 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_ZOPO02/gdbus/escape-address/.dirs/state 978s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_ZOPO02/gdbus/escape-address/.dirs/runtime 978s ok 9 /gdbus/escape-address 978s # End of gdbus tests 978s TAP version 14 978s # random seed: R02S3e5b54b182ebe4b598b5d4e41f3586fb 978s ok - glib/gdbus-addresses.test 978s # Running test: glib/objects-refcount2.test 978s 1..1 978s # Start of gobject tests 978s # Start of refcount tests 978s # init 0x588cea17d740 978s # 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 978s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 979s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s # . 980s ok - glib/objects-refcount2.test 980s # . 980s # dispose 0x588cea17d740! 980s # 980s ok 1 /gobject/refcount/object-advanced 980s # slow test /gobject/refcount/object-advanced executed in 2.15 secs 980s # End of refcount tests 980s # End of gobject tests 980s # Running test: glib/data-input-stream.test 980s TAP version 14 980s # random seed: R02Sd5f6bc9b119ead18b5fe38f50684fb8b 980s 1..10 980s # Start of data-input-stream tests 980s ok 1 /data-input-stream/basic 980s ok 2 /data-input-stream/read-lines-LF 980s ok 3 /data-input-stream/read-lines-LF-valid-utf8 980s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 980s ok 5 /data-input-stream/read-lines-CR 980s ok 6 /data-input-stream/read-lines-CR-LF 980s ok 7 /data-input-stream/read-lines-any 980s ok 8 /data-input-stream/read-until 980s ok 9 /data-input-stream/read-upto 980s ok 10 /data-input-stream/read-int 980s # End of data-input-stream tests 980s ok - glib/data-input-stream.test 980s # Running test: glib/utf8-validate.test 980s ok - glib/utf8-validate.test 980s TAP version 14 980s # random seed: R02Scbc1f0598a5e6e2de99fe080c4dfe3be 980s 1..216 980s # Start of utf8 tests 980s # Vector 0 980s # Vector 1 980s # Vector 2 980s # Vector 3 980s # Vector 4 980s # Vector 5 980s # Vector 6 980s # Vector 7 980s # Vector 8 980s # Vector 9 980s # Vector 10 980s # Vector 11 980s # Vector 12 980s # Vector 13 980s # Vector 14 980s # Vector 15 980s # Vector 16 980s # Vector 17 980s # Vector 18 980s # Vector 19 980s # Vector 20 980s # Vector 21 980s # Vector 22 980s # Vector 23 980s # Vector 24 980s # Vector 25 980s # Vector 26 980s # Vector 27 980s ok 1 /utf8/get-char-validated 980s # Start of validate tests 980s ok 2 /utf8/validate/0 980s ok 3 /utf8/validate/1 980s ok 4 /utf8/validate/2 980s ok 5 /utf8/validate/3 980s ok 6 /utf8/validate/4 980s ok 7 /utf8/validate/5 980s ok 8 /utf8/validate/6 980s ok 9 /utf8/validate/7 980s ok 10 /utf8/validate/8 980s ok 11 /utf8/validate/9 980s ok 12 /utf8/validate/10 980s ok 13 /utf8/validate/11 980s ok 14 /utf8/validate/12 980s ok 15 /utf8/validate/13 980s ok 16 /utf8/validate/14 980s ok 17 /utf8/validate/15 980s ok 18 /utf8/validate/16 980s ok 19 /utf8/validate/17 980s ok 20 /utf8/validate/18 980s ok 21 /utf8/validate/19 980s ok 22 /utf8/validate/20 980s ok 23 /utf8/validate/21 980s ok 24 /utf8/validate/22 980s ok 25 /utf8/validate/23 980s ok 26 /utf8/validate/24 980s ok 27 /utf8/validate/25 980s ok 28 /utf8/validate/26 980s ok 29 /utf8/validate/27 980s ok 30 /utf8/validate/28 980s ok 31 /utf8/validate/29 980s ok 32 /utf8/validate/30 980s ok 33 /utf8/validate/31 980s ok 34 /utf8/validate/32 980s ok 35 /utf8/validate/33 980s ok 36 /utf8/validate/34 980s ok 37 /utf8/validate/35 980s ok 38 /utf8/validate/36 980s ok 39 /utf8/validate/37 980s ok 40 /utf8/validate/38 980s ok 41 /utf8/validate/39 980s ok 42 /utf8/validate/40 980s ok 43 /utf8/validate/41 980s ok 44 /utf8/validate/42 980s ok 45 /utf8/validate/43 980s ok 46 /utf8/validate/44 980s ok 47 /utf8/validate/45 980s ok 48 /utf8/validate/46 980s ok 49 /utf8/validate/47 980s ok 50 /utf8/validate/48 980s ok 51 /utf8/validate/49 980s ok 52 /utf8/validate/50 980s ok 53 /utf8/validate/51 980s ok 54 /utf8/validate/52 980s ok 55 /utf8/validate/53 980s ok 56 /utf8/validate/54 980s ok 57 /utf8/validate/55 980s ok 58 /utf8/validate/56 980s ok 59 /utf8/validate/57 980s ok 60 /utf8/validate/58 980s ok 61 /utf8/validate/59 980s ok 62 /utf8/validate/60 980s ok 63 /utf8/validate/61 980s ok 64 /utf8/validate/62 980s ok 65 /utf8/validate/63 980s ok 66 /utf8/validate/64 980s ok 67 /utf8/validate/65 980s ok 68 /utf8/validate/66 980s ok 69 /utf8/validate/67 980s ok 70 /utf8/validate/68 980s ok 71 /utf8/validate/69 980s ok 72 /utf8/validate/70 980s ok 73 /utf8/validate/71 980s ok 74 /utf8/validate/72 980s ok 75 /utf8/validate/73 980s ok 76 /utf8/validate/74 980s ok 77 /utf8/validate/75 980s ok 78 /utf8/validate/76 980s ok 79 /utf8/validate/77 980s ok 80 /utf8/validate/78 980s ok 81 /utf8/validate/79 980s ok 82 /utf8/validate/80 980s ok 83 /utf8/validate/81 980s ok 84 /utf8/validate/82 980s ok 85 /utf8/validate/83 980s ok 86 /utf8/validate/84 980s ok 87 /utf8/validate/85 980s ok 88 /utf8/validate/86 980s ok 89 /utf8/validate/87 980s ok 90 /utf8/validate/88 980s ok 91 /utf8/validate/89 980s ok 92 /utf8/validate/90 980s ok 93 /utf8/validate/91 980s ok 94 /utf8/validate/92 980s ok 95 /utf8/validate/93 980s ok 96 /utf8/validate/94 980s ok 97 /utf8/validate/95 980s ok 98 /utf8/validate/96 980s ok 99 /utf8/validate/97 980s ok 100 /utf8/validate/98 980s ok 101 /utf8/validate/99 980s ok 102 /utf8/validate/100 980s ok 103 /utf8/validate/101 980s ok 104 /utf8/validate/102 980s ok 105 /utf8/validate/103 980s ok 106 /utf8/validate/104 980s ok 107 /utf8/validate/105 980s ok 108 /utf8/validate/106 980s ok 109 /utf8/validate/107 980s ok 110 /utf8/validate/108 980s ok 111 /utf8/validate/109 980s ok 112 /utf8/validate/110 980s ok 113 /utf8/validate/111 980s ok 114 /utf8/validate/112 980s ok 115 /utf8/validate/113 980s ok 116 /utf8/validate/114 980s ok 117 /utf8/validate/115 980s ok 118 /utf8/validate/116 980s ok 119 /utf8/validate/117 980s ok 120 /utf8/validate/118 980s ok 121 /utf8/validate/119 980s ok 122 /utf8/validate/120 980s ok 123 /utf8/validate/121 980s ok 124 /utf8/validate/122 980s ok 125 /utf8/validate/123 980s ok 126 /utf8/validate/124 980s ok 127 /utf8/validate/125 980s ok 128 /utf8/validate/126 980s ok 129 /utf8/validate/127 980s ok 130 /utf8/validate/128 980s ok 131 /utf8/validate/129 980s ok 132 /utf8/validate/130 980s ok 133 /utf8/validate/131 980s ok 134 /utf8/validate/132 980s ok 135 /utf8/validate/133 980s ok 136 /utf8/validate/134 980s ok 137 /utf8/validate/135 980s ok 138 /utf8/validate/136 980s ok 139 /utf8/validate/137 980s ok 140 /utf8/validate/138 980s ok 141 /utf8/validate/139 980s ok 142 /utf8/validate/140 980s ok 143 /utf8/validate/141 980s ok 144 /utf8/validate/142 980s ok 145 /utf8/validate/143 980s ok 146 /utf8/validate/144 980s ok 147 /utf8/validate/145 980s ok 148 /utf8/validate/146 980s ok 149 /utf8/validate/147 980s ok 150 /utf8/validate/148 980s ok 151 /utf8/validate/149 980s ok 152 /utf8/validate/150 980s ok 153 /utf8/validate/151 980s ok 154 /utf8/validate/152 980s ok 155 /utf8/validate/153 980s ok 156 /utf8/validate/154 980s ok 157 /utf8/validate/155 980s ok 158 /utf8/validate/156 980s ok 159 /utf8/validate/157 980s ok 160 /utf8/validate/158 980s ok 161 /utf8/validate/159 980s ok 162 /utf8/validate/160 980s ok 163 /utf8/validate/161 980s ok 164 /utf8/validate/162 980s ok 165 /utf8/validate/163 980s ok 166 /utf8/validate/164 980s ok 167 /utf8/validate/165 980s ok 168 /utf8/validate/166 980s ok 169 /utf8/validate/167 980s ok 170 /utf8/validate/168 980s ok 171 /utf8/validate/169 980s ok 172 /utf8/validate/170 980s ok 173 /utf8/validate/171 980s ok 174 /utf8/validate/172 980s ok 175 /utf8/validate/173 980s ok 176 /utf8/validate/174 980s ok 177 /utf8/validate/175 980s ok 178 /utf8/validate/176 980s ok 179 /utf8/validate/177 980s ok 180 /utf8/validate/178 980s ok 181 /utf8/validate/179 980s ok 182 /utf8/validate/180 980s ok 183 /utf8/validate/181 980s ok 184 /utf8/validate/182 980s ok 185 /utf8/validate/183 980s ok 186 /utf8/validate/184 980s ok 187 /utf8/validate/185 980s ok 188 /utf8/validate/186 980s ok 189 /utf8/validate/187 980s ok 190 /utf8/validate/188 980s ok 191 /utf8/validate/189 980s ok 192 /utf8/validate/190 980s ok 193 /utf8/validate/191 980s ok 194 /utf8/validate/192 980s ok 195 /utf8/validate/193 980s ok 196 /utf8/validate/194 980s ok 197 /utf8/validate/195 980s ok 198 /utf8/validate/196 980s ok 199 /utf8/validate/197 980s ok 200 /utf8/validate/198 980s ok 201 /utf8/validate/199 980s ok 202 /utf8/validate/200 980s ok 203 /utf8/validate/201 980s ok 204 /utf8/validate/202 980s ok 205 /utf8/validate/203 980s ok 206 /utf8/validate/204 980s ok 207 /utf8/validate/205 980s ok 208 /utf8/validate/206 980s ok 209 /utf8/validate/207 980s ok 210 /utf8/validate/208 980s ok 211 /utf8/validate/209 980s ok 212 /utf8/validate/210 980s ok 213 /utf8/validate/211 980s ok 214 /utf8/validate/212 980s ok 215 /utf8/validate/213 980s ok 216 /utf8/validate/214 980s # End of validate tests 980s # End of utf8 tests 980s # Running test: glib/registered-type-info.test 980s TAP version 14 980s # random seed: R02S02157c54c16da42c02a68b95fde80c4c 980s 1..1 980s # Start of registered-type-info tests 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_OII7Z2/registered-type-info/boxed/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_OII7Z2/registered-type-info/boxed/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_OII7Z2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_OII7Z2/registered-type-info/boxed/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_OII7Z2/registered-type-info/boxed/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_OII7Z2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_OII7Z2/registered-type-info/boxed/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_OII7Z2/registered-type-info/boxed/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_OII7Z2/registered-type-info/boxed/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_OII7Z2/registered-type-info/boxed/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 980s # Expecting CClosure to not be boxed 980s # Expecting TypeCValue to not be boxed 980s # Expecting InitiallyUnownedClass to not be boxed 980s # Expecting BookmarkFile to be boxed 980s # Expecting Closure to be boxed 980s # Expecting Object to not be boxed 980s ok 1 /registered-type-info/boxed 980s # End of registered-type-info tests 980s ok - glib/registered-type-info.test 980s # Running test: glib/gdbus-test-codegen.test 980s TAP version 14 980s # random seed: R02S6a68b4b41a42e6ed3c8d3c4c5a9dfb20 980s 1..8 980s # Start of gdbus tests 980s # Start of codegen tests 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/annotations/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/annotations/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/annotations/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/annotations/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/annotations/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/annotations/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/annotations/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/annotations/.dirs/runtime 980s ok 1 /gdbus/codegen/annotations 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/interface_stability/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/interface_stability/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/interface_stability/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/interface_stability/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/interface_stability/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/interface_stability/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/interface_stability/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/interface_stability/.dirs/runtime 980s ok 2 /gdbus/codegen/interface_stability 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/object-manager/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/object-manager/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/object-manager/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/object-manager/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/object-manager/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/object-manager/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/object-manager/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/object-manager/.dirs/runtime 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s ok 3 /gdbus/codegen/object-manager 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/property-naming/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/property-naming/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/property-naming/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/property-naming/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/property-naming/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/property-naming/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/property-naming/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/property-naming/.dirs/runtime 980s ok 4 /gdbus/codegen/property-naming 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/autocleanups/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/autocleanups/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/autocleanups/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/autocleanups/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/autocleanups/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/autocleanups/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/autocleanups/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/autocleanups/.dirs/runtime 980s ok 5 /gdbus/codegen/autocleanups 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/deprecations/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/deprecations/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/deprecations/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/deprecations/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/deprecations/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/deprecations/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/deprecations/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/deprecations/.dirs/runtime 980s ok 6 /gdbus/codegen/deprecations 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/standalone-interface-info/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/standalone-interface-info/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/standalone-interface-info/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/standalone-interface-info/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/standalone-interface-info/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/standalone-interface-info/.dirs/runtime 980s ok 7 /gdbus/codegen/standalone-interface-info 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/unix-fd-list/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/unix-fd-list/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/unix-fd-list/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/unix-fd-list/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/unix-fd-list/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/unix-fd-list/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/unix-fd-list/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_JRG7Z2/gdbus/codegen/unix-fd-list/.dirs/runtime 980s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 980s ok 8 /gdbus/codegen/unix-fd-list 980s # End of codegen tests 980s # End of gdbus tests 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 980s ok - glib/gdbus-test-codegen.test 980s # Running test: glib/thread-pool.test 980s TAP version 14 980s # random seed: R02S70a3e83cf08ce390435d0afae02fcef3 980s 1..5 980s # Start of thread_pool tests 980s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 980s ok 1 /thread_pool/shared 980s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 980s ok 2 /thread_pool/exclusive 980s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 980s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 980s ok 3 /thread_pool/create_shared_after_exclusive 980s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 980s ok 4 /thread_pool/create_full 980s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 980s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 980s ok - glib/thread-pool.test 980s # Running test: glib/mount-operation.test 980s ok 5 /thread_pool/create_exclusive_after_shared 980s # End of thread_pool tests 980s TAP version 14 980s ok - glib/mount-operation.test 980s # random seed: R02Sc2f99529b958c516743ca444e6105302 980s 1..2 980s # Start of mount-operation tests 980s ok 1 /mount-operation/construction 980s ok 2 /mount-operation/properties 980s # End of mount-operation tests 980s # Running test: glib/list.test 980s TAP version 14 980s # random seed: R02S01eece79cf0b1a652e4fae5720abfd26 980s 1..20 980s # Start of list tests 980s ok 1 /list/sort 980s ok 2 /list/sort-with-data 980s ok 3 /list/insert-before-link 980s ok 4 /list/insert-sorted 980s ok 5 /list/insert-sorted-with-data 980s ok 6 /list/reverse 980s ok 7 /list/nth 980s ok 8 /list/concat 980s ok 9 /list/remove 980s ok 10 /list/remove-all 980s ok 11 /list/first-last 980s ok 12 /list/insert 980s ok 13 /list/free-full 980s ok 14 /list/copy 980s ok 15 /list/copy-deep 980s ok 16 /list/delete-link 980s ok 17 /list/prepend 980s ok 18 /list/position 980s ok - glib/list.test 980s ok 19 /list/double-free 980s # Start of sort tests 980s ok 20 /list/sort/stable 980s # End of sort tests 980s # End of list tests 980s # Running test: glib/repository.test 980s TAP version 14 980s # random seed: R02S7519a9600587319a6f3546ec2f02925a 980s 1..23 980s # Start of repository tests 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/basic/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/basic/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/basic/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/basic/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/basic/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/basic/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/basic/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/basic/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/basic/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/basic/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 980s ok 1 /repository/basic 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/info/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/info/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/info/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/info/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/info/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/info/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/info/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/info/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/info/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/info/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/info summary: Test retrieving some basic info blobs from a typelib 980s ok 2 /repository/info 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/dependencies/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/dependencies/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/dependencies/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/dependencies/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/dependencies/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/dependencies/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/dependencies/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/dependencies/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 980s ok 3 /repository/dependencies 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/arg-info/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/arg-info/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/arg-info/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/arg-info/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/arg-info/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/arg-info/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/arg-info/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/arg-info/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 980s ok 4 /repository/arg-info 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/callable-info/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/callable-info/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/callable-info/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/callable-info/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/callable-info/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/callable-info/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/callable-info/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/callable-info/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 980s ok 5 /repository/callable-info 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/callback-info/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/callback-info/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/callback-info/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/callback-info/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/callback-info/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/callback-info/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/callback-info/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/callback-info/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 980s ok 6 /repository/callback-info 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/char-types/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/char-types/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/char-types/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/char-types/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/char-types/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/char-types/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/char-types/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/char-types/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/char-types/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/char-types/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 980s ok 7 /repository/char-types 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/constructor-return-type/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/constructor-return-type/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/constructor-return-type/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/constructor-return-type/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/constructor-return-type/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/constructor-return-type/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/constructor-return-type/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/constructor-return-type/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 980s ok 8 /repository/constructor-return-type 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/enum-info-c-identifier/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/enum-info-c-identifier/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/enum-info-c-identifier/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/enum-info-c-identifier/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/enum-info-c-identifier/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/enum-info-c-identifier/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/enum-info-c-identifier/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/enum-info-c-identifier/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 980s ok 9 /repository/enum-info-c-identifier 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/enum-info-static-methods/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/enum-info-static-methods/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/enum-info-static-methods/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/enum-info-static-methods/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/enum-info-static-methods/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/enum-info-static-methods/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/enum-info-static-methods/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/enum-info-static-methods/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/enum-info-static-methods summary: Test an enum with methods 980s ok 10 /repository/enum-info-static-methods 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/error-quark/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/error-quark/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/error-quark/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/error-quark/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/error-quark/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/error-quark/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/error-quark/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/error-quark/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/error-quark summary: Test finding an error quark by error domain 980s ok 11 /repository/error-quark 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/flags-info-c-identifier/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/flags-info-c-identifier/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/flags-info-c-identifier/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/flags-info-c-identifier/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/flags-info-c-identifier/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/flags-info-c-identifier/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/flags-info-c-identifier/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/flags-info-c-identifier/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 980s ok 12 /repository/flags-info-c-identifier 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/fundamental-ref-func/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/fundamental-ref-func/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/fundamental-ref-func/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/fundamental-ref-func/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/fundamental-ref-func/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/fundamental-ref-func/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/fundamental-ref-func/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/fundamental-ref-func/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 980s ok 13 /repository/fundamental-ref-func 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/instance-method-ownership-transfer/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/instance-method-ownership-transfer/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/instance-method-ownership-transfer/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/instance-method-ownership-transfer/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/instance-method-ownership-transfer/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/instance-method-ownership-transfer/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/instance-method-ownership-transfer/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/instance-method-ownership-transfer/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 980s ok 14 /repository/instance-method-ownership-transfer 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/object-gtype-interfaces/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/object-gtype-interfaces/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/object-gtype-interfaces/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/object-gtype-interfaces/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/object-gtype-interfaces/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/object-gtype-interfaces/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/object-gtype-interfaces/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/object-gtype-interfaces/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 980s ok 15 /repository/object-gtype-interfaces 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/signal-info-with-array-length-arg/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/signal-info-with-array-length-arg/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/signal-info-with-array-length-arg/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/signal-info-with-array-length-arg/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/signal-info-with-array-length-arg/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/signal-info-with-array-length-arg/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/signal-info-with-array-length-arg/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/signal-info-with-array-length-arg/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 980s ok 16 /repository/signal-info-with-array-length-arg 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/type-info-name/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/type-info-name/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/type-info-name/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/type-info-name/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/type-info-name/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/type-info-name/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/type-info-name/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/type-info-name/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 980s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 980s ok 17 /repository/type-info-name 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-no-invoker/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-no-invoker/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-no-invoker/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-no-invoker/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-no-invoker/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-no-invoker/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 980s ok 18 /repository/vfunc-info-with-no-invoker 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 980s ok 19 /repository/vfunc-info-with-invoker-on-interface 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-invoker-on-object/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-invoker-on-object/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-invoker-on-object/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-invoker-on-object/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 980s ok 20 /repository/vfunc-info-with-invoker-on-object 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/find-by-gtype/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/find-by-gtype/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/find-by-gtype/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/find-by-gtype/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/find-by-gtype/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/find-by-gtype/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/find-by-gtype/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/find-by-gtype/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s ok - glib/repository.test 980s # Running test: glib/queue.test 980s # /repository/find-by-gtype summary: Test finding a GType 980s ok 21 /repository/find-by-gtype 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/loaded-namespaces/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/loaded-namespaces/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/loaded-namespaces/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/loaded-namespaces/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/loaded-namespaces/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/loaded-namespaces/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/loaded-namespaces/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/loaded-namespaces/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/loaded-namespaces summary: Test listing loaded namespaces 980s ok 22 /repository/loaded-namespaces 980s # Start of base-info tests 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_74T8Z2/repository/base-info/clear/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_74T8Z2/repository/base-info/clear/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_74T8Z2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_74T8Z2/repository/base-info/clear/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_74T8Z2/repository/base-info/clear/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_74T8Z2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_74T8Z2/repository/base-info/clear/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_74T8Z2/repository/base-info/clear/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_74T8Z2/repository/base-info/clear/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_74T8Z2/repository/base-info/clear/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 980s ok 23 /repository/base-info/clear 980s # End of base-info tests 980s # End of repository tests 980s TAP version 14 980s # random seed: R02S637c78c9fd0f254596bd9782bd66fe8f 980s 1..12 980s # Start of queue tests 980s ok 1 /queue/basic 980s ok 2 /queue/copy 980s ok 3 /queue/off-by-one 980s ok 4 /queue/find-custom 980s ok 5 /queue/static 980s ok 6 /queue/clear 980s ok 7 /queue/free-full 980s ok 8 /queue/clear-full 980s ok 9 /queue/insert-sibling-link 980s ok 10 /queue/push-nth-link 980s # Start of clear-full tests 980s ok 11 /queue/clear-full/noop 980s # End of clear-full tests 980s # Start of random tests 980s ok 12 /queue/random/seed:935787207 980s # End of random tests 980s # End of queue tests 980s ok - glib/queue.test 980s # Running test: glib/filter-streams.test 980s TAP version 14 980s # random seed: R02S1d5f6e5d6b1d7588e2e467be9f711452 980s 1..4 980s # Start of filter-stream tests 980s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 980s ok 1 /filter-stream/input 980s ok 2 /filter-stream/output 980s ok 3 /filter-stream/async-input 980s ok 4 /filter-stream/async-output 980s # End of filter-stream tests 980s ok - glib/filter-streams.test 980s # Running test: glib/macros-c-89.test 980s TAP version 14 980s # random seed: R02S46a8e1ac0aafc794d5c3e469ca665b6d 980s 1..4 980s # Start of C tests 980s ok 1 /C/standard-89 980s # End of C tests 980s # Start of alignof tests 980s ok 2 /alignof/fallback 980s # End of alignof tests 980s # Start of assert tests 980s ok 3 /assert/static 980s # End of assert tests 980s # Start of struct tests 980s ok 4 /struct/sizeof_member 980s # End of struct tests 980s ok - glib/macros-c-89.test 980s # Running test: glib/union-info.test 980s TAP version 14 980s # random seed: R02S96f4a38ddede11d96852f7c814e01630 980s 1..2 980s # Start of union-info tests 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_WWED02/union-info/basic/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_WWED02/union-info/basic/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_WWED02/union-info/basic/.dirs/system-config1:/tmp/test_union-info_WWED02/union-info/basic/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_WWED02/union-info/basic/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_WWED02/union-info/basic/.dirs/system-data1:/tmp/test_union-info_WWED02/union-info/basic/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_WWED02/union-info/basic/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_WWED02/union-info/basic/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_WWED02/union-info/basic/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /union-info/basic summary: Test basic properties of GIUnionInfo 980s ok 1 /union-info/basic 980s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_WWED02/union-info/methods/.dirs/home 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_WWED02/union-info/methods/.dirs/cache 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_WWED02/union-info/methods/.dirs/system-config1:/tmp/test_union-info_WWED02/union-info/methods/.dirs/system-config2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_WWED02/union-info/methods/.dirs/config 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_WWED02/union-info/methods/.dirs/system-data1:/tmp/test_union-info_WWED02/union-info/methods/.dirs/system-data2 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_WWED02/union-info/methods/.dirs/data 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_WWED02/union-info/methods/.dirs/state 980s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_WWED02/union-info/methods/.dirs/runtime 980s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 980s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 980s ok 2 /union-info/methods 980s # End of union-info tests 980s ok - glib/union-info.test 980s # Running test: glib/threadtests.test 980s TAP version 14 980s # random seed: R02S941c972e7c6194152371a9afc66bf0e7 980s 1..5 980s # Start of GObject tests 980s ok 1 /GObject/threaded-object-init 981s # Executing: glib/threadtests.test 981s ok 2 /GObject/threaded-weak-ref 981s # slow test /GObject/threaded-weak-ref executed in 0.83 secs 981s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 981s # /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 981s ok 3 /GObject/threaded-toggle-notify 981s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 981s # Start of threaded-weak-ref tests 981s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 981s # /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. 981s ok 5 /GObject/threaded-weak-ref/on-finalization 981s # End of threaded-weak-ref tests 981s # End of GObject tests 981s ok - glib/threadtests.test 981s # Running test: glib/struct-info.test 981s TAP version 14 981s # random seed: R02S9fa24d20987657a6304a3f2f422dac5d 981s 1..4 981s # Start of struct-info tests 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_88NA02/struct-info/field-iterators/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_88NA02/struct-info/field-iterators/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_88NA02/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_88NA02/struct-info/field-iterators/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_88NA02/struct-info/field-iterators/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_88NA02/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_88NA02/struct-info/field-iterators/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_88NA02/struct-info/field-iterators/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_88NA02/struct-info/field-iterators/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_88NA02/struct-info/field-iterators/.dirs/runtime 981s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 981s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 981s ok 1 /struct-info/field-iterators 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_88NA02/struct-info/sizeof-gvalue/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_88NA02/struct-info/sizeof-gvalue/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_88NA02/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_88NA02/struct-info/sizeof-gvalue/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_88NA02/struct-info/sizeof-gvalue/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_88NA02/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_88NA02/struct-info/sizeof-gvalue/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_88NA02/struct-info/sizeof-gvalue/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_88NA02/struct-info/sizeof-gvalue/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_88NA02/struct-info/sizeof-gvalue/.dirs/runtime 981s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 981s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 981s ok 2 /struct-info/sizeof-gvalue 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_88NA02/struct-info/is-pointer-for-struct-method-arg/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_88NA02/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_88NA02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_88NA02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_88NA02/struct-info/is-pointer-for-struct-method-arg/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_88NA02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_88NA02/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_88NA02/struct-info/is-pointer-for-struct-method-arg/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_88NA02/struct-info/is-pointer-for-struct-method-arg/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_88NA02/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 981s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 981s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 981s ok 3 /struct-info/is-pointer-for-struct-method-arg 981s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_88NA02/struct-info/boxed/.dirs/home 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_88NA02/struct-info/boxed/.dirs/cache 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_88NA02/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_88NA02/struct-info/boxed/.dirs/system-config2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_88NA02/struct-info/boxed/.dirs/config 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_88NA02/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_88NA02/struct-info/boxed/.dirs/system-data2 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_88NA02/struct-info/boxed/.dirs/data 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_88NA02/struct-info/boxed/.dirs/state 981s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_88NA02/struct-info/boxed/.dirs/runtime 981s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 981s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 981s ok 4 /struct-info/boxed 981s # End of struct-info tests 981s ok - glib/struct-info.test 981s # Running test: glib/simple-proxy.test 981s TAP version 14 981s # random seed: R02S020270c81febe475af2281a6b3e00693 981s 1..3 981s # Start of static-proxy tests 981s ok 1 /static-proxy/uri 981s ok 2 /static-proxy/socks 981s ok 3 /static-proxy/ignore 981s # End of static-proxy tests 981s ok - glib/simple-proxy.test 981s # Running test: glib/slist.test 981s TAP version 14 981s # random seed: R02S39d5e0b821e3be2655566121fe5479b2 981s 1..14 981s # Start of slist tests 981s ok 1 /slist/sort 981s ok 2 /slist/sort-with-data 981s ok 3 /slist/insert-sorted 981s ok 4 /slist/insert-sorted-with-data 981s ok 5 /slist/reverse 981s ok 6 /slist/nth 981s ok 7 /slist/remove 981s ok 8 /slist/remove-all 981s ok 9 /slist/insert 981s ok 10 /slist/position 981s ok 11 /slist/concat 981s ok 12 /slist/copy 981s # Start of sort tests 981s ok 13 /slist/sort/stable 981s # End of sort tests 981s # Start of copy tests 981s ok 14 /slist/copy/deep 981s # End of copy tests 981s # End of slist tests 981s ok - glib/slist.test 981s # Running test: glib/tls-bindings.test 981s TAP version 14 982s ok - glib/tls-bindings.test 982s # Running test: glib/signal-handler.test 982s ok - glib/signal-handler.test 982s # Running test: glib/atomic.test 982s # random seed: R02S0f3b6b9c0cb090812edec1897cbc77a4 982s 1..2 982s # Start of tls-connection tests 982s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 982s ok 1 /tls-connection/get-tls-channel-binding 982s ok 2 /tls-connection/get-dtls-channel-binding 982s # End of tls-connection tests 982s TAP version 14 982s # random seed: R02S284287fc3f5a3cc4aa120fea0ce05626 982s 1..7 982s # Start of signal tests 982s # Start of handler tests 982s # min perf: connected 1 handlers in 0.000 seconds 982s ok 1 /signal/handler/connect-many 982s # min perf: disconnected 1 handlers in 0.000 seconds 982s ok 2 /signal/handler/disconnect-many-ordered 982s # min perf: disconnected 1 handlers in 0.000 seconds 982s ok 3 /signal/handler/disconnect-many-inverse 982s # min perf: disconnected 1 handlers in 0.000 seconds 982s ok 4 /signal/handler/disconnect-many-random 982s # min perf: disconnected 1 handlers in 0.000 seconds 982s ok 5 /signal/handler/disconnect-2-signals 982s # min perf: disconnected 1 handlers in 0.000 seconds 982s ok 6 /signal/handler/disconnect-2-objects 982s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 982s ok 7 /signal/handler/block-many 982s # End of handler tests 982s # End of signal tests 982s TAP version 14 982s # random seed: R02Sc5faf17396322cde7aff7ba53b9c06bb 982s 1..2 982s # Start of atomic tests 982s ok 1 /atomic/types 982s ok 2 /atomic/threaded 982s # End of atomic tests 982s ok - glib/atomic.test 982s # Running test: glib/gdbus-connection-slow.test 982s TAP version 14 982s # random seed: R02S460036625b2e7a388655de880228a8d1 982s 1..2 982s # Start of gdbus tests 982s # Start of connection tests 982s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_SYGK02/gdbus/connection/flush/.dirs/home 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_SYGK02/gdbus/connection/flush/.dirs/cache 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_SYGK02/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_SYGK02/gdbus/connection/flush/.dirs/system-config2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_SYGK02/gdbus/connection/flush/.dirs/config 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_SYGK02/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_SYGK02/gdbus/connection/flush/.dirs/system-data2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_SYGK02/gdbus/connection/flush/.dirs/data 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_SYGK02/gdbus/connection/flush/.dirs/state 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_SYGK02/gdbus/connection/flush/.dirs/runtime 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s ok 1 /gdbus/connection/flush 982s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_SYGK02/gdbus/connection/large_message/.dirs/home 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_SYGK02/gdbus/connection/large_message/.dirs/cache 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_SYGK02/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_SYGK02/gdbus/connection/large_message/.dirs/system-config2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_SYGK02/gdbus/connection/large_message/.dirs/config 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_SYGK02/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_SYGK02/gdbus/connection/large_message/.dirs/system-data2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_SYGK02/gdbus/connection/large_message/.dirs/data 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_SYGK02/gdbus/connection/large_message/.dirs/state 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_SYGK02/gdbus/connection/large_message/.dirs/runtime 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s ok 2 /gdbus/connection/large_message 982s # End of connection tests 982s # End of gdbus tests 982s ok - glib/gdbus-connection-slow.test 982s # Running test: glib/cxx-14.test 982s TAP version 14 982s # random seed: R02S90b8b3142839c94417f04e446e630c5c 982s 1..2 982s # Start of gtask tests 982s # 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. 982s ok 1 /gtask/name 982s # Start of name tests 982s # 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. 982s ok 2 /gtask/name/macro-wrapper 982s # End of name tests 982s # End of gtask tests 982s ok - glib/cxx-14.test 982s # Running test: glib/cxx-98.test 982s TAP version 14 982s # random seed: R02Sb892edc1f71b967d8ff16895f076e0e4 982s 1..2 982s # Start of gtask tests 982s # 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. 982s ok 1 /gtask/name 982s # Start of name tests 982s # 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. 982s ok 2 /gtask/name/macro-wrapper 982s # End of name tests 982s # End of gtask tests 982s ok - glib/cxx-98.test 982s # Running test: glib/accumulator.test 982s TAP version 14 982s # random seed: R02Sc4e00231539ff94330808308ada4e893 982s 1..1 982s # Start of gobject tests 982s ok 1 /gobject/accumulator 982s # End of gobject tests 982s ok - glib/accumulator.test 982s # Running test: glib/properties-introspection.test 982s TAP version 14 982s # random seed: R02Sa5def56909d42c40e891e4a5e602b001 982s 1..2 982s # Start of properties tests 982s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 982s ok 1 /properties/introspection 982s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 982s ok - glib/properties-introspection.test 982s ok 2 /properties/collision 982s # End of properties tests 982s # Running test: glib/async-splice-output-stream.test 982s TAP version 14 982s # random seed: R02S89591db54c8e4ba319e2fe5687e524fd 982s 1..5 982s # Start of async-splice tests 982s ok 1 /async-splice/copy-chunks 982s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 982s ok 2 /async-splice/copy-chunks-threaded-input 982s ok 3 /async-splice/copy-chunks-threaded-output 982s ok 4 /async-splice/copy-chunks-threaded 982s ok 5 /async-splice/cancelled 982s # End of async-splice tests 982s ok - glib/async-splice-output-stream.test 982s # Running test: glib/autoptr.test 982s TAP version 14 982s # random seed: R02S0de91c9bbaa4ff1e9669a3ef5dcea6a9 982s 1..6 982s # Start of autoptr tests 982s ok 1 /autoptr/autoptr 982s ok 2 /autoptr/autoptr_steal 982s ok 3 /autoptr/autolist 982s ok 4 /autoptr/autoslist 982s ok 5 /autoptr/autoqueue 982s ok 6 /autoptr/autoclass 982s # End of autoptr tests 982s ok - glib/autoptr.test 982s # Running test: glib/gdbus-non-socket.test 982s TAP version 14 982s # random seed: R02Se4fd187419693649521778784611cf30 982s 1..1 982s # Start of gdbus tests 982s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_6FHD02/gdbus/non-socket/.dirs/home 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_6FHD02/gdbus/non-socket/.dirs/cache 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_6FHD02/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_6FHD02/gdbus/non-socket/.dirs/system-config2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_6FHD02/gdbus/non-socket/.dirs/config 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_6FHD02/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_6FHD02/gdbus/non-socket/.dirs/system-data2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_6FHD02/gdbus/non-socket/.dirs/data 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_6FHD02/gdbus/non-socket/.dirs/state 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_6FHD02/gdbus/non-socket/.dirs/runtime 982s ok 1 /gdbus/non-socket 982s ok - glib/gdbus-non-socket.test 982s # Running test: glib/strvbuilder.test 982s ok - glib/strvbuilder.test 982s # Running test: glib/cxx.test 982s ok - glib/cxx.test 982s # Running test: glib/signals-refcount2.test 982s # End of gdbus tests 982s TAP version 14 982s # random seed: R02S6a314d04af8239a17102d3473eea4b75 982s 1..7 982s # Start of strvbuilder tests 982s ok 1 /strvbuilder/empty 982s ok 2 /strvbuilder/add 982s ok 3 /strvbuilder/addv 982s ok 4 /strvbuilder/add_many 982s ok 5 /strvbuilder/take 982s ok 6 /strvbuilder/ref 982s ok 7 /strvbuilder/unref_to_strv 982s # End of strvbuilder tests 982s TAP version 14 982s # random seed: R02S51616882bf772aa5afa24f8b5d849b3e 982s 1..2 982s # Start of gtask tests 982s # 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. 982s ok 1 /gtask/name 982s # Start of name tests 982s # 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. 982s ok 2 /gtask/name/macro-wrapper 982s # End of name tests 982s # End of gtask tests 982s TAP version 14 982s # random seed: R02Sbce43e721cefa4cf5ba14291bfa69655 982s 1..1 982s # Start of gobject tests 982s # Start of refcount tests 982s # init 0x5f9a38e21420 982s # 982s # init 0x5f9a38e215c0 982s # 986s # Executing: glib/signals-refcount2.test 987s ok - glib/signals-refcount2.test 987s # dispose 0x5f9a38e21420! 987s # 987s # dispose 0x5f9a38e215c0! 987s # 987s ok 1 /gobject/refcount/signals 987s # slow test /gobject/refcount/signals executed in 5.00 secs 987s # End of refcount tests 987s # End of gobject tests 987s TAP version 14 987s # random seed: R02S8af7a0671ecb222bbe43e2f42cbc7fe0 987s 1..1 987s # Start of gobject tests 987s # Start of flags tests 987s ok 1 /gobject/flags/validate 987s # End of flags tests 987s # End of gobject tests 987s # Running test: glib/flags.test 987s ok - glib/flags.test 987s # Running test: glib/private.test 987s TAP version 14 987s # random seed: R02S04ba0eea506baced867f6c93445ea884 987s 1..8 987s # Start of thread tests 987s ok 1 /thread/private1 988s ok 2 /thread/private2 988s # slow test /thread/private2 executed in 1.08 secs 988s ok 3 /thread/private3 988s ok 4 /thread/staticprivate1 988s ok 5 /thread/staticprivate2 988s ok 6 /thread/staticprivate3 990s ok 7 /thread/staticprivate4 990s # slow test /thread/staticprivate4 executed in 1.09 secs 990s ok - glib/private.test 990s ok 8 /thread/staticprivate5 990s # End of thread tests 990s # Running test: glib/charset.test 990s TAP version 14 990s # random seed: R02Sdf5845fc8a72205b386fb60a209bd71a 990s 1..2 990s # Start of charset tests 990s # Test 0 990s # Test 1 990s # Test 2 990s # Test 3 990s ok 1 /charset/language_names_with_category 990s ok 2 /charset/language_names_with_category_async 990s # End of charset tests 990s ok - glib/charset.test 990s # Running test: glib/dir.test 990s ok - glib/dir.test 990s # Running test: glib/socket-address.test 990s ok - glib/socket-address.test 990s # Running test: glib/gdbus-proxy-unique-name.test 990s ok - glib/gdbus-proxy-unique-name.test 990s # Running test: glib/shell.test 990s TAP version 14 990s # random seed: R02S8151344544ebf9fa8a227c2ba979a12b 990s 1..3 990s # Start of dir tests 990s ok 1 /dir/read 990s ok 2 /dir/nonexisting 990s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 990s ok 3 /dir/refcounting 990s # End of dir tests 990s TAP version 14 990s # random seed: R02Sb51da1cdecd60dae27b826b14dc5e2e6 990s 1..2 990s # Start of socket tests 990s # Start of address tests 990s # Start of unix tests 990s ok 1 /socket/address/unix/construct 990s ok 2 /socket/address/unix/to-string 990s # End of unix tests 990s # End of address tests 990s # End of socket tests 990s TAP version 14 990s # random seed: R02S10881768e2f4795ce2dec5750388c76d 990s 1..1 990s # Start of gdbus tests 990s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_B36I02/gdbus/proxy-unique-name/.dirs/home 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_B36I02/gdbus/proxy-unique-name/.dirs/cache 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_B36I02/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_B36I02/gdbus/proxy-unique-name/.dirs/system-config2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_B36I02/gdbus/proxy-unique-name/.dirs/config 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_B36I02/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_B36I02/gdbus/proxy-unique-name/.dirs/system-data2 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_B36I02/gdbus/proxy-unique-name/.dirs/data 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_B36I02/gdbus/proxy-unique-name/.dirs/state 990s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_B36I02/gdbus/proxy-unique-name/.dirs/runtime 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 990s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 990s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 990s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 990s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 990s ok 1 /gdbus/proxy-unique-name 990s # End of gdbus tests 990s TAP version 14 990s # random seed: R02S4de022f27b7644e1d53063d17a561100 990s 1..51 990s # Start of shell tests 990s # Start of cmdline tests 990s test cmdline: foo bar 990s ok 1 /shell/cmdline/0 990s test cmdline: foo 'bar' 990s ok 2 /shell/cmdline/1 990s test cmdline: foo "bar" 990s ok 3 /shell/cmdline/2 990s test cmdline: foo '' 'bar' 990s ok 4 /shell/cmdline/3 990s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 990s ok 5 /shell/cmdline/4 990s test cmdline: foo blah foo bar baz 990s ok 6 /shell/cmdline/5 990s test cmdline: foo ' spaces more spaces lots of spaces in this ' 990s ok 7 /shell/cmdline/6 990s test cmdline: foo \ 990s bar 990s ok 8 /shell/cmdline/7 990s test cmdline: foo '' '' 990s ok 9 /shell/cmdline/8 990s test cmdline: foo \" la la la 990s ok 10 /shell/cmdline/9 990s test cmdline: foo \ foo woo woo\ 990s ok 11 /shell/cmdline/10 990s test cmdline: foo "yada yada \$\"" 990s ok 12 /shell/cmdline/11 990s test cmdline: foo "c:\\" 990s ok 13 /shell/cmdline/12 990s test cmdline: foo # bla bla bla 990s bar 990s ok 14 /shell/cmdline/13 990s test cmdline: foo a#b 990s ok 15 /shell/cmdline/14 990s test cmdline: #foo 990s ok 16 /shell/cmdline/15 990s test cmdline: foo bar \ 990s ok 17 /shell/cmdline/16 990s test cmdline: foo 'bar baz 990s ok 18 /shell/cmdline/17 990s test cmdline: foo '"bar" baz 990s ok 19 /shell/cmdline/18 990s test cmdline: 990s ok 20 /shell/cmdline/19 990s test cmdline: 990s ok 21 /shell/cmdline/20 990s test cmdline: # foo bar 990s ok 22 /shell/cmdline/21 990s test cmdline: foo '/bar/summer'\''09 tours.pdf' 990s ok 23 /shell/cmdline/22 990s # End of cmdline tests 990s # Start of quote tests 990s ok 24 /shell/quote/0 990s ok 25 /shell/quote/1 990s ok 26 /shell/quote/2 990s ok 27 /shell/quote/3 990s ok 28 /shell/quote/4 990s ok 29 /shell/quote/5 990s ok 30 /shell/quote/6 990s # End of quote tests 990s # Start of unquote tests 990s ok 31 /shell/unquote/0 990s ok 32 /shell/unquote/1 990s ok 33 /shell/unquote/2 990s ok 34 /shell/unquote/3 990s ok 35 /shell/unquote/4 990s ok 36 /shell/unquote/5 990s ok 37 /shell/unquote/6 990s ok 38 /shell/unquote/7 990s ok 39 /shell/unquote/8 990s ok 40 /shell/unquote/9 990s ok 41 /shell/unquote/10 990s ok 42 /shell/unquote/11 990s ok 43 /shell/unquote/12 990s ok 44 /shell/unquote/13 990s ok 45 /shell/unquote/14 990s ok 46 /shell/unquote/15 990s ok 47 /shell/unquote/16 990s ok 48 /shell/unquote/17 990s ok 49 /shell/unquote/18 990s ok 50 /shell/unquote/19 990s ok 51 /shell/unquote/20 990s # End of unquote tests 990s # End of shell tests 990s ok - glib/shell.test 990s # Running test: glib/signals-refcount1.test 990s TAP version 14 990s # random seed: R02S6fdc2059932aa50154ad66fd2f8cff27 990s 1..1 990s # Start of gobject tests 990s # Start of refcount tests 990s # init 0x5d85b39c0420 990s # 990s # init 0x5d85b39c05c0 990s # 991s # Executing: glib/signals-refcount1.test 995s ok - glib/signals-refcount1.test 995s # dispose 0x5d85b39c0420! 995s # 995s # dispose 0x5d85b39c05c0! 995s # 995s ok 1 /gobject/refcount/signals 995s # slow test /gobject/refcount/signals executed in 5.00 secs 995s # End of refcount tests 995s # End of gobject tests 995s # Running test: glib/signals.test 995s TAP version 14 995s # random seed: R02S6003d631adae2ba94cfdacf24d02a270 995s 1..31 995s # Start of gobject tests 995s ok - glib/signals.test 995s # Running test: glib/uri.test 995s # Start of signals tests 995s ok 1 /gobject/signals/all-types 995s ok 2 /gobject/signals/variant 995s ok 3 /gobject/signals/destroy-target-object 995s ok 4 /gobject/signals/generic-marshaller-1 995s ok 5 /gobject/signals/generic-marshaller-2 995s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 995s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 995s ok 8 /gobject/signals/generic-marshaller-int-return 995s ok 9 /gobject/signals/generic-marshaller-uint-return 995s ok 10 /gobject/signals/generic-marshaller-interface-return 995s ok 11 /gobject/signals/custom-marshaller 995s ok 12 /gobject/signals/connect 995s ok 13 /gobject/signals/emission-hook 995s ok 14 /gobject/signals/emitv 995s ok 15 /gobject/signals/accumulator 995s # Signal: accumulator-class-first 995s # Signal: accumulator-class-last 995s # Signal: accumulator-class-cleanup 995s # Signal: accumulator-class-first-last 995s # Signal: accumulator-class-first-last-cleanup 995s # Signal: accumulator-class-last-cleanup 995s ok 16 /gobject/signals/accumulator-class 995s ok 17 /gobject/signals/introspection 995s ok 18 /gobject/signals/block-handler 995s ok 19 /gobject/signals/stop-emission 995s ok 20 /gobject/signals/invocation-hint 995s ok 21 /gobject/signals/test-disconnection-wrong-object 995s ok 22 /gobject/signals/clear-signal-handler 995s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 995s ok 23 /gobject/signals/lookup 995s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 995s ok 24 /gobject/signals/parse-name 995s ok 25 /gobject/signals/is-valid-name 995s ok 26 /gobject/signals/weak-ref-disconnect 995s # Start of lookup tests 995s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 995s ok 27 /gobject/signals/lookup/invalid 995s # End of lookup tests 995s # Start of parse-name tests 995s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 995s # Parser input: 995s # Parser input: 7zip 995s # Parser input: invalid:signal 995s # Parser input: simple-detailed:: 995s # Parser input: simple-detailed: 995s # Parser input: : 995s # Parser input: :: 995s # Parser input: :valid-detail 995s # Parser input: ::valid-detail 995s ok 28 /gobject/signals/parse-name/invalid 995s # End of parse-name tests 995s # Start of invalid-name tests 995s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 995s ok 29 /gobject/signals/invalid-name/colon 995s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 995s ok 30 /gobject/signals/invalid-name/first-char 995s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 995s ok 31 /gobject/signals/invalid-name/empty 995s # End of invalid-name tests 995s # End of signals tests 995s # End of gobject tests 995s TAP version 14 995s # random seed: R02Sf3ad85a6f80074d43f135cdaa1d6d977 995s 1..24 995s # Start of uri tests 995s ok 1 /uri/file-to-uri 995s ok 2 /uri/file-from-uri 995s ok 3 /uri/file-roundtrip 995s ok 4 /uri/list 995s # Test 0: %2Babc %4F 995s # Test 1: %2Babc %4F 995s # Test 2: %00abc %4F 995s # Test 3: /cursors/none.png 995s # Test 4: /cursors%2fbad-subdir/none.png 995s # Test 5: %0 995s # Test 6: %ra 995s # Test 7: %2r 995s # Test 8: Timm B?der 995s # Test 9: (null) 995s ok 5 /uri/unescape-string 995s ok 6 /uri/unescape-segment 995s # Test 0: abcdefgABCDEFG._~ 995s # Test 1: :+ \\?# 995s # Test 2: a+b:c 995s # Test 3: a+b:c\303\234 995s # Test 4: \374;\322 995s # Test 5: \303\261\303( 995s ok 7 /uri/escape-string 995s ok 8 /uri/escape-bytes 995s ok 9 /uri/scheme 995s ok 10 /uri/build 995s ok 11 /uri/split 995s ok 12 /uri/is_valid 995s ok 13 /uri/to-string 995s ok 14 /uri/join 995s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 995s # Combination 0 995s # Combination 1 995s # Combination 2 995s # Combination 3 995s # Combination 4 995s # Combination 5 995s # Combination 6 995s # Combination 7 995s # Combination 8 995s # Combination 9 995s # Combination 10 995s # Combination 11 995s # Combination 12 995s # Combination 13 995s # Combination 14 995s # Combination 15 995s # Combination 16 995s # Combination 17 995s # Combination 18 995s # Combination 19 995s # Combination 20 995s # Combination 21 995s # Combination 22 995s # Combination 23 995s # Combination 24 995s # Combination 25 995s # Combination 26 995s # Combination 27 995s # Combination 28 995s # Combination 29 995s # Combination 30 995s # Combination 31 995s # Combination 32 995s # Combination 33 995s # Combination 34 995s # Combination 35 995s # Combination 36 995s # Combination 37 995s # Combination 38 995s # Combination 39 995s # Combination 40 995s # Combination 41 995s # Combination 42 995s # Combination 43 995s # Combination 44 995s # Combination 45 995s # Combination 46 995s # Combination 47 995s # Combination 48 995s # Combination 49 995s # Combination 50 995s # Combination 51 995s # Combination 52 995s # Combination 53 995s # Combination 54 995s # Combination 55 995s # Combination 56 995s # Combination 57 995s # Combination 58 995s # Combination 59 995s # Combination 60 995s # Combination 61 995s # Combination 62 995s # Combination 63 995s # Combination 64 995s # Combination 65 995s # Combination 66 995s # Combination 67 995s # Combination 68 995s # Combination 69 995s # Combination 70 995s # Combination 71 995s # Combination 72 995s # Combination 73 995s # Combination 74 995s # Combination 75 995s # Combination 76 995s # Combination 77 995s # Combination 78 995s # Combination 79 995s # Combination 80 995s # Combination 81 995s # Combination 82 995s # Combination 83 995s # Combination 84 995s # Combination 85 995s # Combination 86 995s # Combination 87 995s # Combination 88 995s # Combination 89 995s # Combination 90 995s # Combination 91 995s # Combination 92 995s # Combination 93 995s # Combination 94 995s # Combination 95 995s # Combination 96 995s # Combination 97 995s # Combination 98 995s # Combination 99 995s # Combination 100 995s # Combination 101 995s # Combination 102 995s # Combination 103 995s # Combination 104 995s # Combination 105 995s # Combination 106 995s # Combination 107 995s # Combination 108 995s # Combination 109 995s # Combination 110 995s # Combination 111 995s # Combination 112 995s # Combination 113 995s # Combination 114 995s # Combination 115 995s # Combination 116 995s # Combination 117 995s # Combination 118 995s # Combination 119 995s # Combination 120 995s # Combination 121 995s # Combination 122 995s # Combination 123 995s # Combination 124 995s # Combination 125 995s # Combination 126 995s # Combination 127 995s # Combination 128 995s # Combination 129 995s # Combination 130 995s # Combination 131 995s # Combination 132 995s # Combination 133 995s # Combination 134 995s # Combination 135 995s # Combination 136 995s # Combination 137 995s # Combination 138 995s # Combination 139 995s # Combination 140 995s # Combination 141 995s # Combination 142 995s # Combination 143 995s # Combination 144 995s # Combination 145 995s # Combination 146 995s # Combination 147 995s # Combination 148 995s # Combination 149 995s # Combination 150 995s # Combination 151 995s # Combination 152 995s # Combination 153 995s # Combination 154 995s # Combination 155 995s # Combination 156 995s # Combination 157 995s # Combination 158 995s # Combination 159 995s # Combination 160 995s # Combination 161 995s # Combination 162 995s # Combination 163 995s # Combination 164 995s # Combination 165 995s # Combination 166 995s # Combination 167 995s # Combination 168 995s # Combination 169 995s # Combination 170 995s # Combination 171 995s # Combination 172 995s # Combination 173 995s # Combination 174 995s # Combination 175 995s # Combination 176 995s # Combination 177 995s # Combination 178 995s # Combination 179 995s # Combination 180 995s # Combination 181 995s # Combination 182 995s # Combination 183 995s # Combination 184 995s # Combination 185 995s # Combination 186 995s # Combination 187 995s # Combination 188 995s # Combination 189 995s # Combination 190 995s # Combination 191 995s # Combination 192 995s # Combination 193 995s # Combination 194 995s # Combination 195 995s # Combination 196 995s # Combination 197 995s # Combination 198 995s # Combination 199 995s # Combination 200 995s # Combination 201 995s # Combination 202 995s # Combination 203 995s # Combination 204 995s # Combination 205 995s # Combination 206 995s # Combination 207 995s # Combination 208 995s # Combination 209 995s # Combination 210 995s # Combination 211 995s # Combination 212 995s # Combination 213 995s # Combination 214 995s # Combination 215 995s # Combination 216 995s # Combination 217 995s # Combination 218 995s # Combination 219 995s # Combination 220 995s # Combination 221 995s # Combination 222 995s # Combination 223 995s # Combination 224 995s # Combination 225 995s # Combination 226 995s # Combination 227 995s # Combination 228 995s # Combination 229 995s # Combination 230 995s # Combination 231 995s # Combination 232 995s # Combination 233 995s # Combination 234 995s # Combination 235 995s # Combination 236 995s # Combination 237 995s # Combination 238 995s # Combination 239 995s # Combination 240 995s # Combination 241 995s # Combination 242 995s # Combination 243 995s # Combination 244 995s # Combination 245 995s # Combination 246 995s # Combination 247 995s # Combination 248 995s # Combination 249 995s # Combination 250 995s # Combination 251 995s # Combination 252 995s # Combination 253 995s # Combination 254 995s # Combination 255 995s ok 15 /uri/join-split-round-trip 995s ok 16 /uri/normalize 995s # Start of unescape-bytes tests 995s # Test 0: %00%00 995s # Test 1: /cursors/none.png 995s # Test 2: /cursors%2fbad-subdir/none.png 995s # Test 3: %% 995s # Test 4: % 995s ok 17 /uri/unescape-bytes/nul-terminated 995s # Test 0: %00%00 995s # Test 1: /cursors/none.png 995s # Test 2: /cursors%2fbad-subdir/none.png 995s # Test 3: %% 995s # Test 4: % 995s ok 18 /uri/unescape-bytes/length 995s # End of unescape-bytes tests 995s # Start of parsing tests 995s # Test 0: foo: 995s # Test 1: file:/dev/null 995s # Test 2: file:///dev/null 995s # Test 3: ftp://user@host/path 995s # Test 4: ftp://user@host:9999/path 995s # Test 5: ftp://user:password@host/path 995s # Test 6: ftp://user:password@host:9999/path 995s # Test 7: ftp://user:password@host 995s # Test 8: http://us%65r@host 995s # Test 9: http://us%40r@host 995s # Test 10: http://us%3ar@host 995s # Test 11: http://us%2fr@host 995s # Test 12: http://us%3fr@host 995s # Test 13: http://host?query 995s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 995s # 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 995s # Test 16: http://space/%20 995s # Test 17: http://delims/%3C%3E%23%25%22 995s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 995s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 995s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 995s # Test 21: http://[3ffe:2a00:100:7031::1] 995s # Test 22: http://[1080::8:800:200C:417A]/foo 995s # Test 23: http://[::192.9.5.5]/ipng 995s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 995s # Test 25: http://[2010:836B:4179::836B:4179] 995s # Test 26: http://host/path with spaces 995s # Test 27: http://host/path 995s # Test 28: http://host/path 995s # Test 29: http://host 995s # Test 30: http://host:999 995s # Test 31: http://host/pa 995s # th 995s # Test 32: http: 995s # //host/path 995s # Test 33: http:// host/path 995s # Test 34: http://host/path? 995s # Test 35: http://host/path# 995s # Test 36: http://host/path% 995s # Test 37: http://h%ost/path 995s # Test 38: http://host/path%% 995s # Test 39: http://host/path%%% 995s # Test 40: http://host/path%/x/ 995s # Test 41: http://host/path%0x/ 995s # Test 42: http://host/path%ax 995s # Test 43: http://host/p?th/ 995s # Test 44: HTTP://////////////// 995s # Test 45: http://@host 995s # Test 46: http://:@host 995s # Test 47: scheme://foo%3Abar._webdav._tcp.local 995s # Test 48: http://example.com/.. 995s # Test 49: foo0://host/path 995s # Test 50: f0.o://host/path 995s # Test 51: http++://host/path 995s # Test 52: http-ish://host/path 995s # Test 53: http://[fe80::dead:beef%]/ 995s # Test 54: http://[fe80::dead:beef%em1]/ 995s # Test 55: http://[fe80::dead:beef%em1]/ 995s # Test 56: http://[fe80::dead:beef%25em1]/ 995s # Test 57: http://[fe80::dead:beef%25em1%20]/ 995s # Test 58: http://[fe80::dead:beef%25em%31]/ 995s # Test 59: http://[fe80::dead:beef%10]/ 995s # Test 60: http://[fe80::dead:beef%10]/ 995s # Test 61: http://[fe80::dead:beef%25]/ 995s # Test 62: http://[fe80::dead:beef%25]/ 995s # Test 63: http://[192.168.0.1%25em1]/ 995s # Test 64: http://[fe80::dead:beef%2em1]/ 995s # Test 65: http://[fe80::dead:beef%2em1]/ 995s # Test 66: http://[fe80::dead:beef%25em1%00]/ 995s # Test 67: http://[fe80::dead:beef%25em1%00]/ 995s # Test 68: http://xn--mixed-?p/ 995s ok 19 /uri/parsing/absolute 995s ok 20 /uri/parsing/relative 995s # End of parsing tests 995s # Start of iter-params tests 995s # URI 0: p1=foo&p2=bar;p3=baz 995s # URI 1: p1=foo&p2=bar 995s # URI 2: p1=foo&&P1=bar 995s # URI 3: %00=foo 995s # URI 4: p1=%00 995s # URI 5: p1=foo&p1=bar 995s # URI 6: p1=foo&P1=bar 995s # URI 7: =% 995s # URI 8: = 995s # URI 9: foo 995s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 995s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 995s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 995s ok 21 /uri/iter-params/nul-terminated 995s # URI 0: p1=foo&p2=bar;p3=baz 995s # URI 1: p1=foo&p2=bar 995s # URI 2: p1=foo&&P1=bar 995s # URI 3: %00=foo 995s # URI 4: p1=%00 995s # URI 5: p1=foo&p1=bar 995s # URI 6: p1=foo&P1=bar 995s # URI 7: =% 995s # URI 8: = 995s # URI 9: foo 995s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 995s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 995s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 995s ok 22 /uri/iter-params/length 995s # End of iter-params tests 995s # Start of parse-params tests 995s # URI 0: p1=foo&p2=bar;p3=baz 995s # URI 1: p1=foo&p2=bar 995s # URI 2: p1=foo&&P1=bar 995s # URI 3: %00=foo 995s # URI 4: p1=%00 995s # URI 5: p1=foo&p1=bar 995s # URI 6: p1=foo&P1=bar 995s # URI 7: =% 995s # URI 8: = 995s # URI 9: foo 995s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 995s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 995s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 995s ok 23 /uri/parse-params/nul-terminated 995s # URI 0: p1=foo&p2=bar;p3=baz 995s # URI 1: p1=foo&p2=bar 995s # URI 2: p1=foo&&P1=bar 995s # URI 3: %00=foo 995s # URI 4: p1=%00 995s # URI 5: p1=foo&p1=bar 995s # URI 6: p1=foo&P1=bar 995s # URI 7: =% 995s # URI 8: = 995s # URI 9: foo 995s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 995s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 995s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 995s ok 24 /uri/parse-params/length 995s # End of parse-params tests 995s # End of uri tests 995s ok - glib/uri.test 995s # Running test: glib/refstring.test 995s TAP version 14 995s # random seed: R02S978060b1e3a76293cd323148288a1c6c 995s 1..6 995s # Start of refstring tests 995s # s = 'hello, world' (0x620bbad863b0) 995s ok 1 /refstring/base 995s ok 2 /refstring/length 995s ok 3 /refstring/length-auto 995s ok 4 /refstring/length-nuls 995s # s = 'hello, world' (0x620bbad86300) 995s # p = s = 'hello, world' (0x620bbad86300) 995s # releasing p[0x620bbad86300] ('hello, world') 995s # p = 'goodbye, world' (0x620bbad863b0) 995s # releasing p[0x620bbad863b0] ('goodbye, world') 995s # releasing s[0x620bbad86300] ('hello, world') 995s ok 5 /refstring/intern 995s ok - glib/refstring.test 995s # Running test: glib/scannerapi.test 995s ok 6 /refstring/intern-thread-safety 995s # slow test /refstring/intern-thread-safety executed in 0.68 secs 995s # End of refstring tests 995s TAP version 14 995s # random seed: R02S42d9983838a03773704c345abe6d8b8a 995s 1..4 995s # Start of scanner tests 995s ok 1 /scanner/warn 995s ok 2 /scanner/error 995s ok 3 /scanner/symbols 995s ok 4 /scanner/tokens 995s # End of scanner tests 995s ok - glib/scannerapi.test 995s TAP version 14 995s # random seed: R02Sa077eca9195b8634cab6018788b8e96a 995s 1..4 995s # Start of socket-service tests 995s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 995s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x616fbb062370 and GSocketClientAsyncConnectData 0x616fbb05a620 995s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 995s ok 1 /socket-service/start-stop 995s # Running test: glib/socket-service.test 995s ok - glib/socket-service.test 995s # Running test: glib/buffered-input-stream.test 995s ok - glib/buffered-input-stream.test 995s # Running test: glib/pathbuf.test 995s ok - glib/pathbuf.test 995s # Running test: glib/rand.test 995s ok - glib/rand.test 995s # Running test: glib/base64.test 995s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x616fbb063ed0 and GSocketClientAsyncConnectData 0x616fbb063c70 995s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 995s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 995s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x616fbb0643e0 for GSocketClientAsyncConnectData 0x616fbb05a620 995s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 995s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 995s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 995s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 995s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 995s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x616fbb065260 for GSocketClientAsyncConnectData 0x616fbb063c70 995s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 995s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 995s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 995s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 995s ok 2 /socket-service/read_write_async 995s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x616fbb067fb0 and GSocketClientAsyncConnectData 0x616fbb0659d0 995s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 995s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 995s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x616fbb066190 for GSocketClientAsyncConnectData 0x616fbb0659d0 995s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 995s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 995s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 995s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 995s ok 3 /socket-service/read_writev_async 995s # Start of threaded tests 995s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 995s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x616fbb069710 and GSocketClientAsyncConnectData 0x616fbb065d50 995s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 995s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 995s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x616fbb069940 for GSocketClientAsyncConnectData 0x616fbb065d50 995s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 995s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 995s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 995s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 995s ok 4 /socket-service/threaded/712570 995s # End of threaded tests 995s # End of socket-service tests 995s TAP version 14 995s # random seed: R02Se61c32c244926410de384f24962e1f44 995s 1..10 995s # Start of buffered-input-stream tests 995s ok 1 /buffered-input-stream/peek 995s ok 2 /buffered-input-stream/peek-buffer 995s ok 3 /buffered-input-stream/set-buffer-size 995s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 995s ok 4 /buffered-input-stream/read-byte 995s ok 5 /buffered-input-stream/read 995s ok 6 /buffered-input-stream/read-async 995s ok 7 /buffered-input-stream/skip 995s ok 8 /buffered-input-stream/skip-async 995s ok 9 /buffered-input-stream/seek 995s # End of buffered-input-stream tests 995s # Start of filter-input-stream tests 995s ok 10 /filter-input-stream/close 995s # End of filter-input-stream tests 995s TAP version 14 995s # random seed: R02S90eaa3344668f5a055ec069e611022c6 995s 1..3 995s # Start of pathbuf tests 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_WJT5Z2/pathbuf/init/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_WJT5Z2/pathbuf/init/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_WJT5Z2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_WJT5Z2/pathbuf/init/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_WJT5Z2/pathbuf/init/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_WJT5Z2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_WJT5Z2/pathbuf/init/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_WJT5Z2/pathbuf/init/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_WJT5Z2/pathbuf/init/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_WJT5Z2/pathbuf/init/.dirs/runtime 995s # Initializing empty path buf 995s # Initializing with empty path 995s # Initializing with full path 995s # Initializing with no path 995s # Allocating GPathBuf on the heap 995s ok 1 /pathbuf/init 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_WJT5Z2/pathbuf/push-pop/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_WJT5Z2/pathbuf/push-pop/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_WJT5Z2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_WJT5Z2/pathbuf/push-pop/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_WJT5Z2/pathbuf/push-pop/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_WJT5Z2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_WJT5Z2/pathbuf/push-pop/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_WJT5Z2/pathbuf/push-pop/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_WJT5Z2/pathbuf/push-pop/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_WJT5Z2/pathbuf/push-pop/.dirs/runtime 995s # Pushing relative path component 995s # Pushing absolute path component 995s # Popping a path component 995s # Can't pop the last element of a path buffer 995s ok 2 /pathbuf/push-pop 995s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_WJT5Z2/pathbuf/filename-extension/.dirs/home 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_WJT5Z2/pathbuf/filename-extension/.dirs/cache 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_WJT5Z2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_WJT5Z2/pathbuf/filename-extension/.dirs/system-config2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_WJT5Z2/pathbuf/filename-extension/.dirs/config 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_WJT5Z2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_WJT5Z2/pathbuf/filename-extension/.dirs/system-data2 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_WJT5Z2/pathbuf/filename-extension/.dirs/data 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_WJT5Z2/pathbuf/filename-extension/.dirs/state 995s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_WJT5Z2/pathbuf/filename-extension/.dirs/runtime 995s ok 3 /pathbuf/filename-extension 995s # End of pathbuf tests 995s TAP version 14 995s # random seed: R02S82143c140695610efd36087e6a605bef 995s 1..2 995s # Start of rand tests 995s ok 1 /rand/test-rand 995s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 995s ok 2 /rand/double-range 995s # End of rand tests 995s TAP version 14 995s # random seed: R02S3517d82337c5c23be52740efd4cf4cad 995s 1..28 995s # Start of base64 tests 995s ok 1 /base64/encode 995s ok 2 /base64/decode 995s ok 3 /base64/decode-inplace 995s ok 4 /base64/encode-decode 995s # Start of full tests 995s ok 5 /base64/full/1 995s ok 6 /base64/full/2 995s ok 7 /base64/full/3 995s ok 8 /base64/full/4 995s # End of full tests 995s # Start of encode tests 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 995s ok 9 /base64/encode/empty 995s # Start of incremental tests 995s # Start of small-block tests 995s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 995s ok 10 /base64/encode/incremental/small-block/1 995s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 995s ok 11 /base64/encode/incremental/small-block/2 995s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 995s ok 12 /base64/encode/incremental/small-block/3 995s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 995s ok 13 /base64/encode/incremental/small-block/4 995s # End of small-block tests 995s # End of incremental tests 995s # End of encode tests 995s # Start of incremental tests 995s # Start of nobreak tests 995s ok 14 /base64/incremental/nobreak/1 995s ok 15 /base64/incremental/nobreak/2 995s ok 16 /base64/incremental/nobreak/3 995s ok 17 /base64/incremental/nobreak/4-a 995s ok 18 /base64/incremental/nobreak/4-b 995s ok 19 /base64/incremental/nobreak/4-c 995s # End of nobreak tests 995s # Start of break tests 995s ok 20 /base64/incremental/break/1 995s ok 21 /base64/incremental/break/2 995s ok 22 /base64/incremental/break/3 995s # End of break tests 995s # Start of smallblock tests 995s ok 23 /base64/incremental/smallblock/1 995s ok 24 /base64/incremental/smallblock/2 995s ok 25 /base64/incremental/smallblock/3 995s ok 26 /base64/incremental/smallblock/4 995s # End of smallblock tests 995s # End of incremental tests 995s # Start of decode tests 995s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 995s ok 27 /base64/decode/empty 995s # End of decode tests 995s # Start of encode-decode tests 995s # Vector 0: 995s # Vector 1: f 995s # Vector 2: fo 995s # Vector 3: foo 995s # Vector 4: foob 995s # Vector 5: fooba 995s # Vector 6: foobar 995s ok 28 /base64/encode-decode/rfc4648 995s # End of encode-decode tests 995s # End of base64 tests 995s TAP version 14 995s # random seed: R02Sa06247b1cb7142c4ecbd790a7867c42d 995s 1..8 995s # Start of rcbox tests 995s ok 1 /rcbox/new 995s # global_point = 0x55712338d840 995s ok 2 /rcbox/release-full 995s # global_point_a = 0x55712338d840 995s # global_point_b = 0x55712338d800 995s ok 3 /rcbox/dup 995s ok 4 /rcbox/alignment 995s # End of rcbox tests 995s # Start of atomic-rcbox tests 995s ok 5 /atomic-rcbox/new 995s # global_point = 0x55712338da10 995s ok 6 /atomic-rcbox/release-full 995s # global_point_a = 0x55712338da10 995s # global_point_b = 0x55712338d9d0 995s ok 7 /atomic-rcbox/dup 995s ok 8 /atomic-rcbox/alignment 995s # End of atomic-rcbox tests 995s Running test "liststore-is-a" 995s ok - glib/base64.test 995s # Running test: glib/rcbox.test 995s ok - glib/rcbox.test 995s # Running test: glib/performance-threaded.test 996s # Executing: glib/performance-threaded.test 996s 30984 runs, min/avg/max = 0.030/0.032/0.339 ms 996s Running test "liststore-interface-peek" 997s 39762 runs, min/avg/max = 0.020/0.025/1.538 ms 997s Running test "liststore-interface-peek-same" 998s 39457 runs, min/avg/max = 0.020/0.025/0.411 ms 998s ok - glib/performance-threaded.test 998s # Running test: glib/hook.test 998s TAP version 14 998s # random seed: R02Sc5067236fbcbec16817cad68edd8a506 998s 1..2 998s # Start of hook tests 998s ok 1 /hook/basics 998s ok 2 /hook/corner-cases 998s # End of hook tests 998s ok - glib/hook.test 998s # Running test: glib/io-channel.test 998s TAP version 14 998s # random seed: R02S20626c2cb2ad30f6b36d812768db6f41 998s ok - glib/io-channel.test 998s # Running test: glib/collate.test 998s ok - glib/collate.test 998s # Running test: glib/sandbox.test 998s 1..2 998s # Start of io-channel tests 998s # Line one 998s # 998s # Line two 998s # 998s # Line three 998s # 998s # /* Hello */ 998s # 998s # \x1234\x567890\x6666 998s # 998s # read 62 bytes, wrote 62 bytes 998s ok 1 /io-channel/read-write 998s # Start of read-line tests 998s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 998s ok 2 /io-channel/read-line/embedded-nuls 998s # End of read-line tests 998s # End of io-channel tests 998s TAP version 14 998s # random seed: R02S71736c0bd3b9401252e009d0ce89517b 998s 1..9 998s # Start of unicode tests 998s # Start of collate tests 998s ok 1 /unicode/collate/0 998s ok 2 /unicode/collate/1 998s ok 3 /unicode/collate/2 998s # End of collate tests 998s # Start of collate-key tests 998s ok 4 /unicode/collate-key/0 998s ok 5 /unicode/collate-key/1 998s ok 6 /unicode/collate-key/2 998s # End of collate-key tests 998s # Start of collate-filename tests 998s ok 7 /unicode/collate-filename/0 998s ok 8 /unicode/collate-filename/1 998s ok 9 /unicode/collate-filename/2 998s # End of collate-filename tests 998s # End of unicode tests 998s TAP version 14 998s # random seed: R02Sca8a492fb1d72786311b21d25d54c9f9 998s 1..4 998s # Start of sandbox tests 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_OZ1D02/sandbox/none/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_OZ1D02/sandbox/none/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_OZ1D02/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_OZ1D02/sandbox/none/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_OZ1D02/sandbox/none/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_OZ1D02/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_OZ1D02/sandbox/none/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_OZ1D02/sandbox/none/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_OZ1D02/sandbox/none/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_OZ1D02/sandbox/none/.dirs/runtime 998s ok 1 /sandbox/none 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_OZ1D02/sandbox/snap/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_OZ1D02/sandbox/snap/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_OZ1D02/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_OZ1D02/sandbox/snap/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_OZ1D02/sandbox/snap/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_OZ1D02/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_OZ1D02/sandbox/snap/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_OZ1D02/sandbox/snap/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_OZ1D02/sandbox/snap/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_OZ1D02/sandbox/snap/.dirs/runtime 998s # Created snap.yaml in /tmp/test_sandbox_OZ1D02/snap/current/meta/snap.yaml 998s ok 2 /sandbox/snap 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_OZ1D02/sandbox/classic-snap/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_OZ1D02/sandbox/classic-snap/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_OZ1D02/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_OZ1D02/sandbox/classic-snap/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_OZ1D02/sandbox/classic-snap/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_OZ1D02/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_OZ1D02/sandbox/classic-snap/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_OZ1D02/sandbox/classic-snap/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_OZ1D02/sandbox/classic-snap/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_OZ1D02/sandbox/classic-snap/.dirs/runtime 998s # Created snap.yaml in /tmp/test_sandbox_OZ1D02/snap/current/meta/snap.yaml 998s ok 3 /sandbox/classic-snap 998s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_OZ1D02/sandbox/flatpak/.dirs/home 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_OZ1D02/sandbox/flatpak/.dirs/cache 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_OZ1D02/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_OZ1D02/sandbox/flatpak/.dirs/system-config2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_OZ1D02/sandbox/flatpak/.dirs/config 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_OZ1D02/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_OZ1D02/sandbox/flatpak/.dirs/system-data2 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_OZ1D02/sandbox/flatpak/.dirs/data 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_OZ1D02/sandbox/flatpak/.dirs/state 998s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_OZ1D02/sandbox/flatpak/.dirs/runtime 998s # Creating .flatpak-info in /tmp/test_sandbox_OZ1D02/sandbox/flatpak/.dirs/runtime/.flatpak-info 998s ok 4 /sandbox/flatpak 998s # End of sandbox tests 998s TAP version 14 998s # random seed: R02Sba20451284eb91dc3bf07979ef368a4d 998s 1..28 998s # Start of socket tests 998s ok - glib/sandbox.test 998s # Running test: glib/socket.test 999s ok 1 /socket/ipv4_sync 999s # slow test /socket/ipv4_sync executed in 1.00 secs 1000s ok 2 /socket/ipv4_async 1000s # slow test /socket/ipv4_async executed in 1.00 secs 1000s ok 3 /socket/ipv6_sync 1000s ok 4 /socket/ipv6_async 1000s ok 5 /socket/ipv6_v4mapped 1001s # Executing: glib/socket.test 1001s ok 6 /socket/close_graceful 1001s # slow test /socket/close_graceful executed in 1.00 secs 1001s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1001s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1001s ok 8 /socket/fd_reuse 1001s ok 9 /socket/address 1001s ok 10 /socket/unix-from-fd 1001s ok 11 /socket/unix-connection 1001s ok 12 /socket/unix-connection-ancillary-data 1001s ok 13 /socket/source-postmortem 1001s ok 14 /socket/read_write 1001s ok 15 /socket/read_writev 1001s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1001s ok 16 /socket/receive_bytes 1001s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1001s ok 17 /socket/receive_bytes_from 1001s # Start of ipv4_sync tests 1001s ok 18 /socket/ipv4_sync/datagram 1001s # Start of datagram tests 1002s ok 19 /socket/ipv4_sync/datagram/timeouts 1002s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1002s # End of datagram tests 1002s # End of ipv4_sync tests 1002s # Start of ipv6_sync tests 1002s ok 20 /socket/ipv6_sync/datagram 1002s # Start of datagram tests 1004s ok 21 /socket/ipv6_sync/datagram/timeouts 1004s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1004s # End of datagram tests 1004s # End of ipv6_sync tests 1004s # Start of reuse tests 1004s ok 22 /socket/reuse/tcp 1004s ok 23 /socket/reuse/udp 1004s # End of reuse tests 1004s # Start of get_available tests 1004s ok 24 /socket/get_available/datagram 1004s ok 25 /socket/get_available/stream 1004s # End of get_available tests 1004s # Start of credentials tests 1004s # Supported on this OS: GCredentials:linux-ucred:pid=0 1004s ok 26 /socket/credentials/tcp_client 1004s # Supported on this OS: GCredentials:linux-ucred:pid=0 1004s ok 27 /socket/credentials/tcp_server 1004s # Supported on this OS: GCredentials:linux-ucred:pid=8830,uid=1000,gid=1000 1004s ok 28 /socket/credentials/unix_socketpair 1004s # End of credentials tests 1004s # End of socket tests 1004s ok - glib/socket.test 1004s # Running test: glib/genmarshal.py.test 1004s TAP version 13 1004s ok 1 __main__.TestGenmarshal.test_empty_list 1004s # tmpdir: /tmp/tmp_bt_2mrr 1004s # genmarshal: /usr/bin/glib-genmarshal 1004s # /tmp/tmp_bt_2mrr/tmp7974sav2.list: 1004s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_bt_2mrr/tmp7974sav2.list', '--header', '--quiet'] 1004s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1004s # 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. */ 1004s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1004s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1004s # 1004s # #include 1004s # 1004s # G_BEGIN_DECLS 1004s # 1004s # 1004s # G_END_DECLS 1004s # 1004s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1004s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_bt_2mrr/tmp7974sav2.list', '--body', '--quiet'] 1004s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1004s # 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. */ 1004s # #include 1004s # 1004s # #ifdef G_ENABLE_DEBUG 1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1004s # #else /* !G_ENABLE_DEBUG */ 1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1004s # * Do not access GValues directly in your code. Instead, use the 1004s # * g_value_get_*() functions 1004s # */ 1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1004s # #endif /* !G_ENABLE_DEBUG */ 1004s ok 2 __main__.TestGenmarshal.test_help 1004s # tmpdir: /tmp/tmpoabgn4h9 1004s # genmarshal: /usr/bin/glib-genmarshal 1004s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1004s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1004s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1004s # [--internal] [--valist-marshallers] [-v] 1004s # [--g-fatal-warnings] [--include-header [HEADER]] 1004s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1004s # [--prototypes] [--header] [--body] 1004s # [--stdinc | --nostdinc] [--quiet | --verbose] 1004s # [FILE ...] 1004s # 1004s # Generate signal marshallers for GObject 1004s # 1004s # positional arguments: 1004s # FILE Files with lists of marshallers to generate, or "-" 1004s # for standard input 1004s # 1004s # options: 1004s # -h, --help show this help message and exit 1004s # --prefix STRING Specify marshaller prefix 1004s # --output FILE Write output into the specified file 1004s # --skip-source Skip source location comments 1004s # --internal Mark generated functions as internal 1004s # --valist-marshallers Generate va_list marshallers 1004s # -v, --version Print version information, and exit 1004s # --g-fatal-warnings Make warnings fatal 1004s # --include-header [HEADER] 1004s # Include the specified header in the body 1004s # --pragma-once Use "pragma once" as the inclusion guard 1004s # -D CPP_DEFINES Pre-processor define 1004s # -U CPP_UNDEFINES Pre-processor undefine 1004s # --prototypes Generate the marshallers prototype in the C code 1004s # --header Generate C headers 1004s # --body Generate C code 1004s # --stdinc Include standard marshallers 1004s # --nostdinc Use standard marshallers 1004s # --quiet Only print warnings and errors 1004s # --verbose Be verbose, and include debugging information 1004s ok 3 __main__.TestGenmarshal.test_no_args 1004s # tmpdir: /tmp/tmpayr7v1ft 1004s # genmarshal: /usr/bin/glib-genmarshal 1004s # Running: ['/usr/bin/glib-genmarshal'] 1004s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1004s # Output: 1004s ok 4 __main__.TestGenmarshal.test_void_boolean 1004s # tmpdir: /tmp/tmp75ar8rri 1004s # genmarshal: /usr/bin/glib-genmarshal 1004s # /tmp/tmp75ar8rri/tmpswlitnem.list: VOID:BOOLEAN 1004s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp75ar8rri/tmpswlitnem.list', '--header', '--quiet'] 1004s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1004s # 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. */ 1004s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1004s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1004s # 1004s # #include 1004s # 1004s # G_BEGIN_DECLS 1004s # 1004s # /* VOID:BOOLEAN (/tmp/tmp75ar8rri/tmpswlitnem.list:1) */ 1004s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1004s # 1004s # 1004s # G_END_DECLS 1004s # 1004s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1004s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp75ar8rri/tmpswlitnem.list', '--body', '--quiet'] 1004s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1004s # 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. */ 1004s # #include 1004s # 1004s # #ifdef G_ENABLE_DEBUG 1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1004s # #else /* !G_ENABLE_DEBUG */ 1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1004s # * Do not access GValues directly in your code. Instead, use the 1004s # * g_value_get_*() functions 1004s # */ 1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1004s # #endif /* !G_ENABLE_DEBUG */ 1004s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1004s # tmpdir: /tmp/tmpy4pt6cjd 1004s # genmarshal: /usr/bin/glib-genmarshal 1004s # /tmp/tmpy4pt6cjd/tmppul7ajbt.list: VOID:BOOLEAN,INT64 1004s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpy4pt6cjd/tmppul7ajbt.list', '--header', '--quiet'] 1004s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1004s # 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. */ 1004s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1004s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1004s # 1004s # #include 1004s # 1004s # G_BEGIN_DECLS 1004s # 1004s # /* VOID:BOOLEAN,INT64 (/tmp/tmpy4pt6cjd/tmppul7ajbt.list:1) */ 1004s # extern 1004s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1004s # GValue *return_value, 1004s # guint n_param_values, 1004s # const GValue *param_values, 1004s # gpointer invocation_hint, 1004s # gpointer marshal_data); 1004s # 1004s # 1004s # G_END_DECLS 1004s # 1004s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1004s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpy4pt6cjd/tmppul7ajbt.list', '--body', '--quiet'] 1004s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1004s # 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. */ 1004s # #include 1004s # 1004s # #ifdef G_ENABLE_DEBUG 1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1004s # #else /* !G_ENABLE_DEBUG */ 1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1004s # * Do not access GValues directly in your code. Instead, use the 1004s # * g_value_get_*() functions 1004s # */ 1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1004s # #endif /* !G_ENABLE_DEBUG */ 1004s # 1004s # /* VOID:BOOLEAN,INT64 (/tmp/tmpy4pt6cjd/tmppul7ajbt.list:1) */ 1004s # void 1004s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1004s # GValue *return_value G_GNUC_UNUSED, 1004s # guint n_param_values, 1004s # const GValue *param_values, 1004s # gpointer invocation_hint G_GNUC_UNUSED, 1004s # gpointer marshal_data) 1004s # { 1004s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1004s # gboolean arg1, 1004s # gint64 arg2, 1004s # gpointer data2); 1004s # GCClosure *cc = (GCClosure *) closure; 1004s # gpointer data1, data2; 1004s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1004s # 1004s # g_return_if_fail (n_param_values == 3); 1004s # 1004s # if (G_CCLOSURE_SWAP_DATA (closure)) 1004s # { 1004s # data1 = closure->data; 1004s # data2 = g_value_peek_pointer (param_values + 0); 1004s # } 1004s # else 1004s # { 1004s # data1 = g_value_peek_pointer (param_values + 0); 1004s # data2 = closure->data; 1004s # } 1004s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1004s # 1004s # callback (data1, 1004s # g_marshal_value_peek_boolean (param_values + 1), 1004s # g_marshal_value_peek_int64 (param_values + 2), 1004s # data2); 1004s # } 1004s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1004s # tmpdir: /tmp/tmpdg3e8yo0 1004s # genmarshal: /usr/bin/glib-genmarshal 1004s # /tmp/tmpdg3e8yo0/tmpelpwl3zu.list: VOID:PARAM 1004s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpdg3e8yo0/tmpelpwl3zu.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1004s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1004s # 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. */ 1004s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1004s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1004s # 1004s # G_BEGIN_DECLS 1004s # 1004s # /* VOID:PARAM (/tmp/tmpdg3e8yo0/tmpelpwl3zu.list:1) */ 1004s # extern 1004s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1004s # GValue *return_value, 1004s # guint n_param_values, 1004s # const GValue *param_values, 1004s # gpointer invocation_hint, 1004s # gpointer marshal_data); 1004s # extern 1004s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1004s # GValue *return_value, 1004s # gpointer instance, 1004s # va_list args, 1004s # gpointer marshal_data, 1004s # int n_params, 1004s # GType *param_types); 1004s # 1004s # 1004s # G_END_DECLS 1004s # 1004s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1004s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpdg3e8yo0/tmpelpwl3zu.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1004s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1004s # 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. */ 1004s # #ifdef G_ENABLE_DEBUG 1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1004s # #else /* !G_ENABLE_DEBUG */ 1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1004s # * Do not access GValues directly in your code. Instead, use the 1004s # * g_value_get_*() functions 1004s # */ 1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1004s # #endif /* !G_ENABLE_DEBUG */ 1004s # 1004s # /* VOID:PARAM (/tmp/tmpdg3e8yo0/tmpelpwl3zu.list:1) */ 1004s # void 1004s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1004s # GValue *return_value G_GNUC_UNUSED, 1004s # guint n_param_values, 1004s # const GValue *param_values, 1004s # gpointer invocation_hint G_GNUC_UNUSED, 1004s # gpointer marshal_data) 1004s # { 1004s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1004s # gpointer arg1, 1004s # gpointer data2); 1004s # GCClosure *cc = (GCClosure *) closure; 1004s # gpointer data1, data2; 1004s # GMarshalFunc_VOID__PARAM callback; 1004s # 1004s # g_return_if_fail (n_param_values == 2); 1004s # 1004s # if (G_CCLOSURE_SWAP_DATA (closure)) 1004s # { 1004s # data1 = closure->data; 1004s # data2 = g_value_peek_pointer (param_values + 0); 1004s # } 1004s # else 1004s # { 1004s # data1 = g_value_peek_pointer (param_values + 0); 1004s # data2 = closure->data; 1004s # } 1004s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1004s # 1004s # callback (data1, 1004s # g_marshal_value_peek_param (param_values + 1), 1004s # data2); 1004s # } 1004s # 1004s # void 1004s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1004s # GValue *return_value G_GNUC_UNUSED, 1004s # gpointer instance, 1004s # va_list args, 1004s # gpointer marshal_data, 1004s # int n_params, 1004s # GType *param_types) 1004s # { 1004s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1004s # gpointer arg1, 1004s # gpointer data2); 1004s # GCClosure *cc = (GCClosure *) closure; 1004s # gpointer data1, data2; 1004s # GMarshalFunc_VOID__PARAM callback; 1004s # gpointer arg0; 1004s # va_list args_copy; 1004s # 1004s # va_copy (args_copy, args); 1004s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1004s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1004s # arg0 = g_param_spec_ref (arg0); 1004s # va_end (args_copy); 1004s # 1004s # 1004s # if (G_CCLOSURE_SWAP_DATA (closure)) 1004s # { 1004s # data1 = closure->data; 1004s # data2 = instance; 1004s # } 1004s # else 1004s # { 1004s # data1 = instance; 1004s # data2 = closure->data; 1004s # } 1004s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1004s # 1004s # callback (data1, 1004s # arg0, 1004s # data2); 1004s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1004s # g_param_spec_unref (arg0); 1004s # } 1004s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1004s # tmpdir: /tmp/tmpqzv5cne7 1004s # genmarshal: /usr/bin/glib-genmarshal 1004s # /tmp/tmpqzv5cne7/tmpps9ekhtu.list: VOID:STRING 1004s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpqzv5cne7/tmpps9ekhtu.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1004s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1004s # 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. */ 1004s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1004s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1004s # 1004s # G_BEGIN_DECLS 1004s # 1004s # /* VOID:STRING (/tmp/tmpqzv5cne7/tmpps9ekhtu.list:1) */ 1004s # extern 1004s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1004s # GValue *return_value, 1004s # guint n_param_values, 1004s # const GValue *param_values, 1004s # gpointer invocation_hint, 1004s # gpointer marshal_data); 1004s # extern 1004s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1004s # GValue *return_value, 1004s # gpointer instance, 1004s # va_list args, 1004s # gpointer marshal_data, 1004s # int n_params, 1004s # GType *param_types); 1004s # 1004s # 1004s # G_END_DECLS 1004s # 1004s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1004s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpqzv5cne7/tmpps9ekhtu.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1004s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1004s # 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. */ 1004s # #ifdef G_ENABLE_DEBUG 1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1004s # #else /* !G_ENABLE_DEBUG */ 1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1004s # * Do not access GValues directly in your code. Instead, use the 1004s # * g_value_get_*() functions 1004s # */ 1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1004s # #endif /* !G_ENABLE_DEBUG */ 1004s # 1004s # /* VOID:STRING (/tmp/tmpqzv5cne7/tmpps9ekhtu.list:1) */ 1004s # void 1004s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1004s # GValue *return_value G_GNUC_UNUSED, 1004s # guint n_param_values, 1004s # const GValue *param_values, 1004s # gpointer invocation_hint G_GNUC_UNUSED, 1004s # gpointer marshal_data) 1004s # { 1004s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1004s # gpointer arg1, 1004s # gpointer data2); 1004s # GCClosure *cc = (GCClosure *) closure; 1004s # gpointer data1, data2; 1004s # GMarshalFunc_VOID__STRING callback; 1004s # 1004s # g_return_if_fail (n_param_values == 2); 1004s # 1004s # if (G_CCLOSURE_SWAP_DATA (closure)) 1004s # { 1004s # data1 = closure->data; 1004s # data2 = g_value_peek_pointer (param_values + 0); 1004s # } 1004s # else 1004s # { 1004s # data1 = g_value_peek_pointer (param_values + 0); 1004s # data2 = closure->data; 1004s # } 1004s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1004s # 1004s # callback (data1, 1004s # g_marshal_value_peek_string (param_values + 1), 1004s # data2); 1004s # } 1004s # 1004s # void 1004s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1004s # GValue *return_value G_GNUC_UNUSED, 1004s # gpointer instance, 1004s # va_list args, 1004s # gpointer marshal_data, 1004s # int n_params, 1004s # GType *param_types) 1004s # { 1004s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1004s # gpointer arg1, 1004s # gpointer data2); 1004s # GCClosure *cc = (GCClosure *) closure; 1004s # gpointer data1, data2; 1004s # GMarshalFunc_VOID__STRING callback; 1004s # gpointer arg0; 1004s # va_list args_copy; 1004s # 1004s # va_copy (args_copy, args); 1004s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1004s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1004s # arg0 = g_strdup (arg0); 1004s # va_end (args_copy); 1004s # 1004s # 1004s # if (G_CCLOSURE_SWAP_DATA (closure)) 1004s # { 1004s # data1 = closure->data; 1004s # data2 = instance; 1004s # } 1004s # else 1004s # { 1004s # data1 = instance; 1004s # data2 = closure->data; 1004s # } 1004s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1004s # 1004s # callback (data1, 1004s # arg0, 1004s # data2); 1004s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1004s # g_free (arg0); 1004s # } 1004s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1004s # tmpdir: /tmp/tmpdca6v4pj 1004s # genmarshal: /usr/bin/glib-genmarshal 1004s # /tmp/tmpdca6v4pj/tmp7eik1x3c.list: VOID:VARIANT 1004s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpdca6v4pj/tmp7eik1x3c.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1004s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1004s # 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. */ 1004s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1004s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1004s # 1004s # G_BEGIN_DECLS 1004s # 1004s # /* VOID:VARIANT (/tmp/tmpdca6v4pj/tmp7eik1x3c.list:1) */ 1004s # extern 1004s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1004s # GValue *return_value, 1004s # guint n_param_values, 1004s # const GValue *param_values, 1004s # gpointer invocation_hint, 1004s # gpointer marshal_data); 1004s # extern 1004s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1004s # GValue *return_value, 1004s # gpointer instance, 1004s # va_list args, 1004s # gpointer marshal_data, 1004s # int n_params, 1004s # GType *param_types); 1004s # 1004s # 1004s # G_END_DECLS 1004s # 1004s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1004s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpdca6v4pj/tmp7eik1x3c.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1004s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1004s # 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. */ 1004s # #ifdef G_ENABLE_DEBUG 1004s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1004s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1004s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1004s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1004s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1004s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1004s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1004s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1004s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1004s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1004s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1004s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1004s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1004s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1004s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1004s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1004s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1004s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1004s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1004s # #else /* !G_ENABLE_DEBUG */ 1004s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1004s # * Do not access GValues directly in your code. Instead, use the 1004s # * g_value_get_*() functions 1004s # */ 1004s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1004s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1004s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1004s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1004s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1004s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1004s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1004s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1004s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1004s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1004s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1004s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1004s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1004s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1004s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1004s # #endif /* !G_ENABLE_DEBUG */ 1004s # 1004s # /* VOID:VARIANT (/tmp/tmpdca6v4pj/tmp7eik1x3c.list:1) */ 1004s # void 1004s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1004s # GValue *return_value G_GNUC_UNUSED, 1004s # guint n_param_values, 1004s # const GValue *param_values, 1004s # gpointer invocation_hint G_GNUC_UNUSED, 1004s # gpointer marshal_data) 1004s # { 1004s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1004s # gpointer arg1, 1004s # gpointer data2); 1004s # GCClosure *cc = (GCClosure *) closure; 1004s # gpointer data1, data2; 1004s # GMarshalFunc_VOID__VARIANT callback; 1004s # 1004s # g_return_if_fail (n_param_values == 2); 1004s # 1004s # if (G_CCLOSURE_SWAP_DATA (closure)) 1004s # { 1004s # data1 = closure->data; 1004s # data2 = g_value_peek_pointer (param_values + 0); 1004s # } 1004s # else 1004s # { 1004s # data1 = g_value_peek_pointer (param_values + 0); 1004s # data2 = closure->data; 1004s # } 1004s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1004s # 1004s # callback (data1, 1004s # g_marshal_value_peek_variant (param_values + 1), 1004s # data2); 1004s # } 1004s # 1004s # void 1004s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1004s # GValue *return_value G_GNUC_UNUSED, 1004s # gpointer instance, 1004s # va_list args, 1004s # gpointer marshal_data, 1004s # int n_params, 1004s # GType *param_types) 1004s # { 1004s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1004s # gpointer arg1, 1004s # gpointer data2); 1004s # GCClosure *cc = (GCClosure *) closure; 1004s # gpointer data1, data2; 1004s # GMarshalFunc_VOID__VARIANT callback; 1004s # gpointer arg0; 1004s # va_list args_copy; 1004s # 1004s # va_copy (args_copy, args); 1004s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1004s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1004s # arg0 = g_variant_ref_sink (arg0); 1004s # va_end (args_copy); 1004s # 1004s # 1004s # if (G_CCLOSURE_SWAP_DATA (closure)) 1004s # { 1004s # data1 = closure->data; 1004s # data2 = instance; 1004s # } 1004s # else 1004s # { 1004s # data1 = instance; 1004s # data2 = closure->data; 1004s # } 1004s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1004s # 1004s # callback (data1, 1004s # arg0, 1004s # data2); 1004s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1004s # g_variant_unref (arg0); 1004s # } 1004s 1..8 1004s ok - glib/genmarshal.py.test 1004s # Running test: glib/gdbus-proxy-threads.test 1004s TAP version 14 1004s # random seed: R02Sd465be7a1ee53d7d9965667ee74facb8 1004s 1..1 1004s # Start of gdbus tests 1004s # Start of proxy tests 1004s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_U5Z6Z2/gdbus/proxy/vs-threads/.dirs/home 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_U5Z6Z2/gdbus/proxy/vs-threads/.dirs/cache 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_U5Z6Z2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_U5Z6Z2/gdbus/proxy/vs-threads/.dirs/system-config2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_U5Z6Z2/gdbus/proxy/vs-threads/.dirs/config 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_U5Z6Z2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_U5Z6Z2/gdbus/proxy/vs-threads/.dirs/system-data2 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_U5Z6Z2/gdbus/proxy/vs-threads/.dirs/data 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_U5Z6Z2/gdbus/proxy/vs-threads/.dirs/state 1004s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_U5Z6Z2/gdbus/proxy/vs-threads/.dirs/runtime 1004s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1005s ok 1 /gdbus/proxy/vs-threads 1005s # slow test /gdbus/proxy/vs-threads executed in 0.94 secs 1005s # End of proxy tests 1005s # End of gdbus tests 1005s cleaning up pid 8869 1005s ok - glib/gdbus-proxy-threads.test 1005s # Running test: glib/mappedfile.test 1005s TAP version 14 1005s # random seed: R02Sa46a418ef334ae500506ce8bfb4ad32f 1005s 1..7 1005s # Start of mappedfile tests 1005s ok 1 /mappedfile/basic 1005s ok 2 /mappedfile/empty 1005s ok 3 /mappedfile/device 1005s ok 4 /mappedfile/nonexisting 1005s ok 5 /mappedfile/writable 1005s ok 6 /mappedfile/writable_fd 1005s ok - glib/mappedfile.test 1005s # Running test: glib/file-thumbnail.test 1005s ok 7 /mappedfile/gbytes 1005s # End of mappedfile tests 1005s TAP version 14 1005s # random seed: R02S1dc40b4b6ebd389030d8a4e4e47966e0 1005s 1..7 1005s # Start of file-thumbnail tests 1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/fail/.dirs/home 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/fail/.dirs/cache 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/fail/.dirs/system-config2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/fail/.dirs/config 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/fail/.dirs/system-data2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/fail/.dirs/data 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/fail/.dirs/state 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/fail/.dirs/runtime 1005s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1005s # Created test thumbnail at /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1005s ok 1 /file-thumbnail/fail 1005s ok - glib/file-thumbnail.test 1005s # Running test: glib/cond.test 1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/size-priority/.dirs/home 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/size-priority/.dirs/cache 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/size-priority/.dirs/system-config2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/size-priority/.dirs/config 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/size-priority/.dirs/system-data2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/size-priority/.dirs/data 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/size-priority/.dirs/state 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/size-priority/.dirs/runtime 1005s # Created test thumbnail at /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1005s # Created test thumbnail at /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1005s # Created test thumbnail at /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1005s # Created test thumbnail at /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1005s # Created test thumbnail at /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1005s ok 2 /file-thumbnail/size-priority 1005s # Start of valid tests 1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/normal/.dirs/home 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/normal/.dirs/cache 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/normal/.dirs/system-config2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/normal/.dirs/config 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/normal/.dirs/system-data2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/normal/.dirs/data 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/normal/.dirs/state 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/normal/.dirs/runtime 1005s # Created test thumbnail at /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1005s ok 3 /file-thumbnail/valid/normal 1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/large/.dirs/home 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/large/.dirs/cache 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/large/.dirs/system-config2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/large/.dirs/config 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/large/.dirs/system-data2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/large/.dirs/data 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/large/.dirs/state 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/large/.dirs/runtime 1005s # Created test thumbnail at /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1005s ok 4 /file-thumbnail/valid/large 1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/x-large/.dirs/home 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/x-large/.dirs/cache 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/x-large/.dirs/system-config2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/x-large/.dirs/config 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/x-large/.dirs/system-data2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/x-large/.dirs/data 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/x-large/.dirs/state 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/x-large/.dirs/runtime 1005s # Created test thumbnail at /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1005s ok 5 /file-thumbnail/valid/x-large 1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/xx-large/.dirs/home 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/xx-large/.dirs/cache 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/xx-large/.dirs/system-config2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/xx-large/.dirs/config 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/xx-large/.dirs/system-data2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/xx-large/.dirs/data 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/xx-large/.dirs/state 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/xx-large/.dirs/runtime 1005s # Created test thumbnail at /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1005s ok 6 /file-thumbnail/valid/xx-large 1005s # End of valid tests 1005s # Start of unknown tests 1005s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/unknown/super-large/.dirs/home 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/unknown/super-large/.dirs/cache 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/unknown/super-large/.dirs/system-config2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/unknown/super-large/.dirs/config 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/unknown/super-large/.dirs/system-data2 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/unknown/super-large/.dirs/data 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/unknown/super-large/.dirs/state 1005s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/unknown/super-large/.dirs/runtime 1005s # Created test thumbnail at /tmp/test_file-thumbnail_9KR4Z2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1005s ok 7 /file-thumbnail/unknown/super-large 1005s # End of unknown tests 1005s # End of file-thumbnail tests 1005s TAP version 14 1005s # random seed: R02Sba21a06790ac8432b9ac2afb7c5930f6 1005s 1..4 1005s # Start of thread tests 1005s ok 1 /thread/cond1 1005s ok 2 /thread/cond2 1005s # Start of cond tests 1006s # Executing: glib/cond.test 1006s ok 3 /thread/cond/wait-until 1006s # slow test /thread/cond/wait-until executed in 1.02 secs 1006s # Start of wait-until tests 1006s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1006s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1007s ok - glib/cond.test 1007s ok 4 /thread/cond/wait-until/contended-and-interrupted 1007s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1007s # End of wait-until tests 1007s # End of cond tests 1007s # End of thread tests 1007s # Running test: glib/overflow.test 1007s TAP version 14 1007s # random seed: R02S902815034b9f888fc7555d8a25c0bdea 1007s 1..6 1007s # Start of glib tests 1007s # Start of checked-math tests 1007s ok 1 /glib/checked-math/guint-add 1007s ok 2 /glib/checked-math/guint-mul 1007s ok 3 /glib/checked-math/guint64-add 1007s ok 4 /glib/checked-math/guint64-mul 1007s ok 5 /glib/checked-math/gsize-add 1007s ok 6 /glib/checked-math/gsize-mul 1007s # End of checked-math tests 1007s # End of glib tests 1007s ok - glib/overflow.test 1007s # Running test: glib/function-info.test 1007s TAP version 14 1007s # random seed: R02Se9bdd5b1198c54b0bd6744487b8bd596 1007s 1..1 1007s # Start of function-info tests 1007s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_5KDE02/function-info/invoker/.dirs/home 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_5KDE02/function-info/invoker/.dirs/cache 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_5KDE02/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_5KDE02/function-info/invoker/.dirs/system-config2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_5KDE02/function-info/invoker/.dirs/config 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_5KDE02/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_5KDE02/function-info/invoker/.dirs/system-data2 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_5KDE02/function-info/invoker/.dirs/data 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_5KDE02/function-info/invoker/.dirs/state 1007s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_5KDE02/function-info/invoker/.dirs/runtime 1007s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1007s # /function-info/invoker summary: Test preparing a function invoker 1007s ok 1 /function-info/invoker 1007s # End of function-info tests 1007s ok - glib/function-info.test 1008s # Running test: glib/signals-refcount3.test 1008s TAP version 14 1008s # random seed: R02S64709033298d25263dd6ef6c831fe84f 1008s 1..1 1008s # Start of gobject tests 1008s # Start of refcount tests 1008s # init 0x5615d98c3420 1008s # 1008s # init 0x5615d98c35c0 1008s # 1011s # Executing: glib/signals-refcount3.test 1012s # dispose 0x5615d98c3420! 1012s # 1012s ok - glib/signals-refcount3.test 1012s # dispose 0x5615d98c35c0! 1012s # 1012s ok 1 /gobject/refcount/signals 1012s # slow test /gobject/refcount/signals executed in 5.00 secs 1012s # End of refcount tests 1012s # End of gobject tests 1012s TAP version 14 1012s # random seed: R02Sb2fab21a17c72b75e286a8da06256363 1012s 1..4 1012s # Start of C tests 1012s ok 1 /C/standard-99 1012s # End of C tests 1012s # Start of alignof tests 1012s ok 2 /alignof/fallback 1012s # End of alignof tests 1012s # Start of assert tests 1012s ok 3 /assert/static 1012s # End of assert tests 1012s # Start of struct tests 1012s ok 4 /struct/sizeof_member 1012s # End of struct tests 1012s # Running test: glib/macros-c-99.test 1012s ok - glib/macros-c-99.test 1013s # Running test: glib/markup.test 1013s ok - glib/markup.test 1013s # Running test: glib/gdbus-proxy.test 1013s TAP version 14 1013s # random seed: R02S9a25f258cdcf33c35c9d0cc7cf9ac73a 1013s 1..1 1013s # Start of markup tests 1013s ok 1 /markup/stack 1013s # End of markup tests 1013s TAP version 14 1013s # random seed: R02S48ed21201804faa307471b5406b7e6fe 1013s 1..5 1013s # Start of gdbus tests 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/.dirs/runtime 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1014s ok 1 /gdbus/proxy 1014s # slow test /gdbus/proxy executed in 1.72 secs 1014s # Start of proxy tests 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/no-properties/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/no-properties/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/no-properties/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/no-properties/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/no-properties/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/no-properties/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/no-properties/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/no-properties/.dirs/runtime 1014s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1014s ok 2 /gdbus/proxy/no-properties 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/wellknown-noauto/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/wellknown-noauto/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/wellknown-noauto/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/wellknown-noauto/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/wellknown-noauto/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/wellknown-noauto/.dirs/runtime 1014s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1014s ok 3 /gdbus/proxy/wellknown-noauto 1014s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/async/.dirs/home 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/async/.dirs/cache 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/async/.dirs/system-config2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/async/.dirs/config 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/async/.dirs/system-data2 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/async/.dirs/data 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/async/.dirs/state 1014s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/async/.dirs/runtime 1014s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1016s # Executing: glib/gdbus-proxy.test 1016s ok 4 /gdbus/proxy/async 1016s # slow test /gdbus/proxy/async executed in 1.72 secs 1016s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/no-match-rule/.dirs/home 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/no-match-rule/.dirs/cache 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/no-match-rule/.dirs/system-config2 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/no-match-rule/.dirs/config 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/no-match-rule/.dirs/system-data2 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/no-match-rule/.dirs/data 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/no-match-rule/.dirs/state 1016s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_OPRE02/gdbus/proxy/no-match-rule/.dirs/runtime 1016s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1016s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1016s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1018s ok 5 /gdbus/proxy/no-match-rule 1018s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 1018s # End of proxy tests 1018s # End of gdbus tests 1018s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1018s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1018s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1018s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1018s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1018s ok - glib/gdbus-proxy.test 1018s # Running test: glib/permission.test 1018s TAP version 14 1018s ok - glib/permission.test 1018s # Running test: glib/onceinit.test 1018s # random seed: R02S2ef0e328fd6a0bf7e9df9c1f9b196014 1018s 1..1 1018s # Start of permission tests 1018s ok 1 /permission/simple 1018s # End of permission tests 1018s TAP version 14 1018s # random seed: R02S6ebb06fdc857f1a6c6dde8362e24d4fb 1018s 1..1 1018s # Start of thread tests 1018s ok 1 /thread/onceinit 1018s # End of thread tests 1018s ok - glib/onceinit.test 1018s # Running test: glib/overflow-fallback.test 1018s TAP version 14 1018s # random seed: R02S8ad35df813767a74d8be9efc10e207cd 1018s 1..6 1018s # Start of glib tests 1018s # Start of checked-math tests 1018s ok 1 /glib/checked-math/guint-add 1018s ok 2 /glib/checked-math/guint-mul 1018s ok 3 /glib/checked-math/guint64-add 1018s ok 4 /glib/checked-math/guint64-mul 1018s ok 5 /glib/checked-math/gsize-add 1018s ok 6 /glib/checked-math/gsize-mul 1018s # End of checked-math tests 1018s # End of glib tests 1018s ok - glib/overflow-fallback.test 1018s # Running test: glib/gnotification.test 1018s TAP version 14 1018s # random seed: R02S0829afbf87d95f7eb7fc3b38e2d7b1ad 1018s 1..2 1018s # Start of gnotification tests 1018s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1018s ok 1 /gnotification/basic 1018s ok 2 /gnotification/properties 1018s # End of gnotification tests 1018s ok - glib/gnotification.test 1018s # Running test: glib/gobject-private.test 1018s ok - glib/gobject-private.test 1018s # Running test: glib/gdbus-threading.test 1018s ok - glib/gdbus-threading.test 1018s # Running test: glib/gdbus-introspection.test 1018s TAP version 14 1018s # random seed: R02Seb32491b0bd3054e77c2a5153ae97795 1018s 1..3 1018s # Start of private tests 1018s ok 1 /private/instance 1018s ok 2 /private/derived-instance 1018s ok 3 /private/mixed-derived-instance 1018s # End of private tests 1018s TAP version 14 1018s # random seed: R02S4d2d1ba570d6638f14d2933eb3a9070a 1018s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1018s TAP version 14 1018s # random seed: R02Sd9760850b8c649ad5982a07ed9800c0a 1018s 1..4 1018s # Start of gdbus tests 1018s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-parser/.dirs/home 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-parser/.dirs/cache 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-parser/.dirs/system-config2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-parser/.dirs/config 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-parser/.dirs/system-data2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-parser/.dirs/data 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-parser/.dirs/state 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-parser/.dirs/runtime 1018s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1018s ok 1 /gdbus/introspection-parser 1018s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-generate/.dirs/home 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-generate/.dirs/cache 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-generate/.dirs/system-config2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-generate/.dirs/config 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-generate/.dirs/system-data2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-generate/.dirs/data 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-generate/.dirs/state 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-generate/.dirs/runtime 1018s ok 2 /gdbus/introspection-generate 1018s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-default-direction/.dirs/home 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-default-direction/.dirs/cache 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-default-direction/.dirs/system-config2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-default-direction/.dirs/config 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-default-direction/.dirs/system-data2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-default-direction/.dirs/data 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-default-direction/.dirs/state 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-default-direction/.dirs/runtime 1018s ok 3 /gdbus/introspection-default-direction 1018s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-extra-data/.dirs/home 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-extra-data/.dirs/cache 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-extra-data/.dirs/system-config2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-extra-data/.dirs/config 1018s ok - glib/gdbus-introspection.test 1018s # Running test: glib/assert-msg-test.py.test 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-extra-data/.dirs/system-data2 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-extra-data/.dirs/data 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-extra-data/.dirs/state 1018s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_MT5F02/gdbus/introspection-extra-data/.dirs/runtime 1018s ok 4 /gdbus/introspection-extra-data 1018s # End of gdbus tests 1018s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1018s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1018s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1018s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1018s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1018s TAP version 13 1018s ok 1 __main__.TestAssertMessage.test_gassert 1018s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1018s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1018s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1018s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1018s # Error: ** 1018s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1018s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1018s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1018s 1..2 1018s ok - glib/assert-msg-test.py.test 1018s # Running test: glib/gvariant.test 1018s TAP version 14 1018s # random seed: R02S5c0a53cd13c311dce99cfffc2bd3ea0e 1018s 1..64 1018s # Start of gvariant tests 1018s ok 1 /gvariant/type 1018s ok 2 /gvariant/typeinfo 1018s ok 3 /gvariant/string 1018s ok 4 /gvariant/utf8 1019s ok 5 /gvariant/containers 1019s # slow test /gvariant/containers executed in 0.84 secs 1019s ok 6 /gvariant/format-strings 1019s ok 7 /gvariant/invalid-varargs 1019s ok 8 /gvariant/varargs 1019s ok 9 /gvariant/valist 1019s ok 10 /gvariant/builder-memory 1019s ok 11 /gvariant/hashing 1019s ok 12 /gvariant/byteswap 1019s ok 13 /gvariant/parser 1019s ok 14 /gvariant/parse-failures 1019s ok 15 /gvariant/parse-positional 1019s ok 16 /gvariant/floating 1019s ok 17 /gvariant/bytestring 1019s ok 18 /gvariant/lookup-value 1019s ok 19 /gvariant/lookup 1019s ok 20 /gvariant/compare 1019s ok 21 /gvariant/equal 1019s ok 22 /gvariant/fixed-array 1019s ok 23 /gvariant/check-format-string 1019s ok 24 /gvariant/checksum-basic 1019s ok 25 /gvariant/checksum-nested 1019s ok 26 /gvariant/gbytes 1019s ok 27 /gvariant/print-context 1019s ok 28 /gvariant/error-quark 1019s ok 29 /gvariant/stack-builder-init 1019s ok 30 /gvariant/stack-dict-init 1019s ok 31 /gvariant/unaligned-construction 1019s # Start of type tests 1019s # Start of string-scan tests 1019s # Start of recursion tests 1019s ok 32 /gvariant/type/string-scan/recursion/tuple 1019s ok 33 /gvariant/type/string-scan/recursion/array 1019s # End of recursion tests 1019s # End of string-scan tests 1019s # End of type tests 1019s # Start of serialiser tests 1019s ok 34 /gvariant/serialiser/maybe 1019s ok 35 /gvariant/serialiser/array 1019s ok 36 /gvariant/serialiser/tuple 1019s ok 37 /gvariant/serialiser/variant 1019s ok 38 /gvariant/serialiser/strings 1020s ok 39 /gvariant/serialiser/byteswap 1020s # slow test /gvariant/serialiser/byteswap executed in 0.52 secs 1020s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1020s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1020s ok 40 /gvariant/serialiser/children 1020s # Start of fuzz tests 1020s ok 41 /gvariant/serialiser/fuzz/1% 1020s ok 42 /gvariant/serialiser/fuzz/5% 1020s ok 43 /gvariant/serialiser/fuzz/9% 1021s ok 44 /gvariant/serialiser/fuzz/13% 1021s # Executing: glib/gvariant.test 1021s ok 45 /gvariant/serialiser/fuzz/17% 1021s # End of fuzz tests 1021s # End of serialiser tests 1021s # Start of varargs tests 1021s # Start of subprocess tests 1021s # End of subprocess tests 1021s # End of varargs tests 1021s # Start of byteswap tests 1021s # /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. 1021s ok 46 /gvariant/byteswap/non-normal-non-aligned 1021s # End of byteswap tests 1021s # Start of parser tests 1021s ok 47 /gvariant/parser/integer-bounds 1021s ok 48 /gvariant/parser/recursion 1021s # Start of recursion tests 1021s ok 49 /gvariant/parser/recursion/typedecls 1021s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1021s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1021s # Text form 0: @mmmu 5 1021s # Text form 1: @mmmas ['hello'] 1021s # Text form 2: @mmmu just just nothing 1021s # Text form 3: @mmmas just just nothing 1021s # Text form 4: @mmmu just nothing 1021s # Text form 5: @mmmas just nothing 1021s # Text form 6: @mmmu nothing 1021s # Text form 7: @mmmas nothing 1021s ok 50 /gvariant/parser/recursion/maybes 1021s # End of recursion tests 1021s # End of parser tests 1021s # Start of parse tests 1021s # Start of subprocess tests 1021s # End of subprocess tests 1021s # End of parse tests 1021s # Start of normal-checking tests 1021s ok 51 /gvariant/normal-checking/tuples 1021s ok 52 /gvariant/normal-checking/array-offsets 1021s ok 53 /gvariant/normal-checking/array-offsets2 1021s ok 54 /gvariant/normal-checking/tuple-offsets 1021s ok 55 /gvariant/normal-checking/tuple-offsets2 1021s ok 56 /gvariant/normal-checking/tuple-offsets3 1021s ok 57 /gvariant/normal-checking/tuple-offsets4 1021s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1021s ok 58 /gvariant/normal-checking/tuple-offsets5 1021s ok 59 /gvariant/normal-checking/empty-object-path 1021s # Start of array-offsets tests 1021s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1021s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1021s # End of array-offsets tests 1021s # Start of tuple-offsets tests 1021s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1021s # End of tuple-offsets tests 1021s # End of normal-checking tests 1021s # Start of recursion-limits tests 1021s ok 63 /gvariant/recursion-limits/variant-in-variant 1021s ok 64 /gvariant/recursion-limits/array-in-variant 1021s # End of recursion-limits tests 1021s # End of gvariant tests 1021s ok - glib/gvariant.test 1021s # Running test: glib/bytes.test 1021s ok - glib/bytes.test 1021s # Running test: glib/fdo-notification-backend.test 1021s ok - glib/fdo-notification-backend.test 1021s # Running test: glib/thread.test 1021s ok - glib/thread.test 1021s # Running test: glib/cxx-11.test 1021s ok - glib/cxx-11.test 1021s # Running test: glib/markup-escape.test 1021s ok - glib/markup-escape.test 1021s # Running test: glib/portal-support-snap-classic.test 1021s ok - glib/portal-support-snap-classic.test 1021s # Running test: glib/custom-dispatch.test 1021s ok - glib/custom-dispatch.test 1021s # Running test: glib/data-output-stream.test 1021s TAP version 14 1021s # random seed: R02S6b31b9cf663178ebb089e293c09fa0c2 1021s 1..21 1021s # Start of bytes tests 1021s ok 1 /bytes/new 1021s ok 2 /bytes/new-take 1021s ok 3 /bytes/new-static 1021s ok 4 /bytes/new-with-free-func 1021s ok 5 /bytes/new-from-bytes 1021s ok 6 /bytes/new-from-bytes-slice 1021s ok 7 /bytes/new-from-bytes-shared-ref 1021s ok 8 /bytes/hash 1021s ok 9 /bytes/equal 1021s ok 10 /bytes/compare 1021s ok 11 /bytes/null 1021s ok 12 /bytes/get-region 1021s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1021s ok 13 /bytes/unref-null 1021s # Start of to-data tests 1021s ok 14 /bytes/to-data/transferred 1021s ok 15 /bytes/to-data/two-refs 1021s ok 16 /bytes/to-data/non-malloc 1021s ok 17 /bytes/to-data/different-free-func 1021s # End of to-data tests 1021s # Start of to-array tests 1021s ok 18 /bytes/to-array/transferred 1021s ok 19 /bytes/to-array/two-refs 1021s ok 20 /bytes/to-array/non-malloc 1021s # Start of transferred tests 1021s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1021s ok 21 /bytes/to-array/transferred/oversize 1021s # End of transferred tests 1021s # End of to-array tests 1021s # End of bytes tests 1021s TAP version 14 1021s # random seed: R02Sf764b6073999e810ab5114e228f59e2c 1021s 1..2 1021s # Start of fdo-notification-backend tests 1021s # Test constructing a GFdoNotificationBackend 1021s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1021s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1021s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1021s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1021s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1021s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1021s ok 1 /fdo-notification-backend/construction 1021s # Start of dbus tests 1021s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1021s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1021s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1021s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1021s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1021s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1021s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1021s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1021s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1021s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1021s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1021s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1021s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1021s ok 2 /fdo-notification-backend/dbus/activate-action 1021s # End of dbus tests 1021s # End of fdo-notification-backend tests 1021s TAP version 14 1021s # random seed: R02Sf150a4914b559fa3edf672fbea5260a1 1021s 1..7 1021s # Start of thread tests 1021s ok 1 /thread/thread1 1021s ok 2 /thread/thread2 1021s ok 3 /thread/thread3 1021s ok 4 /thread/thread4 1021s ok 5 /thread/thread5 1021s ok 6 /thread/thread6 1021s ok 7 /thread/thread7 1021s # End of thread tests 1021s TAP version 14 1021s # random seed: R02Sed8b25eb0a770d6b13f37dd4143d3f52 1021s 1..2 1021s # Start of gtask tests 1021s # 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. 1021s ok 1 /gtask/name 1021s # Start of name tests 1021s # 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. 1021s ok 2 /gtask/name/macro-wrapper 1021s # End of name tests 1021s # End of gtask tests 1021s TAP version 14 1021s # random seed: R02S4d1a7c4189828a40f623b1cafab149b9 1021s 1..41 1021s # Start of markup tests 1021s ok 1 /markup/format 1021s # Start of escape-text tests 1021s ok 2 /markup/escape-text/0 1021s ok 3 /markup/escape-text/1 1021s ok 4 /markup/escape-text/2 1021s ok 5 /markup/escape-text/3 1021s ok 6 /markup/escape-text/4 1021s ok 7 /markup/escape-text/5 1021s ok 8 /markup/escape-text/6 1021s ok 9 /markup/escape-text/7 1021s ok 10 /markup/escape-text/8 1021s ok 11 /markup/escape-text/9 1021s ok 12 /markup/escape-text/10 1021s ok 13 /markup/escape-text/11 1021s ok 14 /markup/escape-text/12 1021s ok 15 /markup/escape-text/13 1021s ok 16 /markup/escape-text/14 1021s ok 17 /markup/escape-text/15 1021s ok 18 /markup/escape-text/16 1021s ok 19 /markup/escape-text/17 1021s ok 20 /markup/escape-text/18 1021s ok 21 /markup/escape-text/19 1021s ok 22 /markup/escape-text/20 1021s ok 23 /markup/escape-text/21 1021s ok 24 /markup/escape-text/22 1021s # End of escape-text tests 1021s # Start of escape-unichar tests 1021s ok 25 /markup/escape-unichar/0 1021s ok 26 /markup/escape-unichar/1 1021s ok 27 /markup/escape-unichar/2 1021s ok 28 /markup/escape-unichar/3 1021s ok 29 /markup/escape-unichar/4 1021s ok 30 /markup/escape-unichar/5 1021s ok 31 /markup/escape-unichar/6 1021s ok 32 /markup/escape-unichar/7 1021s ok 33 /markup/escape-unichar/8 1021s ok 34 /markup/escape-unichar/9 1021s ok 35 /markup/escape-unichar/10 1021s ok 36 /markup/escape-unichar/11 1021s ok 37 /markup/escape-unichar/12 1021s ok 38 /markup/escape-unichar/13 1021s ok 39 /markup/escape-unichar/14 1021s ok 40 /markup/escape-unichar/15 1021s ok 41 /markup/escape-unichar/16 1021s # End of escape-unichar tests 1021s # End of markup tests 1021s TAP version 14 1021s # random seed: R02Sc58520f33f73fc7514a3a6de3eb8ed73 1021s 1..3 1021s # Start of portal-support tests 1021s # Start of snap-classic tests 1021s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/no-snapctl/.dirs/home 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/no-snapctl/.dirs/cache 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/no-snapctl/.dirs/config 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/no-snapctl/.dirs/data 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/no-snapctl/.dirs/state 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/no-snapctl/.dirs/runtime 1021s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/no-snapctl: No such file or directory 1021s ok 1 /portal-support/snap-classic/no-snapctl 1021s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/none/.dirs/home 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/none/.dirs/cache 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/none/.dirs/system-config2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/none/.dirs/config 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/none/.dirs/system-data2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/none/.dirs/data 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/none/.dirs/state 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/none/.dirs/runtime 1021s # Created snap.yaml in /tmp/test_portal-support-snap-classic_SYFO02/meta/snap.yaml 1021s # Created snapctl in /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/none/.dirs/runtime/snapctl 1021s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/none: No such file or directory 1021s ok 2 /portal-support/snap-classic/none 1021s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/all/.dirs/home 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/all/.dirs/cache 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/all/.dirs/system-config2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/all/.dirs/config 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/all/.dirs/system-data2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/all/.dirs/data 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/all/.dirs/state 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/all/.dirs/runtime 1021s # Created snap.yaml in /tmp/test_portal-support-snap-classic_SYFO02/meta/snap.yaml 1021s # Created snapctl in /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/all/.dirs/runtime/snapctl 1021s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_SYFO02/portal-support/snap-classic/all: No such file or directory 1021s ok 3 /portal-support/snap-classic/all 1021s # End of snap-classic tests 1021s # End of portal-support tests 1021s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_SYFO02: No such file or directory 1021s TAP version 14 1021s # random seed: R02Seb505510e6740f88c8a35f77b5a0a48a 1021s 1..2 1021s # Start of properties tests 1021s # Start of custom-dispatch tests 1021s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1021s ok 1 /properties/custom-dispatch/init 1021s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1021s ok 2 /properties/custom-dispatch/set 1021s # End of custom-dispatch tests 1021s # End of properties tests 1021s TAP version 14 1021s # random seed: R02S6a4bf51df5365f6003dbb1c33c06ee2f 1021s 1..7 1021s # Start of data-output-stream tests 1021s ok 1 /data-output-stream/basic 1021s ok 2 /data-output-stream/write-lines-LF 1021s ok 3 /data-output-stream/write-lines-CR 1021s ok 4 /data-output-stream/write-lines-CR-LF 1021s ok 5 /data-output-stream/write-int 1021s ok - glib/data-output-stream.test 1021s # Running test: glib/once.test 1021s ok 6 /data-output-stream/seek 1021s ok 7 /data-output-stream/truncate 1021s # End of data-output-stream tests 1021s TAP version 14 1021s # random seed: R02S5bcb126c3edc74833302954900d32396 1021s ok - glib/once.test 1021s # Running test: glib/include.test 1021s ok - glib/include.test 1021s # Running test: glib/value.test 1021s ok - glib/value.test 1021s # Running test: glib/gdbus-bz627724.test 1021s ok - glib/gdbus-bz627724.test 1021s # Running test: glib/simple-async-result.test 1021s ok - glib/simple-async-result.test 1021s # Running test: glib/gsubprocess.test 1021s 1..5 1021s # Start of once tests 1021s # /once/single-threaded summary: Test g_once() usage from a single thread 1021s ok 1 /once/single-threaded 1021s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1021s ok 2 /once/multi-threaded 1021s # End of once tests 1021s # Start of once-init tests 1021s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1021s ok 3 /once-init/single-threaded 1021s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1021s ok 4 /once-init/multi-threaded 1021s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1021s ok 5 /once-init/string 1021s # End of once-init tests 1021s TAP version 14 1021s # random seed: R02Sf5afeada3fb3a9c83e68f8fba56429ff 1021s 1..1 1021s # Start of include tests 1021s ok 1 /include/rwlock 1021s # End of include tests 1021s TAP version 14 1021s # random seed: R02Se9bc1097a57906f3d58c9b8275d3f708 1021s 1..9 1021s # Start of value tests 1021s ok 1 /value/basic 1021s ok 2 /value/collection 1021s ok 3 /value/copying 1021s ok 4 /value/enum-transformation 1021s ok 5 /value/gtype 1021s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1021s ok 6 /value/string 1021s # Next: GObject object in GValue of GObject to GValue of GObject 1021s # Next: GObject object in GValue of GObject to GValue of TestInterface 1021s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1021s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1021s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1021s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1021s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1021s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1021s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1021s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1021s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1021s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1021s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1021s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1021s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1021s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1021s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1021s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1021s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1021s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1021s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1021s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1021s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1021s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1021s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1021s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1021s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1021s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1021s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1021s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1021s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1021s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1021s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1021s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1021s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1021s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1021s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1021s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1021s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1021s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1021s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1021s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1021s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1021s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1021s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1021s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1021s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1021s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1021s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1021s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1021s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1021s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1021s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1021s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1021s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1021s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1021s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1021s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1021s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1021s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1021s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1021s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1021s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1021s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1021s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1021s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1021s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1021s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1021s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1021s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1021s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1021s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1021s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1021s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1021s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1021s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1021s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1021s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1021s ok 7 /value/transform-object 1021s # Start of array tests 1021s ok 8 /value/array/basic 1021s ok 9 /value/array/sort-with-data 1021s # End of array tests 1021s # End of value tests 1021s TAP version 14 1021s # random seed: R02S002a616780fb6f6251f3aea980e6472e 1021s 1..1 1021s # Start of gdbus tests 1021s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_QQMP02/gdbus/bz627724/.dirs/home 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_QQMP02/gdbus/bz627724/.dirs/cache 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_QQMP02/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_QQMP02/gdbus/bz627724/.dirs/system-config2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_QQMP02/gdbus/bz627724/.dirs/config 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_QQMP02/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_QQMP02/gdbus/bz627724/.dirs/system-data2 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_QQMP02/gdbus/bz627724/.dirs/data 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_QQMP02/gdbus/bz627724/.dirs/state 1021s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_QQMP02/gdbus/bz627724/.dirs/runtime 1021s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1021s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1021s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1021s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1021s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1021s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1021s ok 1 /gdbus/bz627724 1021s # End of gdbus tests 1021s TAP version 14 1021s # random seed: R02S436d0f80fb1df17aa0b5eef167638e94 1021s 1..2 1021s # Start of gio tests 1021s # Start of simple-async-result tests 1021s ok 1 /gio/simple-async-result/test 1021s # GLib-GIO-DEBUG: GTask 0x60f4103d8720 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1021s ok 2 /gio/simple-async-result/valid 1021s # End of simple-async-result tests 1021s # End of gio tests 1021s TAP version 14 1021s # random seed: R02S3d1e85558ef174d6a743515014184353 1021s 1..83 1021s # Start of gsubprocess tests 1021s ok 1 /gsubprocess/noop 1021s ok 2 /gsubprocess/noop-all-to-null 1021s ok 3 /gsubprocess/noop-no-wait 1021s ok 4 /gsubprocess/noop-stdin-inherit 1021s ok 5 /gsubprocess/search-path 1021s ok 6 /gsubprocess/search-path-from-envp 1024s ok 7 /gsubprocess/signal 1024s # slow test /gsubprocess/signal executed in 2.79 secs 1024s ok 8 /gsubprocess/exit1 1024s ok 9 /gsubprocess/echo1 1024s ok 10 /gsubprocess/echo-merged 1024s ok 11 /gsubprocess/cat-utf8 1025s ok 12 /gsubprocess/cat-eof 1025s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1026s # Executing: glib/gsubprocess.test 1028s ok 13 /gsubprocess/multi1 1028s # slow test /gsubprocess/multi1 executed in 3.01 secs 1028s ok 14 /gsubprocess/communicate 1031s # Executing: glib/gsubprocess.test 1031s ok 15 /gsubprocess/terminate 1031s # slow test /gsubprocess/terminate executed in 2.98 secs 1031s ok 16 /gsubprocess/env 1031s ok 17 /gsubprocess/cwd 1031s ok 18 /gsubprocess/launcher-close 1031s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1031s ok 19 /gsubprocess/stdout-file 1031s ok 20 /gsubprocess/stdout-fd 1031s ok 21 /gsubprocess/child-setup 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s ok 22 /gsubprocess/launcher-environment 1031s # Start of exit1 tests 1031s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1031s ok 23 /gsubprocess/exit1/cancel 1031s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1031s ok 24 /gsubprocess/exit1/cancel_in_cb 1031s # End of exit1 tests 1031s # Start of communicate tests 1031s ok 25 /gsubprocess/communicate/cancelled 1031s ok 26 /gsubprocess/communicate/async 1031s ok 27 /gsubprocess/communicate/utf8 1031s # hello world 1031s ok 28 /gsubprocess/communicate/no-pipes 1031s ok 29 /gsubprocess/communicate/separate-stderr 1031s ok 30 /gsubprocess/communicate/stdout-only 1031s # hello world 1031s ok 31 /gsubprocess/communicate/stderr-only 1031s ok 32 /gsubprocess/communicate/stdout-silence 1031s ok 33 /gsubprocess/communicate/nothing 1031s # Start of async tests 1031s ok 34 /gsubprocess/communicate/async/cancelled 1031s # hello world 1031s ok 35 /gsubprocess/communicate/async/no-pipes 1031s ok 36 /gsubprocess/communicate/async/separate-stderr 1031s ok 37 /gsubprocess/communicate/async/stdout-only 1031s # hello world 1031s ok 38 /gsubprocess/communicate/async/stderr-only 1031s ok 39 /gsubprocess/communicate/async/stdout-silence 1031s # Start of cancelled tests 1031s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1031s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1031s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1031s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1031s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1031s # End of cancelled tests 1031s # End of async tests 1031s # Start of utf8 tests 1031s ok 45 /gsubprocess/communicate/utf8/cancelled 1031s ok 46 /gsubprocess/communicate/utf8/async 1031s # hello world 1031s ok 47 /gsubprocess/communicate/utf8/no-pipes 1031s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1031s ok 49 /gsubprocess/communicate/utf8/stdout-only 1031s # hello world 1031s ok 50 /gsubprocess/communicate/utf8/stderr-only 1031s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1031s ok 52 /gsubprocess/communicate/utf8/invalid 1031s # Start of async tests 1031s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1031s # hello world 1031s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1031s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1031s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1031s # hello world 1031s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1031s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1031s ok 59 /gsubprocess/communicate/utf8/async/invalid 1031s # Start of cancelled tests 1031s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1031s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1031s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1031s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1031s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1031s # End of cancelled tests 1031s # End of async tests 1031s # Start of cancelled tests 1031s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1031s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1031s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1031s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1031s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1031s # End of cancelled tests 1031s # End of utf8 tests 1031s # Start of cancelled tests 1031s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1031s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1031s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1031s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1031s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1031s # End of cancelled tests 1031s # End of communicate tests 1031s # Start of env tests 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s ok 75 /gsubprocess/env/inherit 1031s # End of env tests 1031s # Start of pass-fd tests 1031s ok 76 /gsubprocess/pass-fd/basic 1031s ok 77 /gsubprocess/pass-fd/empty-child-setup 1031s ok 78 /gsubprocess/pass-fd/inherit-fds 1031s # End of pass-fd tests 1031s # Start of fd-conflation tests 1031s ok 79 /gsubprocess/fd-conflation/basic 1031s ok - glib/gsubprocess.test 1031s # Running test: glib/gdbus-error.test 1031s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1031s ok 81 /gsubprocess/fd-conflation/inherit-fds 1031s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1031s # End of fd-conflation tests 1031s # Start of exit-status tests 1031s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1031s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1031s ok 83 /gsubprocess/exit-status/trapped 1031s # End of exit-status tests 1031s # End of gsubprocess tests 1031s TAP version 14 1031s # random seed: R02S6d4541c306276937f116f0ca4b88c217 1031s 1..4 1031s # Start of gdbus tests 1031s ok - glib/gdbus-error.test 1031s # Running test: glib/repository-search-paths.test 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_SMEQ02/gdbus/registered-errors/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_SMEQ02/gdbus/registered-errors/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_SMEQ02/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_SMEQ02/gdbus/registered-errors/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_SMEQ02/gdbus/registered-errors/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_SMEQ02/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_SMEQ02/gdbus/registered-errors/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_SMEQ02/gdbus/registered-errors/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_SMEQ02/gdbus/registered-errors/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_SMEQ02/gdbus/registered-errors/.dirs/runtime 1031s ok 1 /gdbus/registered-errors 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_SMEQ02/gdbus/unregistered-errors/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_SMEQ02/gdbus/unregistered-errors/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_SMEQ02/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_SMEQ02/gdbus/unregistered-errors/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_SMEQ02/gdbus/unregistered-errors/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_SMEQ02/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_SMEQ02/gdbus/unregistered-errors/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_SMEQ02/gdbus/unregistered-errors/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_SMEQ02/gdbus/unregistered-errors/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_SMEQ02/gdbus/unregistered-errors/.dirs/runtime 1031s ok 2 /gdbus/unregistered-errors 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_SMEQ02/gdbus/transparent-gerror/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_SMEQ02/gdbus/transparent-gerror/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_SMEQ02/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_SMEQ02/gdbus/transparent-gerror/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_SMEQ02/gdbus/transparent-gerror/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_SMEQ02/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_SMEQ02/gdbus/transparent-gerror/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_SMEQ02/gdbus/transparent-gerror/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_SMEQ02/gdbus/transparent-gerror/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_SMEQ02/gdbus/transparent-gerror/.dirs/runtime 1031s ok 3 /gdbus/transparent-gerror 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_SMEQ02/gdbus/register-error/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_SMEQ02/gdbus/register-error/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_SMEQ02/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_SMEQ02/gdbus/register-error/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_SMEQ02/gdbus/register-error/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_SMEQ02/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_SMEQ02/gdbus/register-error/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_SMEQ02/gdbus/register-error/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_SMEQ02/gdbus/register-error/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_SMEQ02/gdbus/register-error/.dirs/runtime 1031s ok 4 /gdbus/register-error 1031s # End of gdbus tests 1031s TAP version 14 1031s # random seed: R02S9bcc74190f3f428a05989c8263d1cb6b 1031s 1..4 1031s # Start of repository tests 1031s # Start of search-paths tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_W3PQ02/repository/search-paths/default/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_W3PQ02/repository/search-paths/default/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_W3PQ02/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_W3PQ02/repository/search-paths/default/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_W3PQ02/repository/search-paths/default/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_W3PQ02/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_W3PQ02/repository/search-paths/default/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_W3PQ02/repository/search-paths/default/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_W3PQ02/repository/search-paths/default/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_W3PQ02/repository/search-paths/default/.dirs/runtime 1031s ok 1 /repository/search-paths/default 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_W3PQ02/repository/search-paths/prepend/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_W3PQ02/repository/search-paths/prepend/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_W3PQ02/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_W3PQ02/repository/search-paths/prepend/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_W3PQ02/repository/search-paths/prepend/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_W3PQ02/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_W3PQ02/repository/search-paths/prepend/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_W3PQ02/repository/search-paths/prepend/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_W3PQ02/repository/search-paths/prepend/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_W3PQ02/repository/search-paths/prepend/.dirs/runtime 1031s ok 2 /repository/search-paths/prepend 1031s # End of search-paths tests 1031s # Start of library-paths tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_W3PQ02/repository/library-paths/default/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_W3PQ02/repository/library-paths/default/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_W3PQ02/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_W3PQ02/repository/library-paths/default/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_W3PQ02/repository/library-paths/default/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_W3PQ02/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_W3PQ02/repository/library-paths/default/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_W3PQ02/repository/library-paths/default/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_W3PQ02/repository/library-paths/default/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_W3PQ02/repository/library-paths/default/.dirs/runtime 1031s ok 3 /repository/library-paths/default 1031s ok - glib/repository-search-paths.test 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_W3PQ02/repository/library-paths/prepend/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_W3PQ02/repository/library-paths/prepend/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_W3PQ02/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_W3PQ02/repository/library-paths/prepend/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_W3PQ02/repository/library-paths/prepend/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_W3PQ02/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_W3PQ02/repository/library-paths/prepend/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_W3PQ02/repository/library-paths/prepend/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_W3PQ02/repository/library-paths/prepend/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_W3PQ02/repository/library-paths/prepend/.dirs/runtime 1031s ok 4 /repository/library-paths/prepend 1031s # End of library-paths tests 1031s # End of repository tests 1031s # Running test: glib/object.test 1031s ok - glib/object.test 1031s # Running test: glib/gobject-query.py.test 1031s TAP version 14 1031s # random seed: R02Scc6e8b4b67a59792247f1d0de4065401 1031s 1..2 1031s # Start of object tests 1031s # Start of constructor tests 1031s ok 1 /object/constructor/singleton 1031s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1031s # End of constructor tests 1031s # End of object tests 1031s TAP version 13 1031s ok 1 __main__.TestGobjectQuery.test_froots 1031s # gobject-query: /usr/bin/gobject-query 1031s # Running: ['/usr/bin/gobject-query', 'froots'] 1031s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1031s # Output: ├void 1031s # ├GInterface 1031s # │ â””GTypePlugin 1031s # ├gchar 1031s # ├guchar 1031s # ├gboolean 1031s # ├gint 1031s # ├guint 1031s # ├glong 1031s # ├gulong 1031s # ├gint64 1031s # ├guint64 1031s # ├GEnum 1031s # ├GFlags 1031s # ├gfloat 1031s # ├gdouble 1031s # ├gchararray 1031s # ├gpointer 1031s # │ â””GType 1031s # ├GBoxed 1031s # │ â””GValueArray 1031s # ├GParam 1031s # │ ├GParamChar 1031s # │ ├GParamUChar 1031s # │ ├GParamBoolean 1031s # │ ├GParamInt 1031s # │ ├GParamUInt 1031s # │ ├GParamLong 1031s # │ ├GParamULong 1031s # │ ├GParamInt64 1031s # │ ├GParamUInt64 1031s # │ ├GParamUnichar 1031s # │ ├GParamEnum 1031s # │ ├GParamFlags 1031s # │ ├GParamFloat 1031s # │ ├GParamDouble 1031s # │ ├GParamString 1031s # │ ├GParamParam 1031s # │ ├GParamBoxed 1031s # │ ├GParamPointer 1031s # │ ├GParamValueArray 1031s # │ ├GParamObject 1031s # │ ├GParamOverride 1031s # │ ├GParamGType 1031s # │ â””GParamVariant 1031s # ├GObject 1031s # â””GVariant 1031s ok 2 __main__.TestGobjectQuery.test_help 1031s # gobject-query: /usr/bin/gobject-query 1031s # Running: ['/usr/bin/gobject-query', '--help'] 1031s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1031s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1031s # -r specify root type 1031s # -n don't descend type tree 1031s # -h show help 1031s # -b specify indent string 1031s # -i specify incremental indent string 1031s # -s specify line spacing 1031s # qualifiers: 1031s # froots iterate over fundamental roots 1031s # tree print type tree 1031s ok 3 __main__.TestGobjectQuery.test_tree 1031s # gobject-query: /usr/bin/gobject-query 1031s # Running: ['/usr/bin/gobject-query', 'tree'] 1031s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1031s # Output: GObject 1031s ok - glib/gobject-query.py.test 1031s # Running test: glib/boxed.test 1031s ok - glib/boxed.test 1031s # Running test: glib/gdbus-subscribe.test 1031s ok 4 __main__.TestGobjectQuery.test_version 1031s # gobject-query: /usr/bin/gobject-query 1031s # Running: ['/usr/bin/gobject-query', '--version'] 1031s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1031s # Output: 2.82.4 1031s 1..4 1031s TAP version 14 1031s # random seed: R02S4609b1344638ff21c6fd2cb010f652cb 1031s 1..27 1031s # Start of boxed tests 1031s ok 1 /boxed/define 1031s ok 2 /boxed/ownership 1031s ok 3 /boxed/closure 1031s ok 4 /boxed/date 1031s ok 5 /boxed/value 1031s ok 6 /boxed/string 1031s ok 7 /boxed/hashtable 1031s ok 8 /boxed/array 1031s ok 9 /boxed/ptrarray 1031s ok 10 /boxed/regex 1031s ok 11 /boxed/varianttype 1031s ok 12 /boxed/error 1031s ok 13 /boxed/datetime 1031s ok 14 /boxed/matchinfo 1031s ok 15 /boxed/keyfile 1031s ok 16 /boxed/mainloop 1031s ok 17 /boxed/maincontext 1031s ok 18 /boxed/source 1031s ok 19 /boxed/variantbuilder 1031s ok 20 /boxed/timezone 1031s ok 21 /boxed/pollfd 1031s ok 22 /boxed/markup 1031s ok 23 /boxed/thread 1031s ok 24 /boxed/checksum 1031s ok 25 /boxed/tree 1031s ok 26 /boxed/patternspec 1031s ok 27 /boxed/rand 1031s # End of boxed tests 1031s TAP version 14 1031s # random seed: R02S6948625ddc4a6c5891ee2b05307ec027 1031s 1..24 1031s # Start of gdbus tests 1031s # Start of subscribe tests 1031s # Start of conn tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/simple/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/simple/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/simple/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/simple/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/simple/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/simple/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/simple/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/simple/.dirs/runtime 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 1031s # Step 0: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 1: adding subscription 1031s # Sender: (any) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Waiting for AddMatch to be processed 1031s # Step 2: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 2 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1031s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 1 /gdbus/subscribe/conn/simple 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1031s # Step 0: adding subscription 1031s # Sender: (any) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Waiting for AddMatch to be processed 1031s # Step 1: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 2: emitting signal 1031s # Sender: service 2 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 3: emitting signal 1031s # Sender: service 1031s # Destination: subscriber :1.0 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 4: emitting signal 1031s # Sender: service 2 1031s # Destination: subscriber :1.0 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 1 1031s # Signal received from service 2 :1.2 1031s # Signal received from service 2 :1.2 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 2 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 3 1031s # Signal received from service 2 :1.2 1031s # Signal received from service 2 :1.2 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 4 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1031s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1031s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1031s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/match_twice/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/match_twice/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/match_twice/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/match_twice/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/match_twice/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/match_twice/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/match_twice/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/match_twice/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 1031s # Step 0: adding subscription 1031s # Sender: service :1.1 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Waiting for AddMatch to be processed 1031s # Step 1: adding subscription 1031s # Sender: (any) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: (any) 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Waiting for AddMatch to be processed 1031s # Step 2: adding subscription 1031s # Sender: (any) 1031s # Path: (any) 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Waiting for AddMatch to be processed 1031s # Step 3: adding subscription 1031s # Sender: service :1.1 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Waiting for AddMatch to be processed 1031s # Step 4: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 4 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 4 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 4 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 4 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 3 /gdbus/subscribe/conn/match_twice 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1031s # Step 0: adding subscription 1031s # Sender: service :1.1 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Waiting for AddMatch to be processed 1031s # Step 1: emitting signal 1031s # Sender: attacker 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 2: emitting signal 1031s # Sender: attacker 1031s # Destination: subscriber :1.0 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 3: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 3 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1031s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1031s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1031s # Step 0: adding subscription 1031s # Sender: :0.this.had.better.not.exist 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Waiting for AddMatch to be processed 1031s # Step 1: emitting signal 1031s # Sender: attacker 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 2: emitting signal 1031s # Sender: attacker 1031s # Destination: subscriber :1.0 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1031s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /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 1031s # Step 0: claiming bus name 1031s # Name: org.gtk.Test.AlreadyOwned 1031s # Owner: service 1031s # Step 1: adding subscription 1031s # Sender: org.gtk.Test.AlreadyOwned 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Waiting for AddMatch to be processed 1031s # Step 2: adding subscription 1031s # Sender: org.gtk.Test.OwnedLater 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Waiting for AddMatch to be processed 1031s # Step 3: emitting signal 1031s # Sender: attacker 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 4: emitting signal 1031s # Sender: attacker 1031s # Destination: subscriber :1.0 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 5: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 6: claiming bus name 1031s # Name: org.gtk.Test.OwnedLater 1031s # Owner: service 1031s # Step 7: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 5 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 7 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 7 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1031s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1031s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1031s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1031s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1031s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1031s # Step 0: adding subscription 1031s # Sender: org.freedesktop.DBus 1031s # Path: /org/freedesktop/DBus 1031s # Interface: org.freedesktop.DBus 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Waiting for AddMatch to be processed 1031s # Step 1: emitting signal 1031s # Sender: attacker 1031s # Destination: (broadcast) 1031s # Path: /org/freedesktop/DBus 1031s # Interface: org.freedesktop.DBus 1031s # Member: NameOwnerChanged 1031s # String argument 0: would I lie to you? 1031s # Waiting for signal to reach message bus 1031s # Step 2: emitting signal 1031s # Sender: attacker 1031s # Destination: subscriber :1.0 1031s # Path: /org/freedesktop/DBus 1031s # Interface: org.freedesktop.DBus 1031s # Member: NameOwnerChanged 1031s # Waiting for signal to reach message bus 1031s # Step 3: claiming bus name 1031s # Name: org.gtk.Test.OwnedLater 1031s # Owner: service 1031s # Signal received from message bus org.freedesktop.DBus 1031s # Signal received from (unused) org.freedesktop.DBus via connection 1031s # Path: /org/freedesktop/DBus 1031s # Interface: org.freedesktop.DBus 1031s # Member: NameOwnerChanged 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1031s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1031s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1031s # Step 0: claiming bus name 1031s # Name: org.gtk.Test.AlreadyOwned 1031s # Owner: service 1031s # Step 1: adding subscription 1031s # Sender: org.gtk.Test.AlreadyOwned 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Immediately unsubscribing 1031s # Waiting for AddMatch to be processed 1031s # Step 2: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1031s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 1031s # End of conn tests 1031s # Start of proxy tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/simple/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/simple/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/simple/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/simple/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/simple/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/simple/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/simple/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/simple/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 1031s # Step 0: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 1: adding subscription 1031s # Sender: (any) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Cannot subscribe via proxy: no bus name 1031s # Waiting for AddMatch to be processed 1031s # Step 2: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 9 /gdbus/subscribe/proxy/simple 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1031s # Step 0: adding subscription 1031s # Sender: (any) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Cannot subscribe via proxy: no bus name 1031s # Waiting for AddMatch to be processed 1031s # Step 1: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 2: emitting signal 1031s # Sender: service 2 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 3: emitting signal 1031s # Sender: service 1031s # Destination: subscriber :1.0 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 4: emitting signal 1031s # Sender: service 2 1031s # Destination: subscriber :1.0 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/match_twice/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/match_twice/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/match_twice/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/match_twice/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/match_twice/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/match_twice/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 1031s # Step 0: adding subscription 1031s # Sender: service :1.1 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via proxy 1031s # Waiting for AddMatch to be processed 1031s # Step 1: adding subscription 1031s # Sender: (any) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: (any) 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Cannot subscribe via proxy: no bus name 1031s # Waiting for AddMatch to be processed 1031s # Step 2: adding subscription 1031s # Sender: (any) 1031s # Path: (any) 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Cannot subscribe via proxy: no bus name 1031s # Waiting for AddMatch to be processed 1031s # Step 3: adding subscription 1031s # Sender: service :1.1 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via proxy 1031s # Waiting for AddMatch to be processed 1031s # Step 4: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via proxy 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 4 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via proxy 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 4 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 11 /gdbus/subscribe/proxy/match_twice 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1031s # Step 0: adding subscription 1031s # Sender: service :1.1 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via proxy 1031s # Waiting for AddMatch to be processed 1031s # Step 1: emitting signal 1031s # Sender: attacker 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 2: emitting signal 1031s # Sender: attacker 1031s # Destination: subscriber :1.0 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 3: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via proxy 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 3 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1031s # Step 0: adding subscription 1031s # Sender: :0.this.had.better.not.exist 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via proxy 1031s # Waiting for AddMatch to be processed 1031s # Step 1: emitting signal 1031s # Sender: attacker 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 2: emitting signal 1031s # Sender: attacker 1031s # Destination: subscriber :1.0 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /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 1031s # Step 0: claiming bus name 1031s # Name: org.gtk.Test.AlreadyOwned 1031s # Owner: service 1031s # Step 1: adding subscription 1031s # Sender: org.gtk.Test.AlreadyOwned 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via proxy 1031s # Waiting for AddMatch to be processed 1031s # Step 2: adding subscription 1031s # Sender: org.gtk.Test.OwnedLater 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via proxy 1031s # Waiting for AddMatch to be processed 1031s # Step 3: emitting signal 1031s # Sender: attacker 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 4: emitting signal 1031s # Sender: attacker 1031s # Destination: subscriber :1.0 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 5: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 6: claiming bus name 1031s # Name: org.gtk.Test.OwnedLater 1031s # Owner: service 1031s # Step 7: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via proxy 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 5 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via proxy 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 7 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via proxy 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 7 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1031s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1031s # Step 0: adding subscription 1031s # Sender: org.freedesktop.DBus 1031s # Path: /org/freedesktop/DBus 1031s # Interface: org.freedesktop.DBus 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via proxy 1031s # Waiting for AddMatch to be processed 1031s # Step 1: emitting signal 1031s # Sender: attacker 1031s # Destination: (broadcast) 1031s # Path: /org/freedesktop/DBus 1031s # Interface: org.freedesktop.DBus 1031s # Member: NameOwnerChanged 1031s # String argument 0: would I lie to you? 1031s # Waiting for signal to reach message bus 1031s # Step 2: emitting signal 1031s # Sender: attacker 1031s # Destination: subscriber :1.0 1031s # Path: /org/freedesktop/DBus 1031s # Interface: org.freedesktop.DBus 1031s # Member: NameOwnerChanged 1031s # Waiting for signal to reach message bus 1031s # Step 3: claiming bus name 1031s # Name: org.gtk.Test.OwnedLater 1031s # Owner: service 1031s # Signal received from message bus org.freedesktop.DBus 1031s # Signal received from (unused) org.freedesktop.DBus via proxy 1031s # Path: /org/freedesktop/DBus 1031s # Interface: org.freedesktop.DBus 1031s # Member: NameOwnerChanged 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1031s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1031s # Step 0: claiming bus name 1031s # Name: org.gtk.Test.AlreadyOwned 1031s # Owner: service 1031s # Step 1: adding subscription 1031s # Sender: org.gtk.Test.AlreadyOwned 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via proxy 1031s # Waiting for AddMatch to be processed 1031s # Step 2: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via proxy 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 2 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 1031s # End of proxy tests 1031s # Start of parallel tests 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/simple/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/simple/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/simple/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/simple/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/simple/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/simple/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/simple/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/simple/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 1031s # Step 0: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 1: adding subscription 1031s # Sender: (any) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Cannot subscribe via proxy: no bus name 1031s # Waiting for AddMatch to be processed 1031s # Step 2: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 2 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1031s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1031s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 17 /gdbus/subscribe/parallel/simple 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1031s # Step 0: adding subscription 1031s # Sender: (any) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Cannot subscribe via proxy: no bus name 1031s # Waiting for AddMatch to be processed 1031s # Step 1: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 2: emitting signal 1031s # Sender: service 2 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 3: emitting signal 1031s # Sender: service 1031s # Destination: subscriber :1.0 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 4: emitting signal 1031s # Sender: service 2 1031s # Destination: subscriber :1.0 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 1 1031s # Signal received from service 2 :1.2 1031s # Signal received from service 2 :1.2 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 2 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 3 1031s # Signal received from service 2 :1.2 1031s # Signal received from service 2 :1.2 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 4 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1031s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1031s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1031s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1031s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/match_twice/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/match_twice/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/match_twice/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/match_twice/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/match_twice/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/match_twice/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 1031s # Step 0: adding subscription 1031s # Sender: service :1.1 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Subscribing via proxy 1031s # Waiting for AddMatch to be processed 1031s # Step 1: adding subscription 1031s # Sender: (any) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: (any) 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Cannot subscribe via proxy: no bus name 1031s # Waiting for AddMatch to be processed 1031s # Step 2: adding subscription 1031s # Sender: (any) 1031s # Path: (any) 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Cannot subscribe via proxy: no bus name 1031s # Waiting for AddMatch to be processed 1031s # Step 3: adding subscription 1031s # Sender: service :1.1 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Subscribing via proxy 1031s # Waiting for AddMatch to be processed 1031s # Step 4: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 4 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via proxy 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 4 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 4 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via proxy 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 4 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 4 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 4 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1031s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 19 /gdbus/subscribe/parallel/match_twice 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1031s # Step 0: adding subscription 1031s # Sender: service :1.1 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Subscribing via proxy 1031s # Waiting for AddMatch to be processed 1031s # Step 1: emitting signal 1031s # Sender: attacker 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 2: emitting signal 1031s # Sender: attacker 1031s # Destination: subscriber :1.0 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 3: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 3 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via proxy 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 3 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1031s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1031s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1031s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1031s # Step 0: adding subscription 1031s # Sender: :0.this.had.better.not.exist 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Subscribing via proxy 1031s # Waiting for AddMatch to be processed 1031s # Step 1: emitting signal 1031s # Sender: attacker 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 2: emitting signal 1031s # Sender: attacker 1031s # Destination: subscriber :1.0 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1031s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1031s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /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 1031s # Step 0: claiming bus name 1031s # Name: org.gtk.Test.AlreadyOwned 1031s # Owner: service 1031s # Step 1: adding subscription 1031s # Sender: org.gtk.Test.AlreadyOwned 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Subscribing via proxy 1031s # Waiting for AddMatch to be processed 1031s # Step 2: adding subscription 1031s # Sender: org.gtk.Test.OwnedLater 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Subscribing via proxy 1031s # Waiting for AddMatch to be processed 1031s # Step 3: emitting signal 1031s # Sender: attacker 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 4: emitting signal 1031s # Sender: attacker 1031s # Destination: subscriber :1.0 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 5: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Step 6: claiming bus name 1031s # Name: org.gtk.Test.OwnedLater 1031s # Owner: service 1031s # Step 7: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 5 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via proxy 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 5 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 7 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via proxy 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 7 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via connection 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 7 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via proxy 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 7 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1031s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1031s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1031s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1031s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1031s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1031s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1031s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1031s # Step 0: adding subscription 1031s # Sender: org.freedesktop.DBus 1031s # Path: /org/freedesktop/DBus 1031s # Interface: org.freedesktop.DBus 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Subscribing via proxy 1031s # Waiting for AddMatch to be processed 1031s # Step 1: emitting signal 1031s # Sender: attacker 1031s # Destination: (broadcast) 1031s # Path: /org/freedesktop/DBus 1031s # Interface: org.freedesktop.DBus 1031s # Member: NameOwnerChanged 1031s # String argument 0: would I lie to you? 1031s # Waiting for signal to reach message bus 1031s # Step 2: emitting signal 1031s # Sender: attacker 1031s # Destination: subscriber :1.0 1031s # Path: /org/freedesktop/DBus 1031s # Interface: org.freedesktop.DBus 1031s # Member: NameOwnerChanged 1031s # Waiting for signal to reach message bus 1031s # Step 3: claiming bus name 1031s # Name: org.gtk.Test.OwnedLater 1031s # Owner: service 1031s # Signal received from message bus org.freedesktop.DBus 1031s # Signal received from (unused) org.freedesktop.DBus via connection 1031s # Path: /org/freedesktop/DBus 1031s # Interface: org.freedesktop.DBus 1031s # Member: NameOwnerChanged 1031s # Signal received from message bus org.freedesktop.DBus 1031s # Signal received from (unused) org.freedesktop.DBus via proxy 1031s # Path: /org/freedesktop/DBus 1031s # Interface: org.freedesktop.DBus 1031s # Member: NameOwnerChanged 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1031s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1031s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1031s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1031s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 1031s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 1031s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_AS5K02/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1031s # subscriber is :1.0 1031s # service is :1.1 1031s # service 2 is :1.2 1031s # attacker is :1.3 1031s # Waiting for AddMatch to be processed 1031s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1031s # Step 0: claiming bus name 1031s # Name: org.gtk.Test.AlreadyOwned 1031s # Owner: service 1031s # Step 1: adding subscription 1031s # Sender: org.gtk.Test.AlreadyOwned 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: (any) 1031s # String argument 0: (any) 1031s # Flags: 0 1031s # Subscribing via connection 1031s # Immediately unsubscribing 1031s # Subscribing via proxy 1031s # Waiting for AddMatch to be processed 1031s # Step 2: emitting signal 1031s # Sender: service 1031s # Destination: (broadcast) 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Waiting for signal to reach message bus 1031s # Signal received from service :1.1 1031s # Signal received from service :1.1 via proxy 1031s # Path: /org/gtk/GDBus/ExampleInterface 1031s # Interface: org.gtk.GDBus.ExampleInterface 1031s # Member: Foo 1031s # Argument 0: (not a string) 1031s # Sent in step: 2 1031s # Received Finished signal from subscriber :1.0 1031s # Received Finished signal from service :1.1 1031s # Received Finished signal from service 2 :1.2 1031s # Received Finished signal from attacker :1.3 1031s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1031s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1031s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1031s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1031s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 1031s # End of parallel tests 1031s # End of subscribe tests 1031s # End of gdbus tests 1031s ok - glib/gdbus-subscribe.test 1031s # Running test: glib/gdatetime.test 1031s TAP version 14 1031s # random seed: R02S913c8d046037a2238082193effe974c1 1031s 1..68 1031s # Start of GDateTime tests 1031s # Bug Reference: http://bugzilla.gnome.org/702674 1031s ok 1 /GDateTime/invalid 1031s ok 2 /GDateTime/add_days 1031s ok 3 /GDateTime/add_full 1031s ok 4 /GDateTime/add_hours 1031s ok 5 /GDateTime/add_minutes 1031s ok 6 /GDateTime/add_months 1031s ok 7 /GDateTime/add_seconds 1031s ok 8 /GDateTime/add_weeks 1031s ok 9 /GDateTime/add_years 1031s ok 10 /GDateTime/compare 1031s ok 11 /GDateTime/diff 1031s ok 12 /GDateTime/equal 1031s ok 13 /GDateTime/get_day_of_week 1031s ok 14 /GDateTime/get_day_of_month 1031s ok 15 /GDateTime/get_day_of_year 1031s ok 16 /GDateTime/get_hour 1031s ok 17 /GDateTime/get_microsecond 1031s ok 18 /GDateTime/get_minute 1031s ok 19 /GDateTime/get_month 1031s ok 20 /GDateTime/get_second 1031s ok 21 /GDateTime/get_utc_offset 1031s ok 22 /GDateTime/get_year 1031s ok 23 /GDateTime/hash 1031s ok 24 /GDateTime/new_from_unix 1031s ok 25 /GDateTime/new_from_unix_utc 1031s ok 26 /GDateTime/new_from_timeval 1031s ok 27 /GDateTime/new_from_timeval_utc 1031s ok 28 /GDateTime/new_from_iso8601 1031s ok 29 /GDateTime/new_full 1031s ok 30 /GDateTime/now 1031s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1031s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1031s # %a -> expected: Sat 1031s # %a -> actual: Sat 1031s # %A -> expected: Saturday 1031s # %A -> actual: Saturday 1031s # %b -> expected: Oct 1031s # %b -> actual: Oct 1031s # %B -> expected: October 1031s # %B -> actual: October 1031s # %d -> expected: 24 1031s # %d -> actual: 24 1031s # %d -> expected: 01 1031s # %d -> actual: 01 1031s # %e -> expected: 24 1031s # %e -> actual: 24 1031s # %e -> expected:  1 1031s # %e -> actual:  1 1031s # %f -> expected: 001000 1031s # %f -> actual: 001000 1031s # %h -> expected: Oct 1031s # %h -> actual: Oct 1031s # %H -> expected: 00 1031s # %H -> actual: 00 1031s # %H -> expected: 15 1031s # %H -> actual: 15 1031s # %I -> expected: 12 1031s # %I -> actual: 12 1031s # %I -> expected: 12 1031s # %I -> actual: 12 1031s # %I -> expected: 03 1031s # %I -> actual: 03 1031s # %j -> expected: 297 1031s # %j -> actual: 297 1031s # %k -> expected:  0 1031s # %k -> actual:  0 1031s # %k -> expected: 13 1031s # %k -> actual: 13 1031s # %l -> expected: 12 1031s # %l -> actual: 12 1031s # %I -> expected: 12 1031s # %I -> actual: 12 1031s # %l -> expected:  1 1031s # %l -> actual:  1 1031s # %l -> expected: 10 1031s # %l -> actual: 10 1031s # %m -> expected: 10 1031s # %m -> actual: 10 1031s # %M -> expected: 00 1031s # %M -> actual: 00 1031s # %p -> expected: AM 1031s # %p -> actual: AM 1031s # %p -> expected: PM 1031s # %p -> actual: PM 1031s # %P -> expected: am 1031s # %P -> actual: am 1031s # %P -> expected: pm 1031s # %P -> actual: pm 1031s # %r -> expected: 12:00:00 AM 1031s # %r -> actual: 12:00:00 AM 1031s # %r -> expected: 01:13:13 PM 1031s # %r -> actual: 01:13:13 PM 1031s # %R -> expected: 00:00 1031s # %R -> actual: 00:00 1031s # %R -> expected: 13:13 1031s # %R -> actual: 13:13 1031s # %S -> expected: 00 1031s # %S -> actual: 00 1031s # %t -> expected: 1031s # %t -> actual: 1031s # %u -> expected: 6 1031s # %u -> actual: 6 1031s # %x -> expected: 10/24/09 1031s # %x -> actual: 10/24/09 1031s # %X -> expected: 00:00:00 1031s # %X -> actual: 00:00:00 1031s # %X -> expected: 13:14:15 1031s # %X -> actual: 13:14:15 1031s # %y -> expected: 09 1031s # %y -> actual: 09 1031s # %Y -> expected: 2009 1031s # %Y -> actual: 2009 1031s # %% -> expected: % 1031s # %% -> actual: % 1031s # % -> expected: 1031s # % -> actual: 1031s # %9 -> expected: (null) 1031s # %9 -> actual: (null) 1031s # %Z -> expected: UTC 1031s # %Z -> actual: UTC 1031s ok 32 /GDateTime/printf 1031s # %a -> expected: ÅÚ 1031s # %a -> actual: ÅÚ 1031s # %A -> expected: ÅÚÍËÆü 1031s # %A -> actual: ÅÚÍËÆü 1031s # %b -> expected: 10·î 1031s # %b -> actual: 10·î 1031s # %B -> expected: 10·î 1031s # %B -> actual: 10·î 1031s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1031s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1031s # %C -> expected: 20 1031s # %C -> actual: 20 1031s # %d -> expected: 24 1031s # %d -> actual: 24 1031s # %d -> expected: 01 1031s # %d -> actual: 01 1031s # %e -> expected: 24 1031s # %e -> actual: 24 1031s # %h -> expected: 10·î 1031s # %h -> actual: 10·î 1031s # %H -> expected: 00 1031s # %H -> actual: 00 1031s # %H -> expected: 15 1031s # %H -> actual: 15 1031s # %I -> expected: 12 1031s # %I -> actual: 12 1031s # %I -> expected: 12 1031s # %I -> actual: 12 1031s # %I -> expected: 03 1031s # %I -> actual: 03 1031s # %j -> expected: 297 1031s # %j -> actual: 297 1031s # %k -> expected: ?0 1031s # %k -> actual: ?0 1031s # %k -> expected: 13 1031s # %k -> actual: 13 1031s # %l -> expected: 12 1031s # %l -> actual: 12 1031s # %I -> expected: 12 1031s # %I -> actual: 12 1031s # %l -> expected: ?1 1031s # %l -> actual: ?1 1031s # %l -> expected: 10 1031s # %l -> actual: 10 1031s # %m -> expected: 10 1031s # %m -> actual: 10 1031s # %M -> expected: 00 1031s # %M -> actual: 00 1031s # %p -> expected: ¸áÁ° 1031s # %p -> actual: ¸áÁ° 1031s # %p -> expected: ¸á¸å 1031s # %p -> actual: ¸á¸å 1031s # %P -> expected: ¸áÁ° 1031s # %P -> actual: ¸áÁ° 1031s # %P -> expected: ¸á¸å 1031s # %P -> actual: ¸á¸å 1031s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 1031s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 1031s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 1031s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 1031s # %R -> expected: 00:00 1031s # %R -> actual: 00:00 1031s # %R -> expected: 13:13 1031s # %R -> actual: 13:13 1031s # %S -> expected: 00 1031s # %S -> actual: 00 1031s # %t -> expected: 1031s # %t -> actual: 1031s # %u -> expected: 6 1031s # %u -> actual: 6 1031s # %x -> expected: 2009ǯ10·î24Æü 1031s # %x -> actual: 2009ǯ10·î24Æü 1031s # %X -> expected: 00»þ00ʬ00Éà 1031s # %X -> actual: 00»þ00ʬ00Éà 1031s # %X -> expected: 13»þ14ʬ15Éà 1031s # %X -> actual: 13»þ14ʬ15Éà 1031s # %y -> expected: 09 1031s # %y -> actual: 09 1031s # %Y -> expected: 2009 1031s # %Y -> actual: 2009 1031s # %% -> expected: % 1031s # %% -> actual: % 1031s # % -> expected: 1031s # % -> actual: 1031s # %9 -> expected: (null) 1031s # %9 -> actual: (null) 1031s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1031s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1031s # %EC -> expected: Ê¿À® 1031s # %EC -> actual: Ê¿À® 1031s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 1031s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 1031s # %EX -> expected: 00»þ00ʬ00Éà 1031s # %EX -> actual: 00»þ00ʬ00Éà 1031s # %Ey -> expected: 21 1031s # %Ey -> actual: 21 1031s # %EY -> expected: Ê¿À®21ǯ 1031s # %EY -> actual: Ê¿À®21ǯ 1031s ok 33 /GDateTime/non_utf8_printf 1031s # ???? -> expected: ???? 1031s # ???? -> actual: ???? 1031s # %H?%M -> expected: 23?15 1031s # %H?%M -> actual: 23?15 1031s # %H?%M -> expected: 23?15 1031s # %H?%M -> actual: 23?15 1031s ok 34 /GDateTime/format_unrepresentable 1031s ok 35 /GDateTime/format_iso8601 1031s ok 36 /GDateTime/strftime 1031s # %d -> expected: 01 1031s # %d -> actual: 01 1031s # %_d -> expected: 1 1031s # %_d -> actual: 1 1031s # %-d -> expected: 1 1031s # %-d -> actual: 1 1031s # %0d -> expected: 01 1031s # %0d -> actual: 01 1031s # %d -> expected: 21 1031s # %d -> actual: 21 1031s # %_d -> expected: 21 1031s # %_d -> actual: 21 1031s # %-d -> expected: 21 1031s # %-d -> actual: 21 1031s # %0d -> expected: 21 1031s # %0d -> actual: 21 1031s # %e -> expected:  1 1031s # %e -> actual:  1 1031s # %_e -> expected: 1 1031s # %_e -> actual: 1 1031s # %-e -> expected: 1 1031s # %-e -> actual: 1 1031s # %0e -> expected: 01 1031s # %0e -> actual: 01 1031s # %e -> expected: 21 1031s # %e -> actual: 21 1031s # %_e -> expected: 21 1031s # %_e -> actual: 21 1031s # %-e -> expected: 21 1031s # %-e -> actual: 21 1031s # %0e -> expected: 21 1031s # %0e -> actual: 21 1031s # %a -> expected: Thu 1031s # %a -> actual: Thu 1031s # %^a -> expected: THU 1031s # %^a -> actual: THU 1031s # %#a -> expected: THU 1031s # %#a -> actual: THU 1031s # %A -> expected: Thursday 1031s # %A -> actual: Thursday 1031s # %^A -> expected: THURSDAY 1031s # %^A -> actual: THURSDAY 1031s # %#A -> expected: THURSDAY 1031s # %#A -> actual: THURSDAY 1031s # %b -> expected: Jan 1031s # %b -> actual: Jan 1031s # %^b -> expected: JAN 1031s # %^b -> actual: JAN 1031s # %#b -> expected: JAN 1031s # %#b -> actual: JAN 1031s # %B -> expected: January 1031s # %B -> actual: January 1031s # %^B -> expected: JANUARY 1031s # %^B -> actual: JANUARY 1031s # %#B -> expected: JANUARY 1031s # %#B -> actual: JANUARY 1031s # %h -> expected: Jan 1031s # %h -> actual: Jan 1031s # %^h -> expected: JAN 1031s # %^h -> actual: JAN 1031s # %#h -> expected: JAN 1031s # %#h -> actual: JAN 1031s # %Z -> expected: UTC 1031s # %Z -> actual: UTC 1031s # %^Z -> expected: UTC 1031s # %^Z -> actual: UTC 1031s # %#Z -> expected: utc 1031s # %#Z -> actual: utc 1031s # %H -> expected: 01 1031s # %H -> actual: 01 1031s # %_H -> expected: 1 1031s # %_H -> actual: 1 1031s # %-H -> expected: 1 1031s # %-H -> actual: 1 1031s # %0H -> expected: 01 1031s # %0H -> actual: 01 1031s # %H -> expected: 21 1031s # %H -> actual: 21 1031s # %_H -> expected: 21 1031s # %_H -> actual: 21 1031s # %-H -> expected: 21 1031s # %-H -> actual: 21 1031s # %0H -> expected: 21 1031s # %0H -> actual: 21 1031s # %I -> expected: 01 1031s # %I -> actual: 01 1031s # %_I -> expected: 1 1031s # %_I -> actual: 1 1031s # %-I -> expected: 1 1031s # %-I -> actual: 1 1031s # %0I -> expected: 01 1031s # %0I -> actual: 01 1031s # %I -> expected: 11 1031s # %I -> actual: 11 1031s # %_I -> expected: 11 1031s # %_I -> actual: 11 1031s # %-I -> expected: 11 1031s # %-I -> actual: 11 1031s # %0I -> expected: 11 1031s # %0I -> actual: 11 1031s # %k -> expected:  1 1031s # %k -> actual:  1 1031s # %_k -> expected: 1 1031s # %_k -> actual: 1 1031s # %-k -> expected: 1 1031s # %-k -> actual: 1 1031s # %0k -> expected: 01 1031s # %0k -> actual: 01 1031s # %l -> expected:  1 1031s # %l -> actual:  1 1031s # %_l -> expected: 1 1031s # %_l -> actual: 1 1031s # %-l -> expected: 1 1031s # %-l -> actual: 1 1031s # %0l -> expected: 01 1031s # %0l -> actual: 01 1031s # %l -> expected: 11 1031s # %l -> actual: 11 1031s # %_l -> expected: 11 1031s # %_l -> actual: 11 1031s # %-l -> expected: 11 1031s # %-l -> actual: 11 1031s # %0l -> expected: 11 1031s # %0l -> actual: 11 1031s # %p -> expected: AM 1031s # %p -> actual: AM 1031s # %^p -> expected: AM 1031s # %^p -> actual: AM 1031s # %#p -> expected: am 1031s # %#p -> actual: am 1031s # %P -> expected: am 1031s # %P -> actual: am 1031s # %^P -> expected: AM 1031s # %^P -> actual: AM 1031s # %#P -> expected: am 1031s # %#P -> actual: am 1031s # %OH -> expected: Û²Û³ 1031s # %OH -> actual: Û²Û³ 1031s # %OI -> expected: Û±Û± 1031s # %OI -> actual: Û±Û± 1031s # %OM -> expected: Û°Û° 1031s # %OM -> actual: Û°Û° 1031s # %Om -> expected: Û°Û· 1031s # %Om -> actual: Û°Û· 1031s # %0Om -> expected: Û°Û· 1031s # %0Om -> actual: Û°Û· 1031s # %-Om -> expected: Û· 1031s # %-Om -> actual: Û· 1031s # %_Om -> expected: Û· 1031s # %_Om -> actual: Û· 1031s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1031s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1031s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1031s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1031s # %C -> expected: 20 1031s # %C -> actual: 20 1031s # %EC -> expected: 20 1031s # %EC -> actual: 20 1031s # %x -> expected: 02/01/09 1031s # %x -> actual: 02/01/09 1031s # %Ex -> expected: 02/01/09 1031s # %Ex -> actual: 02/01/09 1031s # %X -> expected: 01:02:03 1031s # %X -> actual: 01:02:03 1031s # %EX -> expected: 01:02:03 1031s # %EX -> actual: 01:02:03 1031s # %y -> expected: 09 1031s # %y -> actual: 09 1031s # %Ey -> expected: 09 1031s # %Ey -> actual: 09 1031s # %Y -> expected: 2009 1031s # %Y -> actual: 2009 1031s # %EY -> expected: 2009 1031s # %EY -> actual: 2009 1031s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1031s # Bug Reference: http://bugzilla.gnome.org/749206 1031s # %B -> expected: January 1031s # %B -> actual: January 1031s # %OB -> expected: February 1031s # %OB -> actual: February 1031s # %b -> expected: Mar 1031s # %b -> actual: Mar 1031s # %Ob -> expected: Apr 1031s # %Ob -> actual: Apr 1031s # %h -> expected: May 1031s # %h -> actual: May 1031s # %Oh -> expected: Jun 1031s # %Oh -> actual: Jun 1031s # %B -> expected: Juli 1031s # %B -> actual: Juli 1031s # %OB -> expected: August 1031s # %OB -> actual: August 1031s # %b -> expected: Sep 1031s # %b -> actual: Sep 1031s # %Ob -> expected: Okt 1031s # %Ob -> actual: Okt 1031s # %h -> expected: Nov 1031s # %h -> actual: Nov 1031s # %Oh -> expected: Dez 1031s # %Oh -> actual: Dez 1031s # %B -> expected: enero 1031s # %B -> actual: enero 1031s # %OB -> expected: febrero 1031s # %OB -> actual: febrero 1031s # %b -> expected: mar 1031s # %b -> actual: mar 1031s # %Ob -> expected: abr 1031s # %Ob -> actual: abr 1031s # %h -> expected: may 1031s # %h -> actual: may 1031s # %Oh -> expected: jun 1031s # %Oh -> actual: jun 1031s # %B -> expected: juillet 1031s # %B -> actual: juillet 1031s # %OB -> expected: août 1031s # %OB -> actual: août 1031s # %b -> expected: sept. 1031s # %b -> actual: sept. 1031s # %Ob -> expected: oct. 1031s # %Ob -> actual: oct. 1031s # %h -> expected: nov. 1031s # %h -> actual: nov. 1031s # %Oh -> expected: déc. 1031s # %Oh -> actual: déc. 1031s # %B -> expected: ΙανουαÏίου 1031s # %B -> actual: ΙανουαÏίου 1031s # %B -> expected: ΦεβÏουαÏίου 1031s # %B -> actual: ΦεβÏουαÏίου 1031s # %B -> expected: ΜαÏτίου 1031s # %B -> actual: ΜαÏτίου 1031s # %OB -> expected: ΑπÏίλιος 1031s # %OB -> actual: ΑπÏίλιος 1031s # %OB -> expected: Μάιος 1031s # %OB -> actual: Μάιος 1031s # %OB -> expected: ΙοÏνιος 1031s # %OB -> actual: ΙοÏνιος 1031s # %b -> expected: Ιουλ 1031s # %b -> actual: Ιουλ 1031s # %Ob -> expected: ΑÏγ 1031s # %Ob -> actual: ΑÏγ 1031s # %B -> expected: svibnja 1031s # %B -> actual: svibnja 1031s # %B -> expected: lipnja 1031s # %B -> actual: lipnja 1031s # %B -> expected: srpnja 1031s # %B -> actual: srpnja 1031s # %OB -> expected: Kolovoz 1031s # %OB -> actual: kolovoz 1031s # %OB -> expected: Rujan 1031s # %OB -> actual: rujan 1031s # %OB -> expected: Listopad 1031s # %OB -> actual: listopad 1031s # %b -> expected: Stu 1031s # %b -> actual: stu 1031s # %Ob -> expected: Pro 1031s # %Ob -> actual: pro 1031s # %B -> expected: sausio 1031s # %B -> actual: sausio 1031s # %B -> expected: vasario 1031s # %B -> actual: vasario 1031s # %B -> expected: kovo 1031s # %B -> actual: kovo 1031s # %OB -> expected: balandis 1031s # %OB -> actual: balandis 1031s # %OB -> expected: gegužė 1031s # %OB -> actual: gegužė 1031s # %OB -> expected: birželis 1031s # %OB -> actual: birželis 1031s # %b -> expected: liep. 1031s # %b -> actual: liep. 1031s # %Ob -> expected: rugp. 1031s # %Ob -> actual: rugp. 1031s # %B -> expected: maja 1031s # %B -> actual: maja 1031s # %B -> expected: czerwca 1031s # %B -> actual: czerwca 1031s # %B -> expected: lipca 1031s # %B -> actual: lipca 1031s # %OB -> expected: sierpieÅ„ 1031s # %OB -> actual: sierpieÅ„ 1031s # %OB -> expected: wrzesieÅ„ 1031s # %OB -> actual: wrzesieÅ„ 1031s # %OB -> expected: październik 1031s # %OB -> actual: październik 1031s # %b -> expected: lis 1031s # %b -> actual: lis 1031s # %Ob -> expected: gru 1031s # %Ob -> actual: gru 1031s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 1031s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 1031s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1031s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1031s # %B -> expected: марта 1031s # %B -> actual: марта 1031s # %OB -> expected: Ðпрель 1031s # %OB -> actual: Ðпрель 1031s # %OB -> expected: Май 1031s # %OB -> actual: Май 1031s # %OB -> expected: Июнь 1031s # %OB -> actual: Июнь 1031s # %b -> expected: июл 1031s # %b -> actual: июл 1031s # %Ob -> expected: авг 1031s # %Ob -> actual: авг 1031s # %b -> expected: Ð¼Ð°Ñ 1031s # %b -> actual: Ð¼Ð°Ñ 1031s # %Ob -> expected: май 1031s # %Ob -> actual: май 1031s ok 38 /GDateTime/month_names 1031s ok 39 /GDateTime/to_local 1031s ok 40 /GDateTime/to_unix 1031s ok 41 /GDateTime/to_timeval 1031s ok 42 /GDateTime/to_utc 1031s ok 43 /GDateTime/now_utc 1031s ok 44 /GDateTime/dst 1031s # Bug Reference: http://bugzilla.gnome.org/642935 1031s ok 45 /GDateTime/test_z 1032s ok 46 /GDateTime/test-all-dates 1032s # slow test /GDateTime/test-all-dates executed in 0.77 secs 1032s ok 47 /GDateTime/unix_usec 1032s # Start of new_from_unix tests 1032s # Bug Reference: http://bugzilla.gnome.org/782089 1032s ok 48 /GDateTime/new_from_unix/overflow 1032s # End of new_from_unix tests 1032s # Start of new_from_timeval tests 1032s # Bug Reference: http://bugzilla.gnome.org/782089 1032s # Maximum supported GTimeVal.tv_sec = 253402300799 1032s ok 49 /GDateTime/new_from_timeval/overflow 1032s # End of new_from_timeval tests 1032s # Start of new_from_iso8601 tests 1032s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1032s # Vector 0: 1990-11-01T10:21:17Z 1032s # Vector 1: 19901101T102117Z 1032s # Vector 2: 1970-01-01T00:00:17.12Z 1032s # Vector 3: 1970-01-01T00:00:17.1234Z 1032s # Vector 4: 1970-01-01T00:00:17.123456Z 1032s # Vector 5: 1980-02-22T12:36:00+02:00 1032s # Vector 6: 1990-12-31T15:59:60-08:00 1032s # Vector 7: 1032s # Vector 8: x 1032s # Vector 9: 123x 1032s # Vector 10: 2001-10+x 1032s # Vector 11: 1980-02-22T 1032s # Vector 12: 2001-10-08Tx 1032s # Vector 13: 2001-10-08T10:11x 1032s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1032s # Vector 15: 1980-02-22T10:36:00Zulu 1032s # Vector 16: 2T0+819855292164632335 1032s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1032s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1032s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1032s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1032s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1032s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1032s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1032s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1032s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1032s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1032s # Vector 27: 20180803T140805.446178377+0100 1032s # Vector 28: 21474836480803T140805.446178377+0100 1032s # Vector 29: 20181303T140805.446178377+0100 1032s # Vector 30: 20180003T140805.446178377+0100 1032s # Vector 31: 20180800T140805.446178377+0100 1032s # Vector 32: 20180832T140805.446178377+0100 1032s # Vector 33: 20180803T240805.446178377+0100 1032s # Vector 34: 20180803T146005.446178377+0100 1032s # Vector 35: 20180803T140863.446178377+0100 1032s # Vector 36: 20180803T140805.446178377+10000 1032s # Vector 37: -0005-01-01T00:00:00Z 1032s # Vector 38: 2018-08-06 1032s # Vector 39: 20180803T140805,446178377+0100 1032s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1032s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1032s # Vector 42: 1990-11-01T10:21:17 1032s # Vector 43: 1719W462 407777-07 1032s # Vector 44: 4011090 260528Z 1032s # Vector 45: 0000W011 228214-22 1032s ok 50 /GDateTime/new_from_iso8601/2 1032s # End of new_from_iso8601 tests 1032s # Start of format_mixed tests 1032s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1032s # %b -> expected: mar 1032s # %b -> actual: Mar 1032s # %B -> expected: march 1032s # %B -> actual: March 1032s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1032s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1032s # %b -> expected: mar 1032s # %b -> actual: Mar 1032s # %B -> expected: march 1032s # %B -> actual: March 1032s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1032s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1032s # %b -> expected: Mär 1032s # %b -> actual: Mär 1032s # %B -> expected: März 1032s # %B -> actual: März 1032s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1032s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1032s # %b -> expected: Mär 1032s # %b -> actual: Mär 1032s # %B -> expected: März 1032s # %B -> actual: März 1032s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1032s # End of format_mixed tests 1032s # Start of strftime tests 1032s # %r -> expected: (null) 1032s # %r -> actual: (null) 1032s ok 55 /GDateTime/strftime/error_handling 1032s # End of strftime tests 1032s # Start of eras tests 1032s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00秒 1032s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00秒 1032s # %EC -> expected: 令和 1032s # %EC -> actual: 令和 1032s # %Ex -> expected: 令和05å¹´06月01æ—¥ 1032s # %Ex -> actual: 令和05å¹´06月01æ—¥ 1032s # %EX -> expected: 00時00分00秒 1032s # %EX -> actual: 00時00分00秒 1032s # %Ey -> expected: 05 1032s # %Ey -> actual: 05 1032s # %EY -> expected: 令和05å¹´ 1032s # %EY -> actual: 令和05å¹´ 1032s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 1032s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 1032s # %EC -> expected: å¹³æˆ 1032s # %EC -> actual: å¹³æˆ 1032s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 1032s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 1032s # %EX -> expected: 00時00分00秒 1032s # %EX -> actual: 00時00分00秒 1032s # %Ey -> expected: 31 1032s # %Ey -> actual: 31 1032s # %EY -> expected: å¹³æˆ31å¹´ 1032s # %EY -> actual: å¹³æˆ31å¹´ 1032s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00秒 1032s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00秒 1032s # %EC -> expected: 昭和 1032s # %EC -> actual: 昭和 1032s # %Ex -> expected: 昭和元年12月25æ—¥ 1032s # %Ex -> actual: 昭和元年12月25æ—¥ 1032s # %EX -> expected: 00時00分00秒 1032s # %EX -> actual: 00時00分00秒 1032s # %Ey -> expected: 01 1032s # %Ey -> actual: 01 1032s # %EY -> expected: 昭和元年 1032s # %EY -> actual: 昭和元年 1032s ok 56 /GDateTime/eras/japan 1032s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1032s # Vector 0: 1032s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1032s # 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å¹´ 1032s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 1032s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 1032s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 1032s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 1032s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 1032s # Vector 8: + 1032s # Vector 9: +: 1032s # Vector 10: +:: 1032s # Vector 11: +:200 1032s # Vector 12: +:2nonsense 1032s # Vector 13: +:2nonsense: 1032s # Vector 14: +:2: 1032s # Vector 15: +:2:: 1032s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 1032s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 1032s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 1032s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 1032s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 1032s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 1032s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 1032s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 1032s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 1032s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 1032s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 1032s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 1032s # Vector 28: +:2:2020/01/01 1032s # Vector 29: +:2:2020/01/01: 1032s # Vector 30: +:2:2020/01/01:: 1032s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 1032s # Vector 32: +:2:2020/01/01:+* 1032s # Vector 33: +:2:2020/01/01:+*: 1032s # Vector 34: +:2:2020/01/01:+*:: 1032s # Vector 35: +:2:2020/01/01:+*:令和 1032s # Vector 36: +:2:2020/01/01:+*:令和: 1032s # Vector 37: +:2:2020/01/01:+*:令和:; 1032s ok 58 /GDateTime/eras/parsing 1032s # End of eras tests 1032s # End of GDateTime tests 1032s # Start of GTimeZone tests 1032s ok 59 /GTimeZone/find-interval 1032s ok 60 /GTimeZone/adjust-time 1032s ok 61 /GTimeZone/no-header 1032s ok 62 /GTimeZone/no-header-identifier 1032s ok 63 /GTimeZone/posix-parse 1032s # Bug Reference: http://bugzilla.gnome.org/697715 1032s ok 64 /GTimeZone/floating-point 1032s # System time zone identifier: Etc/UTC 1032s ok 65 /GTimeZone/identifier 1032s # Vector 0: -158400 1032s # Vector 1: -10000 1032s # Vector 2: -3600 1032s # Vector 3: -61 1032s # Vector 4: -60 1032s # Vector 5: -59 1032s # Vector 6: 0 1032s # Vector 7: 59 1032s # Vector 8: 60 1032s # Vector 9: 61 1032s # Vector 10: 3600 1032s # Vector 11: 10000 1032s # Vector 12: 158400 1032s ok 66 /GTimeZone/new-offset 1032s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1032s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1032s ok 67 /GTimeZone/parse-rfc8536 1032s # /GTimeZone/caching summary: GTimeZone instances are cached 1032s ok 68 /GTimeZone/caching 1032s # End of GTimeZone tests 1032s ok - glib/gdatetime.test 1032s # Running test: glib/option-context.test 1032s TAP version 14 1032s # random seed: R02Sc50a88795a8b70d1ff293fadca63bc14 1032s 1..57 1032s # Start of option tests 1032s ok 1 /option/basic 1032s ok 2 /option/translate 1032s ok 3 /option/strict-posix 1032s # Start of help tests 1032s ok 4 /option/help/options 1032s ok 5 /option/help/no-options 1032s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1032s ok 6 /option/help/no-help-options 1032s # End of help tests 1032s # Start of group tests 1032s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1032s ok 7 /option/group/captions 1032s ok 8 /option/group/main 1032s ok 9 /option/group/error-hook 1032s ok 10 /option/group/parse 1032s # Start of captions tests 1032s # Start of subprocess tests 1032s # End of subprocess tests 1032s # End of captions tests 1032s # End of group tests 1032s # Start of restoration tests 1032s ok 11 /option/restoration/int 1032s ok 12 /option/restoration/string 1032s ok 13 /option/restoration/boolean 1032s # End of restoration tests 1032s # Start of arg tests 1032s ok 14 /option/arg/reverse-string 1032s ok 15 /option/arg/optional-int 1032s # Start of repetition tests 1032s ok 16 /option/arg/repetition/int 1032s ok 17 /option/arg/repetition/string 1032s ok 18 /option/arg/repetition/filename 1032s ok 19 /option/arg/repetition/double 1032s ok 20 /option/arg/repetition/locale 1032s ok 21 /option/arg/repetition/int64 1032s # End of repetition tests 1032s # Start of array tests 1032s ok 22 /option/arg/array/string 1032s # End of array tests 1032s # Start of callback tests 1032s ok 23 /option/arg/callback/string 1032s ok 24 /option/arg/callback/count 1032s ok 25 /option/arg/callback/optional1 1032s ok 26 /option/arg/callback/optional2 1032s ok 27 /option/arg/callback/optional3 1032s ok 28 /option/arg/callback/optional4 1032s ok 29 /option/arg/callback/optional5 1032s ok 30 /option/arg/callback/optional6 1032s ok 31 /option/arg/callback/optional7 1032s ok 32 /option/arg/callback/optional8 1032s # End of callback tests 1032s # Start of remaining tests 1032s ok 33 /option/arg/remaining/callback 1032s ok - glib/option-context.test 1032s ok 34 /option/arg/remaining/callback-false 1032s ok 35 /option/arg/remaining/non-option 1032s ok 36 /option/arg/remaining/separator 1032s ok 37 /option/arg/remaining/array 1032s # End of remaining tests 1032s # Start of ignore tests 1032s ok 38 /option/arg/ignore/long 1032s ok 39 /option/arg/ignore/short 1032s ok 40 /option/arg/ignore/arg 1032s # End of ignore tests 1032s # Start of rest tests 1032s ok 41 /option/arg/rest/non-option 1032s ok 42 /option/arg/rest/separator1 1032s ok 43 /option/arg/rest/separator2 1032s ok 44 /option/arg/rest/separator3 1032s ok 45 /option/arg/rest/separator4 1032s ok 46 /option/arg/rest/separator5 1032s # End of rest tests 1032s # End of arg tests 1032s # Start of context tests 1032s ok 47 /option/context/add 1032s ok 48 /option/context/empty2 1032s ok 49 /option/context/empty3 1032s # End of context tests 1032s # Start of bug tests 1032s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1032s ok 50 /option/bug/unknown-short 1032s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1032s ok 51 /option/bug/lonely-dash 1032s ok 52 /option/bug/triple-dash 1032s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1032s ok 53 /option/bug/missing-arg 1032s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1032s ok 54 /option/bug/dash-arg 1032s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1032s ok 55 /option/bug/short-remaining 1032s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1032s ok 56 /option/bug/double-free 1032s ok 57 /option/bug/double-zero 1032s # End of bug tests 1032s # End of option tests 1032s # Running test: glib/tree.test 1032s TAP version 14 1032s # random seed: R02Sb00f133ef8e64c84eacb3e0009f7ca50 1032s 1..7 1032s # Start of tree tests 1032s ok 1 /tree/search 1032s ok 2 /tree/remove 1032s ok 3 /tree/destroy 1032s ok 4 /tree/traverse 1032s ok 5 /tree/insert 1032s ok 6 /tree/bounds 1032s ok 7 /tree/remove-all 1032s # End of tree tests 1032s ok - glib/tree.test 1032s # Running test: glib/sort.test 1032s TAP version 14 1032s # random seed: R02S91ce8f3d9c68eab380efbc1baf74c186 1032s 1..5 1032s # Start of sort tests 1032s ok 1 /sort/basic 1032s ok 2 /sort/zero-elements 1032s ok 3 /sort/stable 1032s ok 4 /sort/big 1032s ok 5 /sort/deprecated 1032s # End of sort tests 1032s ok - glib/sort.test 1032s # Running test: glib/gutils-user-database.test 1032s ok - glib/gutils-user-database.test 1032s # Running test: glib/dynamictests.test 1032s TAP version 14 1032s # random seed: R02S65b3374f2ca56db3d8637c4b3372d5d6 1032s 1..1 1032s # Start of gutils tests 1032s ok 1 /gutils/get_user_database_entry 1032s # End of gutils tests 1032s TAP version 14 1032s # random seed: R02S168b3f45802cb5e76c7cc9c98a5dd0b9 1032s 1..2 1032s # Start of GObject tests 1032s ok - glib/dynamictests.test 1032s ok 1 /GObject/threaded-dynamic-ref-unref-init 1032s ok 2 /GObject/dynamic-interface-properties 1032s # End of GObject tests 1032s # Running test: glib/task.test 1032s TAP version 14 1032s # random seed: R02S40b4e3d72a92e10cbb2e65fcf0892532 1032s 1..36 1032s # Start of gtask tests 1032s ok 1 /gtask/basic 1032s ok 2 /gtask/error 1032s ok 3 /gtask/error-literal 1032s ok 4 /gtask/error-literal-from-variable 1032s ok 5 /gtask/return-from-same-iteration 1032s ok 6 /gtask/return-from-toplevel 1032s ok 7 /gtask/return-from-anon-thread 1032s ok 8 /gtask/return-from-wrong-thread 1032s ok 9 /gtask/no-callback 1032s ok 10 /gtask/report-error 1032s ok 11 /gtask/priority 1032s ok 12 /gtask/name 1032s ok 13 /gtask/static-name 1032s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1033s ok 14 /gtask/asynchronous-cancellation 1033s ok 15 /gtask/check-cancellable 1033s ok 16 /gtask/return-if-cancelled 1033s ok 17 /gtask/run-in-thread 1033s ok 18 /gtask/run-in-thread-sync 1033s ok 19 /gtask/run-in-thread-priority 1033s ok 20 /gtask/run-in-thread-nested 1033s ok 21 /gtask/run-in-thread-overflow 1033s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 1033s # GLib-GIO-DEBUG: GTask 0x61df084c6d30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1033s # GLib-GIO-DEBUG: GTask 0x61df084c7030 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1033s ok 22 /gtask/return-on-cancel 1033s # GLib-GIO-DEBUG: GTask 0x61df084c74d0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1033s # GLib-GIO-DEBUG: GTask 0x61df085368b0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1033s ok 23 /gtask/return-on-cancel-sync 1033s ok 24 /gtask/return-on-cancel-atomic 1033s ok 25 /gtask/return-pointer 1033s ok 26 /gtask/return-value 1033s ok 27 /gtask/return-prefixed-error 1033s ok 28 /gtask/object-keepalive 1033s ok 29 /gtask/legacy-error 1033s ok 30 /gtask/finalize-without-return 1033s # Start of name tests 1033s ok 31 /gtask/name/macro-wrapper 1033s # End of name tests 1033s # Start of return tests 1033s ok 32 /gtask/return/error-first 1033s ok 33 /gtask/return/value-first 1033s # Start of in-idle tests 1033s ok 34 /gtask/return/in-idle/error-first 1033s ok 35 /gtask/return/in-idle/value-first 1033s # End of in-idle tests 1033s # End of return tests 1033s # Start of attach-source tests 1033s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1033s ok 36 /gtask/attach-source/set-name 1033s # End of attach-source tests 1033s # End of gtask tests 1033s ok - glib/task.test 1033s # Running test: glib/network-monitor-race.test 1033s TAP version 14 1033s # random seed: R02Sf69c4d3ba8aa8aa03e9dbb3d3460f15c 1033s 1..1 1033s # Start of network-monitor tests 1033s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1036s ok - glib/network-monitor-race.test 1036s # Running test: glib/unix-fd.test 1036s ok 1 /network-monitor/create-in-thread 1036s # slow test /network-monitor/create-in-thread executed in 2.16 secs 1036s # End of network-monitor tests 1036s TAP version 14 1036s # random seed: R02S9590ded7cc1b5593a03c3d0db7997c6e 1036s 1..2 1036s # Start of unix-fd tests 1036s ok 1 /unix-fd/fd-list 1036s ok 2 /unix-fd/scm 1036s # End of unix-fd tests 1036s ok - glib/unix-fd.test 1036s # Running test: glib/properties-refcount4.test 1036s ok - glib/properties-refcount4.test 1036s TAP version 14 1036s # random seed: R02S0c4396293886e2749085e6c10767164c 1036s 1..1 1036s # Start of gobject tests 1036s # Start of refcount tests 1036s ok 1 /gobject/refcount/properties-4 1036s # End of refcount tests 1036s # End of gobject tests 1036s # Running test: glib/thread-pool-slow.test 1036s TAP version 14 1036s # random seed: R02Sd424aa81901a179b81ef6fe7d7799dd8 1036s 1..7 1036s # Start of threadpool tests 1036s ok 1 /threadpool/functions 1036s # Executing: glib/thread-pool-slow.test 1036s ok 2 /threadpool/stop-unused 1036s # slow test /threadpool/stop-unused executed in 0.51 secs 1036s ok 3 /threadpool/pools 1036s # [unsorted] ===> pushed new thread with id:24, number of threads:1, unprocessed:1 1036s # [unsorted] ===> pushed new thread with id:89, number of threads:2, unprocessed:1 1036s # [unsorted] ===> pushed new thread with id:29, number of threads:3, unprocessed:1 1036s # [unsorted] ===> pushed new thread with id:83, number of threads:4, unprocessed:2 1036s # [unsorted] ===> pushed new thread with id:17, number of threads:5, unprocessed:3 1036s # [unsorted] ===> pushed new thread with id:63, number of threads:6, unprocessed:4 1036s # [unsorted] ===> pushed new thread with id:50, number of threads:7, unprocessed:5 1036s # [unsorted] ===> pushed new thread with id:99, number of threads:8, unprocessed:6 1036s # [unsorted] ===> pushed new thread with id:99, number of threads:9, unprocessed:6 1036s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:7 1036s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:1 1036s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:2 1036s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:3 1036s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:4 1036s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:5 1036s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:6 1036s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:7 1036s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:8 1036s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:9 1036s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:10 1036s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:11 1036s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:12 1036s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:13 1036s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:14 1036s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:15 1036s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:16 1036s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:17 1036s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:18 1036s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:19 1036s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:20 1036s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:21 1036s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:22 1036s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:23 1036s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:24 1036s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:25 1036s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:26 1036s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:27 1036s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:28 1036s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:29 1036s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:30 1036s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:31 1036s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:32 1036s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:33 1036s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:34 1036s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:35 1036s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:36 1036s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:37 1036s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:38 1036s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:39 1036s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:40 1036s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:41 1036s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:42 1036s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:43 1036s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:44 1036s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:45 1036s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:46 1036s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:47 1036s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:48 1036s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:49 1036s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:50 1036s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:51 1036s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:52 1036s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:53 1036s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:54 1036s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:55 1036s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:56 1036s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:57 1036s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:58 1036s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:59 1036s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:60 1036s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:61 1036s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:62 1036s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:63 1036s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:64 1036s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:65 1036s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:66 1036s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:67 1036s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:68 1036s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:69 1036s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:70 1036s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:71 1036s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:72 1036s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:73 1036s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:74 1036s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:75 1036s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:76 1036s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:77 1036s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:78 1036s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:79 1036s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:80 1036s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:81 1036s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:82 1036s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:83 1036s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:84 1036s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:85 1036s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:86 1036s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:87 1036s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:88 1036s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:89 1036s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:90 1036s ok 4 /threadpool/no-sort 1036s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:1 1036s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:2 1036s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:3 1036s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:4 1036s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:5 1036s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:6 1036s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:7 1036s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:8 1036s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:9 1036s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:10 1036s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:11 1036s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:12 1036s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:13 1036s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:14 1036s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:15 1036s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:16 1036s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:17 1036s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:18 1036s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:19 1036s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:20 1036s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:21 1036s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:22 1036s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:23 1036s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:24 1036s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:25 1036s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:26 1036s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:27 1036s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:28 1036s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:29 1036s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:30 1036s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:31 1036s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:32 1036s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:33 1036s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:34 1036s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:35 1036s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:36 1036s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:37 1036s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:38 1036s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:39 1036s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:40 1036s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:41 1036s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:42 1036s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:43 1036s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:44 1036s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:45 1036s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:46 1036s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:47 1036s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:48 1036s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:49 1036s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:50 1036s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:51 1036s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:52 1036s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:53 1036s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:54 1036s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:55 1036s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:56 1036s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:57 1036s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:58 1036s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:59 1036s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:60 1036s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:61 1036s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:62 1036s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:63 1036s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:64 1036s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:65 1036s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:66 1036s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:67 1036s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:68 1036s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:69 1036s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:70 1036s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:71 1036s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:72 1036s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:73 1036s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:74 1036s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:75 1036s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:76 1036s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:77 1036s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:78 1036s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:79 1036s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:80 1036s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:81 1036s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:82 1036s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:83 1036s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:84 1036s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:85 1036s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:86 1036s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:87 1036s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:88 1036s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:89 1036s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:90 1036s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:91 1036s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:92 1036s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:93 1036s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:94 1036s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:95 1036s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:96 1036s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:97 1036s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:98 1036s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:99 1036s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:100 1036s # Starting thread pool processing 1036s ok 5 /threadpool/sort 1037s ok 6 /threadpool/stop-unused-multiple 1037s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1037s # Pool idle thread count: 0, unprocessed jobs: 44 1037s # Pool idle thread count: 0, unprocessed jobs: 0 1037s # Pool idle thread count: 0, unprocessed jobs: 0 1038s # Pool idle thread count: 10, unprocessed jobs: 0 1038s # Pool idle thread count: 10, unprocessed jobs: 0 1038s # Pool idle thread count: 10, unprocessed jobs: 0 1038s # Pool idle thread count: 10, unprocessed jobs: 0 1039s # Pool idle thread count: 10, unprocessed jobs: 0 1039s # Pool idle thread count: 10, unprocessed jobs: 0 1039s # Pool idle thread count: 10, unprocessed jobs: 0 1039s # Pool idle thread count: 10, unprocessed jobs: 0 1040s # Pool idle thread count: 10, unprocessed jobs: 0 1040s # Pool idle thread count: 10, unprocessed jobs: 0 1040s # Pool idle thread count: 10, unprocessed jobs: 0 1040s # Pool idle thread count: 10, unprocessed jobs: 0 1041s # Pool idle thread count: 10, unprocessed jobs: 0 1041s # Pool idle thread count: 10, unprocessed jobs: 0 1041s # Executing: glib/thread-pool-slow.test 1041s # Pool idle thread count: 10, unprocessed jobs: 0 1041s # Pool idle thread count: 10, unprocessed jobs: 0 1042s # Pool idle thread count: 10, unprocessed jobs: 0 1042s # Pool idle thread count: 10, unprocessed jobs: 0 1042s # Pool idle thread count: 10, unprocessed jobs: 0 1042s # Pool idle thread count: 10, unprocessed jobs: 0 1043s # Pool idle thread count: 10, unprocessed jobs: 0 1043s # Pool idle thread count: 10, unprocessed jobs: 0 1043s # Pool idle thread count: 10, unprocessed jobs: 0 1043s # Pool idle thread count: 10, unprocessed jobs: 0 1044s # Pool idle thread count: 10, unprocessed jobs: 0 1044s # Pool idle thread count: 10, unprocessed jobs: 0 1044s # Pool idle thread count: 10, unprocessed jobs: 0 1044s # Pool idle thread count: 10, unprocessed jobs: 0 1045s # Pool idle thread count: 10, unprocessed jobs: 0 1045s # Pool idle thread count: 10, unprocessed jobs: 0 1045s # Pool idle thread count: 10, unprocessed jobs: 0 1045s # Pool idle thread count: 10, unprocessed jobs: 0 1046s # Pool idle thread count: 10, unprocessed jobs: 2 1046s # Pool idle thread count: 10, unprocessed jobs: 2 1046s # Pool idle thread count: 8, unprocessed jobs: 0 1046s # Pool idle thread count: 8, unprocessed jobs: 0 1046s # Executing: glib/thread-pool-slow.test 1046s # Pool idle thread count: 10, unprocessed jobs: 0 1046s # Pool idle thread count: 10, unprocessed jobs: 0 1047s # Pool idle thread count: 10, unprocessed jobs: 0 1047s # Pool idle thread count: 10, unprocessed jobs: 0 1047s # Pool idle thread count: 10, unprocessed jobs: 0 1047s # Pool idle thread count: 10, unprocessed jobs: 0 1048s # Pool idle thread count: 2, unprocessed jobs: 0 1048s # Pool idle thread count: 2, unprocessed jobs: 0 1048s # Pool idle thread count: 2, unprocessed jobs: 0 1048s # Pool idle thread count: 2, unprocessed jobs: 0 1049s # Pool idle thread count: 2, unprocessed jobs: 0 1049s # Pool idle thread count: 2, unprocessed jobs: 0 1049s # Pool idle thread count: 2, unprocessed jobs: 0 1049s # Pool idle thread count: 2, unprocessed jobs: 0 1050s # Pool idle thread count: 2, unprocessed jobs: 0 1050s # Pool idle thread count: 2, unprocessed jobs: 0 1050s # Pool idle thread count: 2, unprocessed jobs: 0 1050s # Pool idle thread count: 2, unprocessed jobs: 0 1051s # Pool idle thread count: 2, unprocessed jobs: 0 1051s # Pool idle thread count: 2, unprocessed jobs: 0 1051s # Executing: glib/thread-pool-slow.test 1051s # Pool idle thread count: 2, unprocessed jobs: 0 1051s # Pool idle thread count: 2, unprocessed jobs: 0 1052s # Pool idle thread count: 2, unprocessed jobs: 0 1052s # Pool idle thread count: 2, unprocessed jobs: 0 1052s # Pool idle thread count: 2, unprocessed jobs: 0 1052s # Pool idle thread count: 2, unprocessed jobs: 0 1053s # Pool idle thread count: 2, unprocessed jobs: 0 1053s # Pool idle thread count: 2, unprocessed jobs: 0 1053s # Pool idle thread count: 2, unprocessed jobs: 0 1053s # Pool idle thread count: 2, unprocessed jobs: 0 1054s # Pool idle thread count: 2, unprocessed jobs: 0 1054s # Pool idle thread count: 2, unprocessed jobs: 0 1054s # Pool idle thread count: 2, unprocessed jobs: 0 1054s # Pool idle thread count: 2, unprocessed jobs: 0 1055s # Pool idle thread count: 2, unprocessed jobs: 0 1055s # Pool idle thread count: 2, unprocessed jobs: 0 1055s # Pool idle thread count: 2, unprocessed jobs: 0 1055s # Pool idle thread count: 2, unprocessed jobs: 0 1056s # Pool idle thread count: 2, unprocessed jobs: 0 1056s # Pool idle thread count: 2, unprocessed jobs: 0 1056s # Executing: glib/thread-pool-slow.test 1056s ok - glib/thread-pool-slow.test 1056s ok 7 /threadpool/idle-time 1056s # slow test /threadpool/idle-time executed in 19.52 secs 1056s # End of threadpool tests 1056s # Running test: glib/gdbus-exit-on-close.test 1056s TAP version 14 1056s # random seed: R02S0886207f812dc7d2a895964916b1e8e9 1056s 1..4 1056s # Start of gdbus tests 1056s # Start of exit-on-close tests 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/default/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/default/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/default/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/default/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/default/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/default/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/default/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/default/.dirs/runtime 1056s ok 1 /gdbus/exit-on-close/default 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/true/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/true/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/true/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/true/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/true/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/true/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/true/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/true/.dirs/runtime 1056s ok 2 /gdbus/exit-on-close/true 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/false/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/false/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/false/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/false/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/false/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/false/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/false/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/false/.dirs/runtime 1056s ok 3 /gdbus/exit-on-close/false 1056s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/we-close/.dirs/home 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/we-close/.dirs/cache 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/we-close/.dirs/system-config2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/we-close/.dirs/config 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/we-close/.dirs/system-data2 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/we-close/.dirs/data 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/we-close/.dirs/state 1056s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_7MM8Z2/gdbus/exit-on-close/we-close/.dirs/runtime 1057s ok - glib/gdbus-exit-on-close.test 1057s ok 4 /gdbus/exit-on-close/we-close 1057s # Start of default tests 1057s # End of default tests 1057s # Start of true tests 1057s # End of true tests 1057s # Start of false tests 1057s # End of false tests 1057s # Start of we-close tests 1057s # End of we-close tests 1057s # End of exit-on-close tests 1057s # End of gdbus tests 1057s # Running test: glib/gdbus-export.test 1057s TAP version 14 1057s # random seed: R02S75e701e8237904e46fbc195f7b4f6f85 1057s 1..6 1057s # Start of gdbus tests 1057s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_EQCA02/gdbus/object-registration/.dirs/home 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/object-registration/.dirs/cache 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_EQCA02/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_EQCA02/gdbus/object-registration/.dirs/system-config2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/object-registration/.dirs/config 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_EQCA02/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_EQCA02/gdbus/object-registration/.dirs/system-data2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/object-registration/.dirs/data 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/object-registration/.dirs/state 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_EQCA02/gdbus/object-registration/.dirs/runtime 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s ok 1 /gdbus/object-registration 1057s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_EQCA02/gdbus/object-registration-with-closures/.dirs/home 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/object-registration-with-closures/.dirs/cache 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_EQCA02/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_EQCA02/gdbus/object-registration-with-closures/.dirs/system-config2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/object-registration-with-closures/.dirs/config 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_EQCA02/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_EQCA02/gdbus/object-registration-with-closures/.dirs/system-data2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/object-registration-with-closures/.dirs/data 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/object-registration-with-closures/.dirs/state 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_EQCA02/gdbus/object-registration-with-closures/.dirs/runtime 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s ok 2 /gdbus/object-registration-with-closures 1057s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_EQCA02/gdbus/registered-interfaces/.dirs/home 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/registered-interfaces/.dirs/cache 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_EQCA02/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_EQCA02/gdbus/registered-interfaces/.dirs/system-config2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/registered-interfaces/.dirs/config 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_EQCA02/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_EQCA02/gdbus/registered-interfaces/.dirs/system-data2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/registered-interfaces/.dirs/data 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/registered-interfaces/.dirs/state 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_EQCA02/gdbus/registered-interfaces/.dirs/runtime 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s ok 3 /gdbus/registered-interfaces 1057s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_EQCA02/gdbus/async-properties/.dirs/home 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/async-properties/.dirs/cache 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_EQCA02/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_EQCA02/gdbus/async-properties/.dirs/system-config2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/async-properties/.dirs/config 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_EQCA02/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_EQCA02/gdbus/async-properties/.dirs/system-data2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/async-properties/.dirs/data 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/async-properties/.dirs/state 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_EQCA02/gdbus/async-properties/.dirs/runtime 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s ok 4 /gdbus/async-properties 1057s # Start of threaded-unregistration tests 1057s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_EQCA02/gdbus/threaded-unregistration/object/.dirs/home 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/threaded-unregistration/object/.dirs/cache 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_EQCA02/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_EQCA02/gdbus/threaded-unregistration/object/.dirs/system-config2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/threaded-unregistration/object/.dirs/config 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_EQCA02/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_EQCA02/gdbus/threaded-unregistration/object/.dirs/system-data2 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/threaded-unregistration/object/.dirs/data 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/threaded-unregistration/object/.dirs/state 1057s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_EQCA02/gdbus/threaded-unregistration/object/.dirs/runtime 1057s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1057s # /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 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1057s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (1 iterations with unregistration first, 999 with call first); skipping test 1058s # slow test /gdbus/threaded-unregistration/object executed in 1.05 secs 1058s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_EQCA02/gdbus/threaded-unregistration/subtree/.dirs/home 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/threaded-unregistration/subtree/.dirs/cache 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_EQCA02/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_EQCA02/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/threaded-unregistration/subtree/.dirs/config 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_EQCA02/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_EQCA02/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/threaded-unregistration/subtree/.dirs/data 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_EQCA02/gdbus/threaded-unregistration/subtree/.dirs/state 1058s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_EQCA02/gdbus/threaded-unregistration/subtree/.dirs/runtime 1058s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1058s # /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 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1058s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1059s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 1059s # slow test /gdbus/threaded-unregistration/subtree executed in 1.07 secs 1059s # End of threaded-unregistration tests 1059s # End of gdbus tests 1059s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1059s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1059s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1059s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1059s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1059s ok - glib/gdbus-export.test 1059s # Running test: glib/type-flags.test 1059s ok - glib/type-flags.test 1059s TAP version 14 1059s # random seed: R02Seee3fe499977c023a7ccf88358739d16 1059s 1..4 1059s # Start of type tests 1059s # Start of flags tests 1059s ok 1 /type/flags/interface 1059s ok 2 /type/flags/final 1059s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1059s ok 3 /type/flags/deprecated 1059s # Start of final tests 1059s # Running test: glib/asyncqueue.test 1059s ok 4 /type/flags/final/instance-check 1059s # End of final tests 1059s # End of flags tests 1059s # End of type tests 1059s TAP version 14 1059s # random seed: R02S73e8ca4e6f42493cf6a4b72dea96710e 1059s 1..7 1059s # Start of asyncqueue tests 1059s ok 1 /asyncqueue/basics 1059s ok 2 /asyncqueue/sort 1059s ok 3 /asyncqueue/destroy 1059s ok 4 /asyncqueue/threads 1059s ok 5 /asyncqueue/timed 1059s ok 6 /asyncqueue/remove 1059s ok 7 /asyncqueue/push_front 1059s # End of asyncqueue tests 1059s ok - glib/asyncqueue.test 1059s # Running test: glib/macros-c-17.test 1059s TAP version 14 1059s # random seed: R02S3d917332d4f9429628934e78dae5ab73 1059s 1..4 1059s # Start of C tests 1059s ok 1 /C/standard-17 1059s # End of C tests 1059s # Start of alignof tests 1059s ok 2 /alignof/fallback 1059s # End of alignof tests 1059s # Start of assert tests 1059s ok 3 /assert/static 1059s # End of assert tests 1059s # Start of struct tests 1059s ok 4 /struct/sizeof_member 1059s # End of struct tests 1059s ok - glib/macros-c-17.test 1059s # Running test: glib/reference.test 1059s TAP version 14 1059s # random seed: R02Sfb932eae628f8ef4c0bc62836a6669b1 1059s 1..29 1059s # Start of type tests 1059s ok 1 /type/fundamentals 1059s ok 2 /type/qdata 1059s ok 3 /type/query 1059s ok 4 /type/class-private 1059s # End of type tests 1059s # Start of object tests 1059s ok 5 /object/clear 1059s ok 6 /object/clear-function 1059s ok 7 /object/set 1059s ok 8 /object/set-function 1059s ok 9 /object/value 1059s ok 10 /object/initially-unowned 1059s ok 11 /object/weak-pointer 1059s ok 12 /object/weak-ref 1059s ok 13 /object/toggle-ref 1059s ok 14 /object/qdata 1059s ok 15 /object/qdata2 1059s # Start of set tests 1059s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1059s ok 16 /object/set/derived-type 1059s # End of set tests 1059s # Start of weak-pointer tests 1059s ok 17 /object/weak-pointer/clear 1059s ok 18 /object/weak-pointer/clear-function 1059s ok 19 /object/weak-pointer/set 1059s ok 20 /object/weak-pointer/set-function 1059s # End of weak-pointer tests 1059s # Start of weak-ref tests 1059s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1059s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1059s ok 21 /object/weak-ref/on-dispose 1059s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1059s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1059s ok 22 /object/weak-ref/on-run-dispose 1059s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1059s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1059s ok 23 /object/weak-ref/on-toggle-notify 1059s ok 24 /object/weak-ref/in-toggle-notify 1059s ok 25 /object/weak-ref/many 1059s # Start of concurrent tests 1059s ok 26 /object/weak-ref/concurrent/0 1059s ok 27 /object/weak-ref/concurrent/1 1059s # End of concurrent tests 1059s # End of weak-ref tests 1059s # Start of toggle-ref tests 1059s ok 28 /object/toggle-ref/ref-on-dispose 1059s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1059s # End of toggle-ref tests 1059s # End of object tests 1059s ok - glib/reference.test 1059s # Running test: glib/guuid.test 1059s TAP version 14 1059s # random seed: R02S13e6c2ab9c7bc55718d78453eb31fdda 1059s 1..2 1059s # Start of uuid tests 1059s ok 1 /uuid/string 1059s ok 2 /uuid/random 1059s # End of uuid tests 1059s ok - glib/guuid.test 1059s # Running test: glib/giomodule.test 1059s TAP version 14 1059s # random seed: R02S95b50fa9e1cdaea6f690f3ec8a9836d4 1059s 1..3 1059s # Start of giomodule tests 1059s ok 1 /giomodule/extension-point 1059s ok 2 /giomodule/module-scan-all 1059s ok - glib/giomodule.test 1059s ok 3 /giomodule/module-scan-all-with-scope 1059s # End of giomodule tests 1059s # Running test: glib/spawn-path-search.test 1059s TAP version 14 1059s # random seed: R02S26c1dcef002ef7c22f784362f01ae998 1059s 1..7 1059s # Start of spawn tests 1059s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1059s # 1059s # this is spawn-test-helper from glib/tests 1059s # 1059s ok 1 /spawn/do-not-search 1059s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1059s # 1059s # this is spawn-test-helper from path-test-subdir 1059s # 1059s ok 2 /spawn/search-path 1059s # /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. 1059s # 1059s # this is spawn-test-helper from path-test-subdir 1059s # 1059s ok 3 /spawn/search-path-from-envp 1059s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1059s # 1059s # this is spawn-test-helper from path-test-subdir 1059s # 1059s ok 4 /spawn/search-path-ambiguous 1059s # 1059s # this is spawn-test-helper from path-test-subdir 1059s # 1059s ok 5 /spawn/search-path-heap-allocation 1059s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1059s # 1059s # this is spawn-test-helper from glib/tests 1059s # 1059s ok 6 /spawn/search-path-fallback-in-environ 1059s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1059s # 1059s # this is spawn-test-helper from glib/tests 1059s # 1059s ok 7 /spawn/search-path-fallback-in-envp 1059s # End of spawn tests 1059s ok - glib/spawn-path-search.test 1059s # Running test: glib/gthash.test 1059s TAP version 14 1059s # random seed: R02S82c4c9e6d14e51b2239747562cedaeb9 1059s 1..1 1059s # Start of gthash tests 1059s ok 1 /gthash/build-retrieve 1059s # End of gthash tests 1059s TAP version 14 1059s # random seed: R02Sfe387f6eee2c297217a77dd1665bf6a4 1059s 1..2 1059s # Start of gobject tests 1059s # Start of singleton tests 1059s ok 1 /gobject/singleton/construction 1059s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1059s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1059s ok 2 /gobject/singleton/construct-property 1059s # End of singleton tests 1059s # End of gobject tests 1059s ok - glib/gthash.test 1059s # Running test: glib/singleton.test 1059s ok - glib/singleton.test 1059s # Running test: glib/atomic-c-99.test 1059s TAP version 14 1059s # random seed: R02Sc8887cdee19e18eb716226cd694b4b98 1059s 1..2 1059s # Start of atomic tests 1059s ok 1 /atomic/types 1059s ok - glib/atomic-c-99.test 1059s ok 2 /atomic/threaded 1059s # End of atomic tests 1059s # Running test: glib/defaultiface.test 1059s TAP version 14 1059s # random seed: R02S80f394be79a0c677998fa786e3102b40 1059s 1..2 1059s # Start of gobject tests 1059s ok 1 /gobject/static-iface 1059s ok 2 /gobject/dynamic-iface 1059s # End of gobject tests 1059s ok - glib/defaultiface.test 1059s # Running test: glib/bindinggroup.test 1059s TAP version 14 1059s # random seed: R02Sf7e7518126070c969fe9862f6b39d218 1059s 1..11 1059s # Start of GObject tests 1059s # Start of BindingGroup tests 1059s ok 1 /GObject/BindingGroup/invalid 1059s ok 2 /GObject/BindingGroup/default 1059s ok 3 /GObject/BindingGroup/bidirectional 1059s ok 4 /GObject/BindingGroup/transform 1059s ok 5 /GObject/BindingGroup/transform-closures 1059s ok 6 /GObject/BindingGroup/same-object 1059s ok 7 /GObject/BindingGroup/weak-ref-source 1059s ok 8 /GObject/BindingGroup/weak-ref-target 1059s ok 9 /GObject/BindingGroup/properties 1059s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1059s ok 11 /GObject/BindingGroup/empty-closures 1059s # End of BindingGroup tests 1059s # End of GObject tests 1059s ok - glib/bindinggroup.test 1059s # Running test: glib/throws.test 1059s TAP version 14 1059s # random seed: R02S0a29810fb76ea24a971a6fe90f6a66e0 1059s 1..3 1059s # Start of throws tests 1059s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_LRY6Z2/throws/invoke-gerror/.dirs/home 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_LRY6Z2/throws/invoke-gerror/.dirs/cache 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_LRY6Z2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_LRY6Z2/throws/invoke-gerror/.dirs/system-config2 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_LRY6Z2/throws/invoke-gerror/.dirs/config 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_LRY6Z2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_LRY6Z2/throws/invoke-gerror/.dirs/system-data2 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_LRY6Z2/throws/invoke-gerror/.dirs/data 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_LRY6Z2/throws/invoke-gerror/.dirs/state 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_LRY6Z2/throws/invoke-gerror/.dirs/runtime 1059s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1059s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1059s ok 1 /throws/invoke-gerror 1059s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_LRY6Z2/throws/vfunc-can-throw-gerror/.dirs/home 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_LRY6Z2/throws/vfunc-can-throw-gerror/.dirs/cache 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_LRY6Z2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_LRY6Z2/throws/vfunc-can-throw-gerror/.dirs/system-config2 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_LRY6Z2/throws/vfunc-can-throw-gerror/.dirs/config 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_LRY6Z2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_LRY6Z2/throws/vfunc-can-throw-gerror/.dirs/system-data2 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_LRY6Z2/throws/vfunc-can-throw-gerror/.dirs/data 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_LRY6Z2/throws/vfunc-can-throw-gerror/.dirs/state 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_LRY6Z2/throws/vfunc-can-throw-gerror/.dirs/runtime 1059s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1059s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1059s ok 2 /throws/vfunc-can-throw-gerror 1059s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_LRY6Z2/throws/callback-can-throw-gerror/.dirs/home 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_LRY6Z2/throws/callback-can-throw-gerror/.dirs/cache 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_LRY6Z2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_LRY6Z2/throws/callback-can-throw-gerror/.dirs/system-config2 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_LRY6Z2/throws/callback-can-throw-gerror/.dirs/config 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_LRY6Z2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_LRY6Z2/throws/callback-can-throw-gerror/.dirs/system-data2 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_LRY6Z2/throws/callback-can-throw-gerror/.dirs/data 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_LRY6Z2/throws/callback-can-throw-gerror/.dirs/state 1059s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_LRY6Z2/throws/callback-can-throw-gerror/.dirs/runtime 1059s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1059s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1059s ok 3 /throws/callback-can-throw-gerror 1059s # End of throws tests 1059s ok - glib/throws.test 1059s # Running test: glib/cancellable.test 1059s TAP version 14 1059s # random seed: R02S7fef2d83b5073b21127cf69b4121d00b 1059s 1..10 1059s # Start of cancellable tests 1059s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1059s ok 2 /cancellable/null 1059s # /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 1059s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1059s # /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 1060s ok 4 /cancellable/resets-on-cancel-callback-hangs 1060s ok 5 /cancellable/poll-fd 1060s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1060s ok 6 /cancellable/poll-fd-cancelled 1060s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1060s ok 7 /cancellable/poll-fd-cancelled-threaded 1060s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1060s ok 8 /cancellable/cancel-reset-races 1060s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1060s not ok 9 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly 1060s # End of cancellable tests 1060s # Start of cancellable-source tests 1060s # /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) 1060s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1060s ok 10 /cancellable-source/threaded-dispose 1060s # slow test /cancellable-source/threaded-dispose executed in 0.74 secs 1060s # End of cancellable-source tests 1060s ok - glib/cancellable.test 1060s # Running test: glib/strfuncs.test 1060s TAP version 14 1060s # random seed: R02Sdc972cc569e16dbc60390955745214f1 1060s 1..50 1060s # Start of strfuncs tests 1060s ok 1 /strfuncs/ascii-strcasecmp 1060s ok 2 /strfuncs/ascii_strdown 1060s ok 3 /strfuncs/ascii_strdup 1060s ok 4 /strfuncs/ascii_strtod 1060s ok 5 /strfuncs/bounds-check 1060s ok 6 /strfuncs/has-prefix 1060s ok 7 /strfuncs/has-prefix-macro 1060s ok 8 /strfuncs/has-suffix 1060s ok 9 /strfuncs/has-suffix-macro 1060s ok 10 /strfuncs/memdup 1060s ok 11 /strfuncs/memdup2 1060s ok 12 /strfuncs/set_str 1060s ok 13 /strfuncs/stpcpy 1060s ok 14 /strfuncs/str_match_string 1060s ok 15 /strfuncs/str_tokenize_and_fold 1060s ok 16 /strfuncs/strcanon 1060s ok 17 /strfuncs/strchomp 1060s ok 18 /strfuncs/strchug 1060s ok 19 /strfuncs/strcompress-strescape 1060s ok 20 /strfuncs/strconcat 1060s ok 21 /strfuncs/strdelimit 1060s ok 22 /strfuncs/strdup 1060s ok 23 /strfuncs/strdup-printf 1060s ok 24 /strfuncs/strdupv 1060s ok 25 /strfuncs/strerror 1060s ok 26 /strfuncs/strip-context 1060s ok 27 /strfuncs/strjoin 1060s ok 28 /strfuncs/strjoinv 1060s ok 29 /strfuncs/strlcat 1060s ok 30 /strfuncs/strlcpy 1060s ok 31 /strfuncs/strncasecmp 1060s ok 32 /strfuncs/strndup 1060s ok 33 /strfuncs/strnfill 1060s ok 34 /strfuncs/strreverse 1060s ok 35 /strfuncs/strsignal 1060s ok 36 /strfuncs/strsplit 1060s ok 37 /strfuncs/strsplit-set 1060s ok 38 /strfuncs/strstr 1060s ok 39 /strfuncs/strtod 1060s ok 40 /strfuncs/strtoull-strtoll 1060s ok 41 /strfuncs/strup 1060s ok 42 /strfuncs/strv-contains 1060s ok 43 /strfuncs/strv-equal 1060s ok 44 /strfuncs/strv-length 1060s ok 45 /strfuncs/test-is-to-digit 1060s ok 46 /strfuncs/transliteration 1060s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1060s ok 47 /strfuncs/str-equal 1060s # Start of ascii-string-to-num tests 1060s ok 48 /strfuncs/ascii-string-to-num/pathological 1060s ok 49 /strfuncs/ascii-string-to-num/usual 1060s # End of ascii-string-to-num tests 1060s # Start of strdup tests 1060s ok 50 /strfuncs/strdup/inline 1060s # End of strdup tests 1060s # End of strfuncs tests 1060s ok - glib/strfuncs.test 1060s # Running test: glib/gdbus-connection-loss.test 1060s TAP version 14 1060s # random seed: R02Sa6912c306560d5828abe1ae50d0e3d51 1060s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1060s 1..1 1060s # Start of gdbus tests 1060s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_9AVC02/gdbus/connection-loss/.dirs/home 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_9AVC02/gdbus/connection-loss/.dirs/cache 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_9AVC02/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_9AVC02/gdbus/connection-loss/.dirs/system-config2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_9AVC02/gdbus/connection-loss/.dirs/config 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_9AVC02/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_9AVC02/gdbus/connection-loss/.dirs/system-data2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_9AVC02/gdbus/connection-loss/.dirs/data 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_9AVC02/gdbus/connection-loss/.dirs/state 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_9AVC02/gdbus/connection-loss/.dirs/runtime 1060s ok 1 /gdbus/connection-loss 1060s # End of gdbus tests 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 - glib/gdbus-connection-loss.test 1061s # Running test: glib/642026.test 1061s TAP version 14 1061s # random seed: R02S29c2b8a7b45e91cbe97e8b06f2187f8e 1061s 1..1 1061s # Start of glib tests 1061s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1061s ok 1 /glib/642026 1061s # End of glib tests 1061s ok - glib/642026.test 1061s # Running test: glib/sleepy-stream.test 1061s TAP version 14 1061s # random seed: R02S8111af58e5153fa55a3f8c9d7ca69f10 1061s 1..2 1061s # Start of filter-stream tests 1061s ok 1 /filter-stream/input 1061s ok 2 /filter-stream/async 1061s # End of filter-stream tests 1061s ok - glib/sleepy-stream.test 1061s TAP version 14 1061s # random seed: R02S94737e20c4d5ce54b6a6aa2543b2d8ed 1061s 1..3 1061s # Start of fileattributematcher tests 1061s ok 1 /fileattributematcher/exact 1061s ok 2 /fileattributematcher/equality 1061s ok 3 /fileattributematcher/subtract 1061s # End of fileattributematcher tests 1061s # Running test: glib/fileattributematcher.test 1061s ok - glib/fileattributematcher.test 1061s # Running test: glib/portal-support-flatpak-gsettings-only.test 1061s TAP version 14 1061s # random seed: R02S1a5ac5b9c259d2ee36aa4ab845d7e9d4 1061s 1..1 1061s # Start of portal-support tests 1061s # Start of flatpak tests 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_W3AJ02/portal-support/flatpak/gsettings/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_W3AJ02/portal-support/flatpak/gsettings/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_W3AJ02/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_W3AJ02/portal-support/flatpak/gsettings/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_W3AJ02/portal-support/flatpak/gsettings/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_W3AJ02/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_W3AJ02/portal-support/flatpak/gsettings/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_W3AJ02/portal-support/flatpak/gsettings/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_W3AJ02/portal-support/flatpak/gsettings/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_W3AJ02/portal-support/flatpak/gsettings/.dirs/runtime 1061s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_W3AJ02/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1061s ok 1 /portal-support/flatpak/gsettings 1061s # End of flatpak tests 1061s # End of portal-support tests 1061s ok - glib/portal-support-flatpak-gsettings-only.test 1061s # Running test: glib/memchunk.test 1061s TAP version 14 1061s # random seed: R02S5c7752ff4f495b22d154d4612cd710a2 1061s 1..1 1061s # Start of memchunk tests 1061s ok 1 /memchunk/basic 1061s # End of memchunk tests 1061s ok - glib/memchunk.test 1061s # Running test: glib/gdbus-test-codegen-old.test 1061s TAP version 14 1061s # random seed: R02Sbcd2423e09ba4e0dfa6655c22a142c2b 1061s 1..8 1061s # Start of gdbus tests 1061s # Start of codegen tests 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/annotations/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/annotations/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/annotations/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/annotations/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/annotations/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/annotations/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/annotations/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/annotations/.dirs/runtime 1061s ok 1 /gdbus/codegen/annotations 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/interface_stability/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/interface_stability/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/interface_stability/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/interface_stability/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/interface_stability/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/interface_stability/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/interface_stability/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/interface_stability/.dirs/runtime 1061s ok 2 /gdbus/codegen/interface_stability 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/object-manager/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/object-manager/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/object-manager/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/object-manager/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/object-manager/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/object-manager/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/object-manager/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/object-manager/.dirs/runtime 1061s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1061s ok 3 /gdbus/codegen/object-manager 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/property-naming/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/property-naming/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/property-naming/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/property-naming/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/property-naming/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/property-naming/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/property-naming/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/property-naming/.dirs/runtime 1061s ok 4 /gdbus/codegen/property-naming 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/autocleanups/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/autocleanups/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/autocleanups/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/autocleanups/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/autocleanups/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/autocleanups/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/autocleanups/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/autocleanups/.dirs/runtime 1061s ok 5 /gdbus/codegen/autocleanups 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/deprecations/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/deprecations/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/deprecations/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/deprecations/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/deprecations/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/deprecations/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/deprecations/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/deprecations/.dirs/runtime 1061s ok 6 /gdbus/codegen/deprecations 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/standalone-interface-info/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/standalone-interface-info/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/standalone-interface-info/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/standalone-interface-info/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/standalone-interface-info/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/standalone-interface-info/.dirs/runtime 1061s ok 7 /gdbus/codegen/standalone-interface-info 1061s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/unix-fd-list/.dirs/home 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/unix-fd-list/.dirs/cache 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/unix-fd-list/.dirs/system-config2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/unix-fd-list/.dirs/config 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/unix-fd-list/.dirs/system-data2 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/unix-fd-list/.dirs/data 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/unix-fd-list/.dirs/state 1061s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OGDJ02/gdbus/codegen/unix-fd-list/.dirs/runtime 1061s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1061s ok 8 /gdbus/codegen/unix-fd-list 1061s # End of codegen tests 1061s # End of gdbus tests 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1061s ok - glib/gdbus-test-codegen-old.test 1061s # Running test: glib/macros.test 1061s TAP version 14 1061s # random seed: R02S958cb1b42f8a2a0c1f0b1f85fbbebdcb 1061s 1..3 1061s # Start of alignof tests 1061s ok 1 /alignof/fallback 1061s # End of alignof tests 1061s # Start of assert tests 1061s ok 2 /assert/static 1061s # End of assert tests 1061s # Start of struct tests 1061s ok 3 /struct/sizeof_member 1061s # End of struct tests 1061s TAP version 14 1061s # random seed: R02S423c70fd106e9a5f8c72c25997d5d4af 1061s 1..4 1061s # Start of gthread tests 1061s ok - glib/macros.test 1061s # Running test: glib/spawn-multithreaded.test 1061s # Executing: glib/spawn-multithreaded.test 1062s # Child 13050 (ttl 1) exited, status 0 1063s # Child 13051 (ttl 2) exited, status 0 1063s ok 1 /gthread/spawn-childs 1063s # slow test /gthread/spawn-childs executed in 2.00 secs 1063s # Created pid: 13055 (ttl 1) 1063s # Created pid: 13056 (ttl 2) 1064s # Child 13055 (ttl 1) exited, status 0 1065s # Child 13056 (ttl 2) exited, status 0 1065s ok 2 /gthread/spawn-childs-threads 1065s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1065s ok 3 /gthread/spawn-sync 1065s ok 4 /gthread/spawn-async 1065s # End of gthread tests 1065s ok - glib/spawn-multithreaded.test 1065s # Running test: glib/module-test-plugin.test 1065s TAP version 14 1065s # random seed: R02S12d1a2ba51c4989526186398f1ab7b49 1065s 1..3 1065s # Start of module tests 1065s ok 1 /module/basics 1065s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1065s ok 2 /module/invalid-libtool-archive 1065s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1065s ok - glib/module-test-plugin.test 1065s # Running test: glib/utf8-pointer.test 1065s ok 3 /module/local-binding 1065s # End of module tests 1065s TAP version 14 1065s # random seed: R02S76e4f8da87e69910a3bad011a05f8d26 1065s 1..3 1065s # Start of utf8 tests 1066s ok - glib/utf8-pointer.test 1066s ok 1 /utf8/offsets 1066s # slow test /utf8/offsets executed in 0.87 secs 1066s ok 2 /utf8/lengths 1066s ok 3 /utf8/find 1066s # End of utf8 tests 1066s # Running test: glib/resources.test 1066s TAP version 14 1066s # random seed: R02S427536a16c7717d3c0c98ab2c9cc4f64 1066s 1..17 1066s # Start of resource tests 1066s ok 1 /resource/file 1066s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1066s ok 2 /resource/file-path 1066s ok 3 /resource/data 1066s ok 4 /resource/data_unaligned 1066s ok 5 /resource/data-corrupt 1066s ok 6 /resource/data-empty 1066s ok 7 /resource/registered 1066s ok 8 /resource/manual 1066s ok 9 /resource/manual2 1066s ok 10 /resource/automatic 1066s ok 11 /resource/module 1066s ok 12 /resource/binary-linked 1066s ok 13 /resource/64k 1066s GLib-GIO-Message: 17:31:31.971: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1066s ok 14 /resource/overlay 1066s ok 15 /resource/digits 1066s # Start of uri tests 1066s ok 16 /resource/uri/query-info 1066s ok 17 /resource/uri/file 1066s # End of uri tests 1066s # End of resource tests 1066s TAP version 14 1066s # random seed: R02Se8f16ed239c7bd35d9434493091be7be 1066s 1..14 1066s # Start of glib tests 1066s # Start of markup tests 1066s # Start of subparser tests 1066s # Start of success tests 1066s ok 1 /glib/markup/subparser/success/0 1066s ok 2 /glib/markup/subparser/success/1 1066s ok 3 /glib/markup/subparser/success/2 1066s ok 4 /glib/markup/subparser/success/3 1066s ok 5 /glib/markup/subparser/success/4 1066s ok 6 /glib/markup/subparser/success/5 1066s ok 7 /glib/markup/subparser/success/6 1066s # End of success tests 1066s # Start of failure tests 1066s ok 8 /glib/markup/subparser/failure/0 1066s ok 9 /glib/markup/subparser/failure/1 1066s ok 10 /glib/markup/subparser/failure/2 1066s ok 11 /glib/markup/subparser/failure/3 1066s ok 12 /glib/markup/subparser/failure/4 1066s ok 13 /glib/markup/subparser/failure/5 1066s ok 14 /glib/markup/subparser/failure/6 1066s # End of failure tests 1066s # End of subparser tests 1066s # End of markup tests 1066s # End of glib tests 1066s TAP version 14 1066s # random seed: R02S2ccddcb189177333c58ee833e415af78 1066s 1..21 1066s # Start of markup tests 1066s # Start of collect tests 1066s ok 1 /markup/collect/0 1066s ok 2 /markup/collect/1 1066s ok 3 /markup/collect/2 1066s ok 4 /markup/collect/3 1066s ok 5 /markup/collect/4 1066s ok 6 /markup/collect/5 1066s ok - glib/resources.test 1066s # Running test: glib/markup-subparser.test 1066s ok - glib/markup-subparser.test 1066s # Running test: glib/markup-collect.test 1066s ok 7 /markup/collect/6 1066s ok 8 /markup/collect/7 1066s ok 9 /markup/collect/8 1066s ok 10 /markup/collect/9 1066s ok 11 /markup/collect/10 1066s ok 12 /markup/collect/11 1066s ok 13 /markup/collect/12 1066s ok 14 /markup/collect/13 1066s ok 15 /markup/collect/14 1066s ok 16 /markup/collect/15 1066s ok 17 /markup/collect/16 1066s ok 18 /markup/collect/17 1066s ok 19 /markup/collect/18 1066s ok 20 /markup/collect/19 1066s ok 21 /markup/collect/cleanup 1066s # End of collect tests 1066s # End of markup tests 1066s TAP version 14 1066s # random seed: R02S2777a3c6df8e44f543b132dd3667a5f9 1066s 1..23 1066s # Start of string tests 1066s ok 1 /string/test-string-chunks 1066s ok 2 /string/test-string-chunk-insert 1066s ok 3 /string/test-string-new 1066s ok 4 /string/test-string-printf 1066s ok 5 /string/test-string-assign 1066s ok 6 /string/test-string-append-c 1066s ok 7 /string/test-string-append 1066s ok 8 /string/test-string-append-vprintf 1066s ok 9 /string/test-string-prepend-c 1066s ok 10 /string/test-string-prepend 1066s ok 11 /string/test-string-insert 1066s ok 12 /string/test-string-insert-unichar 1066s ok 13 /string/test-string-equal 1066s ok 14 /string/test-string-truncate 1066s ok 15 /string/test-string-overwrite 1066s ok 16 /string/test-string-nul-handling 1066s ok - glib/markup-collect.test 1066s # Running test: glib/string.test 1066s ok 17 /string/test-string-up-down 1066s ok 18 /string/test-string-set-size 1066s ok 19 /string/test-string-to-bytes 1066s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1066s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1066s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1066s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1066s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1066s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1066s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1066s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1066s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1066s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1066s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1066s # -> 4 replacements, "fd fr fals" 1066s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1066s # -> 3 replacements, "aaaaaaaaa" 1066s # 7: Replacing "a" with "" (limit 0) in "aaa" 1066s # -> 3 replacements, "" 1066s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1066s # -> 1 replacements, "bba" 1066s # 9: Replacing "" with "bar" (limit 0) in "foo" 1066s # -> 4 replacements, "barfbarobarobar" 1066s # 10: Replacing "" with "x" (limit 0) in "" 1066s # -> 1 replacements, "x" 1066s # 11: Replacing "" with "" (limit 0) in "" 1066s # -> 1 replacements, "" 1066s ok 20 /string/test-string-replace 1066s ok 21 /string/test-string-steal 1066s ok 22 /string/test-string-new-take 1066s # Start of test-string-new-take tests 1066s ok 23 /string/test-string-new-take/null 1066s # End of test-string-new-take tests 1066s # End of string tests 1066s TAP version 14 1066s # random seed: R02S43bd7a464854267ca3c354190ce94812 1066s # GLib-DEBUG: Current user locale: C.UTF-8 1066s 1..6 1066s # Start of search tests 1066s # GLib-DEBUG: Started 1066s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1066s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1066s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1066s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1066s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1066s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1066s ok 1 /search/basic 1066s # GLib-DEBUG: Started 1066s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1066s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1066s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1066s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 1066s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 1066s ok 2 /search/composed 1066s # GLib-DEBUG: Started 1066s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1066s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1066s ok 3 /search/decomposed 1066s # GLib-DEBUG: Started 1066s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK 1066s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1066s ok 4 /search/turkish 1066s # GLib-DEBUG: Started 1066s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1066s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1066s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1066s ok 5 /search/c_locale_unicode 1066s # GLib-DEBUG: Started 1066s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1066s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1066s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1066s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1066s ok 6 /search/multi_words 1066s # End of search tests 1066s TAP version 14 1066s # random seed: R02S5329c71389d75421fda56e9426fd798c 1066s 1..2 1066s # Start of atomic tests 1066s ok 1 /atomic/types 1066s ok - glib/string.test 1066s # Running test: glib/search-utils.test 1066s ok - glib/search-utils.test 1066s # Running test: glib/atomic-c-11.test 1066s ok 2 /atomic/threaded 1066s # End of atomic tests 1066s TAP version 14 1066s # random seed: R02Sc5bbf31c09be53e13dce8a253607cf7b 1066s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1066s 1..3 1066s # Start of volumemonitor tests 1066s ok 1 /volumemonitor/connected_drives 1066s ok 2 /volumemonitor/volumes 1066s ok 3 /volumemonitor/mounts 1066s # End of volumemonitor tests 1066s ok - glib/atomic-c-11.test 1066s # Running test: glib/volumemonitor.test 1066s ok - glib/volumemonitor.test 1066s # Running test: glib/642026-ec.test 1066s TAP version 14 1066s # random seed: R02S60ed9918e63171c9a49e8a90daafc05e 1066s 1..1 1066s # Start of glib tests 1066s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1066s ok - glib/642026-ec.test 1066s # Running test: glib/messages-low-memory.py.test 1066s ok 1 /glib/642026 1066s # End of glib tests 1066s TAP version 13 1066s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1066s # Executing: glib/messages-low-memory.py.test 1066s ok - glib/messages-low-memory.py.test 1066s # Running test: glib/converter-stream.test 1066s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1066s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 1066s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1066s # Return code: -6 1066s # Output: 1066s # Error: GLib-Message: 17:31:32.192: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1066s # GLib-Message: 17:31:32.193: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1066s # ../../../glib/gprintf.c:350: failed to allocate memory 1066s 1..1 1066s TAP version 14 1066s # random seed: R02Sf251c532d77270357764c5e45227fa4e 1066s 1..17 1066s # Start of converter tests 1066s ok 1 /converter/basics 1066s # End of converter tests 1066s # Start of converter-input-stream tests 1066s ok 2 /converter-input-stream/expander 1066s ok 3 /converter-input-stream/compressor 1066s # Start of truncation tests 1066s ok 4 /converter-input-stream/truncation/zlib 1066s ok 5 /converter-input-stream/truncation/gzip 1066s ok 6 /converter-input-stream/truncation/raw 1066s # End of truncation tests 1066s # Start of charset tests 1066s ok 7 /converter-input-stream/charset/utf8->latin1 1066s ok 8 /converter-input-stream/charset/latin1->utf8 1066s ok 9 /converter-input-stream/charset/fallbacks 1066s # End of charset tests 1066s # End of converter-input-stream tests 1066s # Start of converter-output-stream tests 1066s # Start of roundtrip tests 1066s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1066s ok 10 /converter-output-stream/roundtrip/zlib-0 1066s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1066s ok 11 /converter-output-stream/roundtrip/zlib-9 1066s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1066s ok 12 /converter-output-stream/roundtrip/gzip-0 1066s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1066s ok 13 /converter-output-stream/roundtrip/gzip-9 1066s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1066s ok 14 /converter-output-stream/roundtrip/raw-0 1066s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1066s ok 15 /converter-output-stream/roundtrip/raw-9 1066s # End of roundtrip tests 1066s # End of converter-output-stream tests 1066s # Start of converter-stream tests 1066s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1066s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5abdf89a7e40 and GSocketClientAsyncConnectData 0x5abdf8d9d320 1066s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1066s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1066s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5abdf89b85c0 for GSocketClientAsyncConnectData 0x5abdf8d9d320 1066s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1066s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1066s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1066s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1066s ok 16 /converter-stream/pollable 1066s ok 17 /converter-stream/leftover 1066s # End of converter-stream tests 1066s ok - glib/converter-stream.test 1066s # Running test: glib/atomic-c-89.test 1066s TAP version 14 1066s # random seed: R02S9067cd836183da6d16992a5480a89764 1066s 1..2 1066s # Start of atomic tests 1066s ok 1 /atomic/types 1067s ok - glib/atomic-c-89.test 1067s ok 2 /atomic/threaded 1067s # End of atomic tests 1067s # Running test: glib/memory-monitor-portal.test 1067s TAP version 13 1067s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1067s 1..1 1067s ok - glib/memory-monitor-portal.test 1067s # Running test: glib/appmonitor.test 1067s TAP version 14 1067s # random seed: R02S4b3d3e276bc8e223470219a0e90d6f2b 1067s 1..1 1067s # Start of monitor tests 1067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_49JL02/monitor/app/.dirs/home 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_49JL02/monitor/app/.dirs/cache 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_49JL02/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_49JL02/monitor/app/.dirs/system-config2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_49JL02/monitor/app/.dirs/config 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_49JL02/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_49JL02/monitor/app/.dirs/system-data2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_49JL02/monitor/app/.dirs/data 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_49JL02/monitor/app/.dirs/state 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_49JL02/monitor/app/.dirs/runtime 1067s # Using data directory: /tmp/test_appmonitor_49JL02/monitor/app/.dirs/data 1067s ok 1 /monitor/app 1067s # End of monitor tests 1067s ok - glib/appmonitor.test 1067s # Running test: glib/gdbus-names.test 1067s TAP version 14 1067s # random seed: R02Sd7f40b34a70121af1235dfb3f99670e1 1067s 1..10 1067s # Start of gdbus tests 1067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_TVIL02/gdbus/validate-names/.dirs/home 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/validate-names/.dirs/cache 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_TVIL02/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_TVIL02/gdbus/validate-names/.dirs/system-config2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/validate-names/.dirs/config 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_TVIL02/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_TVIL02/gdbus/validate-names/.dirs/system-data2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/validate-names/.dirs/data 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/validate-names/.dirs/state 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_TVIL02/gdbus/validate-names/.dirs/runtime 1067s ok 1 /gdbus/validate-names 1067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-own-name/.dirs/home 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-own-name/.dirs/cache 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_TVIL02/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_TVIL02/gdbus/bus-own-name/.dirs/system-config2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-own-name/.dirs/config 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_TVIL02/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_TVIL02/gdbus/bus-own-name/.dirs/system-data2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-own-name/.dirs/data 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-own-name/.dirs/state 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_TVIL02/gdbus/bus-own-name/.dirs/runtime 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s ok 2 /gdbus/bus-own-name 1067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name/.dirs/home 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name/.dirs/cache 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name/.dirs/system-config2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name/.dirs/config 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name/.dirs/system-data2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name/.dirs/data 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name/.dirs/state 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name/.dirs/runtime 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s ok 3 /gdbus/bus-watch-name 1067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-auto-start/.dirs/home 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-auto-start/.dirs/cache 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-auto-start/.dirs/config 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-auto-start/.dirs/data 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-auto-start/.dirs/state 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-auto-start/.dirs/runtime 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s ok 4 /gdbus/bus-watch-name-auto-start 1067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1067s ok - glib/gdbus-names.test 1067s # Running test: glib/cache.test 1067s ok - glib/cache.test 1067s # Running test: glib/cxx-03.test 1067s ok - glib/cxx-03.test 1067s # Running test: glib/unicode.test 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s dbus-daemon[14145]: [session uid=1000 pid=14145] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=14136 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1067s # Acquired a message bus connection 1067s dbus-daemon[14145]: [session uid=1000 pid=14145] Successfully activated service 'org.gtk.GDBus.FakeService' 1067s # Acquired the name org.gtk.GDBus.FakeService 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-closures/.dirs/home 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-closures/.dirs/cache 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-closures/.dirs/system-config2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-closures/.dirs/config 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-closures/.dirs/system-data2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-closures/.dirs/data 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-closures/.dirs/state 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-closures/.dirs/runtime 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s ok 6 /gdbus/bus-watch-name-closures 1067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s ok 7 /gdbus/bus-watch-name-closures-auto-start 1067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-different-context/.dirs/home 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-different-context/.dirs/cache 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-different-context/.dirs/system-config2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-different-context/.dirs/config 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-different-context/.dirs/system-data2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-different-context/.dirs/data 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-different-context/.dirs/state 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_TVIL02/gdbus/bus-watch-different-context/.dirs/runtime 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s ok 8 /gdbus/bus-watch-different-context 1067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-unwatch-early/.dirs/home 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-unwatch-early/.dirs/cache 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_TVIL02/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_TVIL02/gdbus/bus-unwatch-early/.dirs/system-config2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-unwatch-early/.dirs/config 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_TVIL02/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_TVIL02/gdbus/bus-unwatch-early/.dirs/system-data2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-unwatch-early/.dirs/data 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/bus-unwatch-early/.dirs/state 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_TVIL02/gdbus/bus-unwatch-early/.dirs/runtime 1067s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1067s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1067s ok 9 /gdbus/bus-unwatch-early 1067s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_TVIL02/gdbus/escape-object-path/.dirs/home 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/escape-object-path/.dirs/cache 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_TVIL02/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_TVIL02/gdbus/escape-object-path/.dirs/system-config2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/escape-object-path/.dirs/config 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_TVIL02/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_TVIL02/gdbus/escape-object-path/.dirs/system-data2 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/escape-object-path/.dirs/data 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_TVIL02/gdbus/escape-object-path/.dirs/state 1067s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_TVIL02/gdbus/escape-object-path/.dirs/runtime 1067s ok 10 /gdbus/escape-object-path 1067s # End of gdbus tests 1067s TAP version 14 1067s # random seed: R02S6125fb935d17e9abe95faba6382f9325 1067s 1..1 1067s # Start of cache tests 1067s ok 1 /cache/basic 1067s # End of cache tests 1067s TAP version 14 1067s # random seed: R02S2cc523d76a0304478525585f778af898 1067s 1..2 1067s # Start of gtask tests 1067s # 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. 1067s ok 1 /gtask/name 1067s # Start of name tests 1067s # 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. 1067s ok 2 /gtask/name/macro-wrapper 1067s # End of name tests 1067s # End of gtask tests 1067s TAP version 14 1067s # random seed: R02S44a90e6aebf8805e2d73420d9ee49960 1067s 1..39 1067s # Start of unicode tests 1067s ok 1 /unicode/alnum 1067s ok 2 /unicode/alpha 1067s ok 3 /unicode/break-type 1067s ok 4 /unicode/canonical-decomposition 1067s ok 5 /unicode/casefold 1067s # Cannot set locale to lt_LT, skipping 1067s # Cannot set locale to lt_LT, skipping 1067s # Cannot set locale to lt_LT, skipping 1067s # Cannot set locale to lt_LT, skipping 1067s # Cannot set locale to lt_LT, skipping 1067s # Cannot set locale to lt_LT, skipping 1067s # Cannot set locale to lt_LT, skipping 1067s # Cannot set locale to lt_LT, skipping 1067s # Cannot set locale to lt_LT, skipping 1067s # Cannot set locale to lt_LT, skipping 1067s # Cannot set locale to lt_LT, skipping 1067s ok 6 /unicode/casemap_and_casefold 1067s ok 7 /unicode/cases 1067s ok 8 /unicode/character-type 1067s ok 9 /unicode/cntrl 1067s ok 10 /unicode/combining-class 1067s ok 11 /unicode/compose 1067s ok 12 /unicode/decompose 1067s ok 13 /unicode/decompose-tail 1067s ok 14 /unicode/defined 1067s ok 15 /unicode/digit 1067s ok 16 /unicode/digit-value 1067s ok 17 /unicode/fully-decompose-canonical 1067s ok 18 /unicode/fully-decompose-len 1067s ok 19 /unicode/normalization 1067s ok 20 /unicode/graph 1067s # Testing script Zyyy (code 1517910393) 1067s # Testing script Zinh (code 1516858984) 1067s # Testing script Zmth (code 1517122664) 1067s # Testing script Arab (code 1098015074) 1067s # Testing script Armn (code 1098018158) 1067s # Testing script Beng (code 1113943655) 1067s # Testing script Bopo (code 1114599535) 1067s # Testing script Cher (code 1130915186) 1067s # Testing script Copt (code 1131376756) 1067s # Testing script Cyrl (code 1132032620) 1067s # Testing script Dsrt (code 1148416628) 1067s # Testing script Deva (code 1147500129) 1067s # Testing script Ethi (code 1165256809) 1067s # Testing script Geor (code 1197830002) 1067s # Testing script Goth (code 1198486632) 1067s # Testing script Grek (code 1198679403) 1067s # Testing script Gujr (code 1198877298) 1067s # Testing script Guru (code 1198879349) 1067s # Testing script Hani (code 1214344809) 1067s # Testing script Hang (code 1214344807) 1067s # Testing script Hebr (code 1214603890) 1067s # Testing script Hira (code 1214870113) 1067s # Testing script Knda (code 1265525857) 1067s # Testing script Kana (code 1264676449) 1067s # Testing script Khmr (code 1265134962) 1067s # Testing script Laoo (code 1281453935) 1067s # Testing script Latn (code 1281455214) 1067s # Testing script Mlym (code 1298954605) 1067s # Testing script Mong (code 1299148391) 1067s # Testing script Mymr (code 1299803506) 1067s # Testing script Ogam (code 1332175213) 1067s # Testing script Ital (code 1232363884) 1067s # Testing script Orya (code 1332902241) 1067s # Testing script Runr (code 1383427698) 1067s # Testing script Sinh (code 1399418472) 1067s # Testing script Syrc (code 1400468067) 1067s # Testing script Taml (code 1415671148) 1067s # Testing script Telu (code 1415933045) 1067s # Testing script Thaa (code 1416126817) 1067s # Testing script Thai (code 1416126825) 1067s # Testing script Tibt (code 1416192628) 1067s # Testing script Cans (code 1130458739) 1067s # Testing script Yiii (code 1500080489) 1067s # Testing script Tglg (code 1416064103) 1067s # Testing script Hano (code 1214344815) 1067s # Testing script Buhd (code 1114990692) 1067s # Testing script Tagb (code 1415669602) 1067s # Testing script Brai (code 1114792297) 1067s # Testing script Cprt (code 1131442804) 1067s # Testing script Limb (code 1281977698) 1067s # Testing script Osma (code 1332964705) 1067s # Testing script Shaw (code 1399349623) 1067s # Testing script Linb (code 1281977954) 1067s # Testing script Tale (code 1415670885) 1067s # Testing script Ugar (code 1432838514) 1067s # Testing script Talu (code 1415670901) 1067s # Testing script Bugi (code 1114990441) 1067s # Testing script Glag (code 1198285159) 1067s # Testing script Tfng (code 1415999079) 1067s # Testing script Sylo (code 1400466543) 1067s # Testing script Xpeo (code 1483761007) 1067s # Testing script Khar (code 1265131890) 1067s # Testing script Zzzz (code 1517976186) 1067s # Testing script Bali (code 1113681001) 1067s # Testing script Xsux (code 1483961720) 1067s # Testing script Phnx (code 1349021304) 1067s # Testing script Phag (code 1349017959) 1067s # Testing script Nkoo (code 1315663727) 1067s # Testing script Kali (code 1264675945) 1067s # Testing script Lepc (code 1281716323) 1067s # Testing script Rjng (code 1382706791) 1067s # Testing script Sund (code 1400204900) 1067s # Testing script Saur (code 1398895986) 1067s # Testing script Cham (code 1130914157) 1067s # Testing script Olck (code 1332503403) 1067s # Testing script Vaii (code 1449224553) 1067s # Testing script Cari (code 1130459753) 1067s # Testing script Lyci (code 1283023721) 1067s # Testing script Lydi (code 1283023977) 1067s # Testing script Avst (code 1098281844) 1067s # Testing script Bamu (code 1113681269) 1067s # Testing script Egyp (code 1164409200) 1067s # Testing script Armi (code 1098018153) 1067s # Testing script Phli (code 1349020777) 1067s # Testing script Prti (code 1349678185) 1067s # Testing script Java (code 1247901281) 1067s # Testing script Kthi (code 1265920105) 1067s # Testing script Lisu (code 1281979253) 1067s # Testing script Mtei (code 1299473769) 1067s # Testing script Sarb (code 1398895202) 1067s # Testing script Orkh (code 1332898664) 1067s # Testing script Samr (code 1398893938) 1067s # Testing script Lana (code 1281453665) 1067s # Testing script Tavt (code 1415673460) 1067s # Testing script Batk (code 1113683051) 1067s # Testing script Brah (code 1114792296) 1067s # Testing script Mand (code 1298230884) 1067s # Testing script Cakm (code 1130457965) 1067s # Testing script Merc (code 1298494051) 1067s # Testing script Mero (code 1298494063) 1067s # Testing script Plrd (code 1349284452) 1067s # Testing script Shrd (code 1399353956) 1067s # Testing script Sora (code 1399812705) 1067s # Testing script Takr (code 1415670642) 1067s # Testing script Bass (code 1113682803) 1067s # Testing script Aghb (code 1097295970) 1067s # Testing script Dupl (code 1148547180) 1067s # Testing script Elba (code 1164730977) 1067s # Testing script Gran (code 1198678382) 1067s # Testing script Khoj (code 1265135466) 1067s # Testing script Sind (code 1399418468) 1067s # Testing script Lina (code 1281977953) 1067s # Testing script Mahj (code 1298229354) 1067s # Testing script Mani (code 1298230889) 1067s # Testing script Mend (code 1298493028) 1067s # Testing script Modi (code 1299145833) 1067s # Testing script Mroo (code 1299345263) 1067s # Testing script Nbat (code 1315070324) 1067s # Testing script Narb (code 1315009122) 1067s # Testing script Perm (code 1348825709) 1067s # Testing script Hmng (code 1215131239) 1067s # Testing script Palm (code 1348562029) 1067s # Testing script Pauc (code 1348564323) 1067s # Testing script Phlp (code 1349020784) 1067s # Testing script Sidd (code 1399415908) 1067s # Testing script Tirh (code 1416196712) 1067s # Testing script Wara (code 1466004065) 1067s # Testing script Ahom (code 1097363309) 1067s # Testing script Hluw (code 1215067511) 1067s # Testing script Hatr (code 1214346354) 1067s # Testing script Mult (code 1299541108) 1067s # Testing script Hung (code 1215655527) 1067s # Testing script Sgnw (code 1399287415) 1067s # Testing script Adlm (code 1097100397) 1067s # Testing script Bhks (code 1114139507) 1067s # Testing script Marc (code 1298231907) 1067s # Testing script Newa (code 1315272545) 1067s # Testing script Osge (code 1332963173) 1067s # Testing script Tang (code 1415671399) 1067s # Testing script Gonm (code 1198485101) 1067s # Testing script Nshu (code 1316186229) 1067s # Testing script Soyo (code 1399814511) 1067s # Testing script Zanb (code 1516334690) 1067s # Testing script Dogr (code 1148151666) 1067s # Testing script Gong (code 1198485095) 1067s # Testing script Rohg (code 1383032935) 1067s # Testing script Maka (code 1298230113) 1067s # Testing script Medf (code 1298490470) 1067s # Testing script Sogo (code 1399809903) 1067s # Testing script Sogd (code 1399809892) 1067s # Testing script Elym (code 1164736877) 1067s # Testing script Nand (code 1315008100) 1067s # Testing script Hmnp (code 1215131248) 1067s # Testing script Wcho (code 1466132591) 1067s # Testing script Chrs (code 1130918515) 1067s # Testing script Diak (code 1147756907) 1067s # Testing script Kits (code 1265202291) 1067s # Testing script Yezi (code 1499822697) 1067s # Testing script Cpmn (code 1131441518) 1067s # Testing script Ougr (code 1333094258) 1067s # Testing script Tnsa (code 1416524641) 1067s # Testing script Toto (code 1416590447) 1067s # Testing script Vith (code 1449751656) 1067s # Testing script Kawi (code 1264678761) 1067s # Testing script Nagm (code 1315006317) 1067s ok 21 /unicode/iso15924 1067s ok 22 /unicode/lower 1067s ok 23 /unicode/mark 1067s ok 24 /unicode/mirror 1067s ok 25 /unicode/print 1067s ok 26 /unicode/punctuation 1067s ok 27 /unicode/script 1067s ok 28 /unicode/space 1067s ok 29 /unicode/strdown 1067s ok 30 /unicode/strup 1067s ok - glib/unicode.test 1067s # Running test: glib/override.test 1067s ok - glib/override.test 1067s # Running test: glib/option-argv0.test 1067s ok - glib/option-argv0.test 1067s # Running test: glib/timeout.test 1067s ok 31 /unicode/turkish-strupdown 1067s ok 32 /unicode/title 1067s ok 33 /unicode/upper 1067s ok 34 /unicode/validate 1067s ok 35 /unicode/wide 1067s ok 36 /unicode/xdigit 1067s ok 37 /unicode/xdigit-value 1067s ok 38 /unicode/zero-width 1067s ok 39 /unicode/normalize 1067s # End of unicode tests 1067s TAP version 14 1067s # random seed: R02S4a592c26f8e19a08addd3a38afed93c6 1067s 1..1 1067s # Start of gobject tests 1067s # *** emitting foo on a TestA instance 1067s # Expecting: TestA::foo,TestI::foo 1067s # Got: TestA::foo,TestI::foo 1067s # *** emitting bar on a TestA instance 1067s # Expecting: TestA::bar 1067s # Got: TestA::bar 1067s # *** emitting baz on a TestA instance 1067s # Expecting: TestA::baz 1067s # Got: TestA::baz 1067s # *** emitting foo on a TestB instance 1067s # Expecting: TestB::foo,TestA::foo,TestI::foo 1067s # Got: TestB::foo,TestA::foo,TestI::foo 1067s # *** emitting bar on a TestB instance 1067s # Expecting: TestB::bar,TestA::bar 1067s # Got: TestB::bar,TestA::bar 1067s # *** emitting baz on a TestB instance 1067s # Expecting: TestB::baz,TestA::baz 1067s # Got: TestB::baz,TestA::baz 1067s # *** emitting foo on a TestC instance 1067s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1067s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1067s # *** emitting bar on a TestC instance 1067s # Expecting: TestC::bar,TestB::bar,TestA::bar 1067s # Got: TestC::bar,TestB::bar,TestA::bar 1067s # *** emitting baz on a TestC instance 1067s # Expecting: TestC::baz,TestB::baz,TestA::baz 1067s # Got: TestC::baz,TestB::baz,TestA::baz 1067s ok 1 /gobject/override 1067s # End of gobject tests 1067s TAP version 14 1067s # random seed: R02Sd92bdbb3601916a70612df97291d61c3 1067s 1..1 1067s # Start of option tests 1067s ok 1 /option/argv0 1067s # End of option tests 1067s TAP version 14 1067s # random seed: R02S7709631946656f0b9bd7e4cd453161d7 1067s 1..5 1067s # Start of timeout tests 1067s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1069s ok 1 /timeout/seconds 1069s # slow test /timeout/seconds executed in 2.10 secs 1071s # Executing: glib/timeout.test 1071s ok 2 /timeout/seconds-once 1071s # slow test /timeout/seconds-once executed in 2.10 secs 1071s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1073s ok 3 /timeout/weeks-overflow 1073s # slow test /timeout/weeks-overflow executed in 2.10 secs 1073s ok 4 /timeout/far-future-ready-time 1076s # Executing: glib/timeout.test 1081s # Executing: glib/timeout.test 1084s ok - glib/timeout.test 1084s ok 5 /timeout/rounding 1084s # slow test /timeout/rounding executed in 10.44 secs 1084s # End of timeout tests 1084s # Running test: glib/pollable.test 1084s TAP version 14 1084s # random seed: R02S8c19154c662618635c90576c417dbc38 1084s 1..6 1084s # Start of pollable tests 1084s ok 1 /pollable/converter 1084s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1084s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5a1955c8f7d0 and GSocketClientAsyncConnectData 0x5a1955c82ad0 1084s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1084s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1084s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5a1955c90850 for GSocketClientAsyncConnectData 0x5a1955c82ad0 1084s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1084s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1084s ok - glib/pollable.test 1084s # Running test: glib/vfs.test 1084s ok - glib/vfs.test 1084s # Running test: glib/refcount-macro.test 1084s ok - glib/refcount-macro.test 1084s # Running test: glib/g-file-info-filesystem-readonly.test 1084s ok - glib/g-file-info-filesystem-readonly.test 1084s # Running test: glib/thumbnail-verification.test 1084s ok - glib/thumbnail-verification.test 1084s # Running test: glib/cxx-20.test 1084s ok - glib/cxx-20.test 1084s # Running test: glib/gsocketclient-slow.test 1084s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1084s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1084s ok 2 /pollable/socket 1084s # Start of unix tests 1084s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1084s ok 3 /pollable/unix/pipe 1084s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1084s ok 4 /pollable/unix/pty 1084s # /pollable/unix/file summary: Test that regular files are not considered pollable 1084s ok 5 /pollable/unix/file 1084s # /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 1084s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 1084s # End of unix tests 1084s # End of pollable tests 1084s TAP version 14 1084s # random seed: R02S2d22e3b38a5e12df253dfe5bc76780ce 1084s 1..3 1084s # Start of gvfs tests 1084s ok 1 /gvfs/local 1084s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1084s ok 2 /gvfs/register-scheme 1084s # Start of resource tests 1084s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1084s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1084s ok 3 /gvfs/resource/malformed-escaping 1084s # End of resource tests 1084s # End of gvfs tests 1084s TAP version 14 1084s # random seed: R02Safb5f41acb130ecee58f974af94e9663 1084s 1..4 1084s # Start of refcount tests 1084s ok 1 /refcount/grefcount 1084s ok 2 /refcount/gatomicrefcount 1084s # Start of grefcount tests 1084s ok 3 /refcount/grefcount/saturation 1084s # End of grefcount tests 1084s # Start of gatomicrefcount tests 1084s ok 4 /refcount/gatomicrefcount/saturation 1084s # End of gatomicrefcount tests 1084s # End of refcount tests 1084s TAP version 14 1084s # random seed: R02S4cce600784c7a8f0c63d2dfc6b44c55e 1084s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1084s 1..2 1084s # Start of g-file-info-filesystem-readonly tests 1084s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1084s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1084s # End of g-file-info-filesystem-readonly tests 1084s TAP version 14 1084s # random seed: R02Se21bde861ac6e038cedf555dbd078e28 1084s 1..1 1084s # Start of png-thumbs tests 1084s ok 1 /png-thumbs/validity 1084s # End of png-thumbs tests 1084s TAP version 14 1084s # random seed: R02Saf05d247270fe66c1182326e213c9088 1084s 1..2 1084s # Start of gtask tests 1084s # 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. 1084s ok 1 /gtask/name 1084s # Start of name tests 1084s # 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. 1084s ok 2 /gtask/name/macro-wrapper 1084s # End of name tests 1084s # End of gtask tests 1084s TAP version 14 1084s # random seed: R02S2c28d6101c829a4ec1f3c7e763091797 1084s 1..4 1084s # Start of socket-client tests 1084s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1084s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1084s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x591841421280 and GSocketClientAsyncConnectData 0x591841419b90 1084s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1084s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1084s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x591841423160 for GSocketClientAsyncConnectData 0x591841419b90 1084s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1084s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1084s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1084s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1084s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1084s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1084s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5918414242c0 for GSocketClientAsyncConnectData 0x591841419b90 1084s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1085s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1085s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1085s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1085s ok 1 /socket-client/connection-fail 1085s # slow test /socket-client/connection-fail executed in 1.20 secs 1085s # Start of happy-eyeballs tests 1085s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x591841426c50 and GSocketClientAsyncConnectData 0x591841424f00 1085s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1085s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1085s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5918414275d0 for GSocketClientAsyncConnectData 0x591841424f00 1085s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1086s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1086s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1086s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1086s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1086s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1086s ok 2 /socket-client/happy-eyeballs/slow 1086s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1086s # Start of cancellation tests 1086s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x591841428240 and GSocketClientAsyncConnectData 0x591841427160 1086s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1086s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1086s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1086s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x591841426c90 and GSocketClientAsyncConnectData 0x5918414284d0 1086s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1086s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1086s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x591841428ca0 for GSocketClientAsyncConnectData 0x5918414284d0 1086s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1086s # Executing: glib/gsocketclient-slow.test 1086s ok - glib/gsocketclient-slow.test 1086s # Running test: glib/glistmodel.test 1086s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1086s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1086s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1086s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1086s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1086s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1086s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1086s # End of cancellation tests 1086s # End of happy-eyeballs tests 1086s # End of socket-client tests 1086s TAP version 14 1086s # random seed: R02S4b55a2118a903b6e3cc385cb88242676 1086s 1..18 1086s # Start of glistmodel tests 1086s # Start of store tests 1086s ok 1 /glistmodel/store/properties 1086s ok 2 /glistmodel/store/non-gobjects 1086s ok 3 /glistmodel/store/boundaries 1086s ok 4 /glistmodel/store/refcounts 1086s ok 5 /glistmodel/store/sorted 1086s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1086s ok 6 /glistmodel/store/splice-replace-middle 1086s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1086s ok 7 /glistmodel/store/splice-replace-all 1086s ok 8 /glistmodel/store/splice-noop 1086s ok 9 /glistmodel/store/splice-remove-multiple 1086s ok 10 /glistmodel/store/splice-add-multiple 1086s ok 11 /glistmodel/store/splice-wrong-type 1086s ok 12 /glistmodel/store/item-type 1086s ok 13 /glistmodel/store/remove-all 1086s ok 14 /glistmodel/store/sort 1086s ok 15 /glistmodel/store/get-item-cache 1086s ok 16 /glistmodel/store/items-changed 1086s ok 17 /glistmodel/store/past-end 1086s ok 18 /glistmodel/store/find 1086s # End of store tests 1086s # End of glistmodel tests 1086s ok - glib/glistmodel.test 1086s # Running test: glib/dbus-appinfo.test 1086s TAP version 14 1086s # random seed: R02S2d43db3848577136d08ec5cbc67ae316 1086s 1..3 1086s # Start of appinfo tests 1086s ok - glib/dbus-appinfo.test 1086s # Running test: glib/enums.test 1086s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1086s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1086s ok 1 /appinfo/dbusappinfo 1086s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1086s dbus-daemon[14199]: [session uid=1000 pid=14199] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=14198 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 1086s # Acquired a message bus connection 1086s dbus-daemon[14199]: [session uid=1000 pid=14199] Successfully activated service 'org.freedesktop.portal.Documents' 1086s # Acquired the name org.freedesktop.portal.Documents 1086s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1086s ok 2 /appinfo/flatpak-doc-export 1086s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1086s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1086s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1086s ok 3 /appinfo/flatpak-missing-doc-export 1086s # End of appinfo tests 1086s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1086s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1086s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1086s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1086s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1086s # Lost the name org.freedesktop.portal.Documents 1086s TAP version 14 1086s # random seed: R02S5d42f89fd25719fde7144871d30b26db 1086s 1..4 1086s # Start of enum tests 1086s ok 1 /enum/basic 1086s ok 2 /enum/define-type 1086s # End of enum tests 1086s # Start of flags tests 1086s ok 3 /flags/basic 1086s ok 4 /flags/define-type 1086s # End of flags tests 1086s TAP version 14 1086s # random seed: R02Sccecaa5f3aa3a6d4589cfc48b8c9d99e 1086s 1..1 1086s # Start of properties tests 1086s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1086s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1086s ok 1 /properties/notify-in-init 1086s # End of properties tests 1086s TAP version 14 1086s # random seed: R02S60b8308ad6f191fe64947a407f75a92b 1086s 1..6 1086s # Start of memory-input-stream tests 1086s ok 1 /memory-input-stream/read-chunks 1086s ok 2 /memory-input-stream/async 1086s ok 3 /memory-input-stream/seek 1086s ok 4 /memory-input-stream/truncate 1086s ok 5 /memory-input-stream/read-bytes 1086s ok 6 /memory-input-stream/from-bytes 1086s # End of memory-input-stream tests 1086s TAP version 14 1086s # random seed: R02S0f684e6b5468cccaca18e0b27fb205e1 1086s 1..1 1086s # Start of closure tests 1086s # Init 0x585f262c51d0 1086s ok - glib/enums.test 1086s # Running test: glib/notify-init.test 1086s ok - glib/notify-init.test 1086s # Running test: glib/memory-input-stream.test 1086s ok - glib/memory-input-stream.test 1086s # Running test: glib/closure-refcount.test 1086s # Yielding from main thread 1086s # Yielding from main thread 1086s # Yielding from thread1 1086s # Yielding from main thread 1086s # Yielding from main thread 1087s # Yielding from main thread 1087s # Yielding from thread2 1087s # Yielding from main thread 1087s # Yielding from main thread 1087s # Yielding from main thread 1087s # Yielding from thread1 1087s # Yielding from main thread 1087s # Yielding from main thread 1087s # Yielding from thread2 1087s # Yielding from main thread 1087s # Yielding from main thread 1087s # Yielding from thread1 1087s # Yielding from main thread 1087s # Yielding from main thread 1087s # Yielding from main thread 1087s # Yielding from main thread 1087s # Yielding from main thread 1087s # Yielding from thread1 1087s # Yielding from main thread 1087s # Yielding from thread2 1087s # Yielding from main thread 1087s # Yielding from main thread 1087s # Yielding from thread1 1087s # Yielding from main thread 1087s # Yielding from main thread 1087s # Yielding from thread1 1087s # Yielding from main thread 1087s # Yielding from main thread 1087s # Yielding from thread2 1087s # Yielding from main thread 1087s # Yielding from thread1 1087s # Yielding from main thread 1087s # Yielding from main thread 1087s # Yielding from main thread 1087s # Yielding from thread2 1087s # Yielding from main thread 1087s # Yielding from thread1 1087s # Yielding from main thread 1087s # Yielding from main thread 1087s # Yielding from main thread 1087s # Yielding from thread1 1087s # Yielding from main thread 1087s # Yielding from thread2 1087s # Yielding from main thread 1087s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from thread2 1088s # Yielding from thread1 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from thread2 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from thread1 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from thread2 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from thread2 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from thread1 1088s # Yielding from main thread 1088s # Yielding from thread1 1088s # Yielding from main thread 1088s # Yielding from thread2 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from thread1 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from thread2 1088s # Yielding from main thread 1088s # Yielding from thread1 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from thread1 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from thread2 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from main thread 1088s # Yielding from thread1 1088s # Yielding from main thread 1089s # Yielding from main thread 1089s # Yielding from main thread 1089s # Yielding from main thread 1089s # Yielding from main thread 1089s # Yielding from thread2 1089s # Yielding from main thread 1089s # Yielding from main thread 1089s # Yielding from thread1 1089s # Yielding from main thread 1089s # Yielding from main thread 1089s # Yielding from main thread 1089s # Yielding from thread2 1089s # Stopping 1089s # Stopped 1089s ok 1 /closure/refcount 1089s # slow test /closure/refcount executed in 2.29 secs 1089s # End of closure tests 1089s ok - glib/closure-refcount.test 1089s # Running test: glib/g-file-info.test 1089s TAP version 14 1089s # random seed: R02Se3307ef6dba5af7d70e3b2c520ce8b5b 1089s 1..6 1089s # Start of g-file-info tests 1089s ok 1 /g-file-info/test_g_file_info 1089s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1089s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1089s ok 2 /g-file-info/xattrs 1089s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1089s ok 3 /g-file-info/set-modified-date-time-precision 1089s # Start of test_g_file_info tests 1089s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1089s ok 4 /g-file-info/test_g_file_info/modification-time 1089s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1089s ok 5 /g-file-info/test_g_file_info/access-time 1089s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1089s ok 6 /g-file-info/test_g_file_info/creation-time 1089s # End of test_g_file_info tests 1089s # End of g-file-info tests 1089s ok - glib/g-file-info.test 1089s # Running test: glib/hmac.test 1089s ok - glib/hmac.test 1089s # Running test: glib/rec-mutex.test 1089s TAP version 14 1089s # random seed: R02S8e760a6847b0553a4b036e807375f1d1 1089s 1..37 1089s # Start of hmac tests 1089s ok 1 /hmac/sha1-1 1089s ok 2 /hmac/sha1-2 1089s ok 3 /hmac/sha1-3 1089s ok 4 /hmac/sha1-4 1089s ok 5 /hmac/sha1-5 1089s ok 6 /hmac/sha1-6 1089s ok 7 /hmac/sha1-7 1089s ok 8 /hmac/sha256-1 1089s ok 9 /hmac/sha256-2 1089s ok 10 /hmac/sha256-3 1089s ok 11 /hmac/sha256-4 1089s ok 12 /hmac/sha256-5 1089s ok 13 /hmac/sha256-6 1089s ok 14 /hmac/sha384-1 1089s ok 15 /hmac/sha384-2 1089s ok 16 /hmac/sha384-3 1089s ok 17 /hmac/sha384-4 1089s ok 18 /hmac/sha384-5 1089s ok 19 /hmac/sha384-6 1089s ok 20 /hmac/sha512-1 1089s ok 21 /hmac/sha512-2 1089s ok 22 /hmac/sha512-3 1089s ok 23 /hmac/sha512-4 1089s ok 24 /hmac/sha512-5 1089s ok 25 /hmac/sha512-6 1089s ok 26 /hmac/md5-1 1089s ok 27 /hmac/md5-2 1089s ok 28 /hmac/md5-3 1089s ok 29 /hmac/md5-4 1089s ok 30 /hmac/md5-5 1089s ok 31 /hmac/md5-6 1089s ok 32 /hmac/md5-7 1089s ok 33 /hmac/ref-unref 1089s ok 34 /hmac/copy 1089s ok 35 /hmac/for-data 1089s ok 36 /hmac/for-string 1089s ok 37 /hmac/for-bytes 1089s # End of hmac tests 1089s TAP version 14 1089s # random seed: R02S359e597300fbf5e2d75910f173460683 1089s 1..29 1089s # Start of thread tests 1089s ok 1 /thread/rec-mutex1 1089s ok 2 /thread/rec-mutex2 1089s ok 3 /thread/rec-mutex3 1089s ok 4 /thread/rec-mutex4 1089s # Start of rec-mutex tests 1089s # Start of perf tests 1089s # Start of uncontended tests 1089s # max perf: 1.000000 mips 1089s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1089s # max perf: inf mips 1089s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1089s # max perf: inf mips 1089s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1089s # max perf: inf mips 1089s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1089s # max perf: inf mips 1089s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1089s # End of uncontended tests 1089s # Start of contended1 tests 1089s # max perf: inf mips 1089s ok 10 /thread/rec-mutex/perf/contended1/depth1 1089s # max perf: inf mips 1089s ok 11 /thread/rec-mutex/perf/contended1/depth2 1089s # max perf: inf mips 1089s ok 12 /thread/rec-mutex/perf/contended1/depth3 1089s # max perf: inf mips 1089s ok 13 /thread/rec-mutex/perf/contended1/depth4 1089s # max perf: 2.000000 mips 1089s ok 14 /thread/rec-mutex/perf/contended1/depth5 1089s # End of contended1 tests 1089s # Start of contended2 tests 1089s # max perf: inf mips 1089s ok 15 /thread/rec-mutex/perf/contended2/depth1 1089s # max perf: inf mips 1089s ok 16 /thread/rec-mutex/perf/contended2/depth2 1089s ok - glib/rec-mutex.test 1089s # max perf: 3.000000 mips 1089s ok 17 /thread/rec-mutex/perf/contended2/depth3 1089s # max perf: inf mips 1089s ok 18 /thread/rec-mutex/perf/contended2/depth4 1089s # max perf: inf mips 1089s ok 19 /thread/rec-mutex/perf/contended2/depth5 1089s # End of contended2 tests 1089s # Start of contended3 tests 1089s # max perf: 1.333333 mips 1089s ok 20 /thread/rec-mutex/perf/contended3/depth1 1089s # max perf: 0.500000 mips 1089s ok 21 /thread/rec-mutex/perf/contended3/depth2 1089s # max perf: 2.000000 mips 1089s ok 22 /thread/rec-mutex/perf/contended3/depth3 1089s # max perf: 1.333333 mips 1089s ok 23 /thread/rec-mutex/perf/contended3/depth4 1089s # max perf: 1.333333 mips 1089s ok 24 /thread/rec-mutex/perf/contended3/depth5 1089s # End of contended3 tests 1089s # Start of contended4 tests 1089s # max perf: 2.500000 mips 1089s ok 25 /thread/rec-mutex/perf/contended4/depth1 1089s # max perf: 2.500000 mips 1089s ok 26 /thread/rec-mutex/perf/contended4/depth2 1089s # max perf: 1.000000 mips 1089s ok 27 /thread/rec-mutex/perf/contended4/depth3 1089s # max perf: 2.500000 mips 1089s ok 28 /thread/rec-mutex/perf/contended4/depth4 1089s # max perf: 1.666667 mips 1089s ok 29 /thread/rec-mutex/perf/contended4/depth5 1089s # End of contended4 tests 1089s # End of perf tests 1089s # End of rec-mutex tests 1089s # End of thread tests 1089s # Running test: glib/utils-c-11.test 1089s TAP version 14 1089s # random seed: R02Sd44ef8f21d041f02c324a4f5848093bc 1089s 1..40 1089s # Start of utils tests 1089s ok 1 /utils/language-names 1089s ok 2 /utils/locale-variants 1089s ok 3 /utils/version 1089s ok 4 /utils/appname 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1089s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1089s ok 5 /utils/prgname-thread-safety 1089s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1089s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1089s ok 6 /utils/tmpdir 1089s ok 7 /utils/basic_bits 1089s ok 8 /utils/bits 1089s ok 9 /utils/swap 1089s ok 10 /utils/find-program 1089s ok 11 /utils/find-program-for-path 1089s ok 12 /utils/debug 1089s ok 13 /utils/codeset 1089s ok 14 /utils/codeset2 1089s ok 15 /utils/console-charset 1089s ok 16 /utils/gettext 1089s ok 17 /utils/username 1089s ok 18 /utils/realname 1089s ok 19 /utils/hostname 1089s ok 20 /utils/xdgdirs 1089s ok 21 /utils/specialdir 1089s # NAME: Ubuntu 1089s ok 22 /utils/os-info 1089s ok 23 /utils/clear-pointer 1089s ok 24 /utils/clear-pointer-cast 1089s ok 25 /utils/take-pointer 1089s ok 26 /utils/clear-source 1089s ok 27 /utils/misc-mem 1089s # /utils/aligned-mem summary: Aligned memory allocator 1089s # Alignment must not be zero 1089s # Alignment must be a power of two 1089s # Alignment must be a multiple of sizeof(void*) 1089s ok 28 /utils/aligned-mem 1089s # /utils/free-sized summary: Check that g_free_sized() works 1089s ok 29 /utils/free-sized 1089s ok 30 /utils/nullify 1089s ok 31 /utils/atexit 1089s ok 32 /utils/check-setuid 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1089s ok 33 /utils/int-limits 1089s ok 34 /utils/clear-list 1089s ok 35 /utils/clear-slist 1089s # Start of specialdir tests 1089s ok 36 /utils/specialdir/desktop 1089s # End of specialdir tests 1089s # Start of clear-pointer tests 1089s ok 37 /utils/clear-pointer/side-effects 1089s # End of clear-pointer tests 1089s # Start of aligned-mem tests 1089s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1089s ok 38 /utils/aligned-mem/alignment 1089s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1089s ok 39 /utils/aligned-mem/zeroed 1089s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1089s ok 40 /utils/aligned-mem/free-sized 1089s # Start of subprocess tests 1089s # End of subprocess tests 1089s # End of aligned-mem tests 1089s # End of utils tests 1089s ok - glib/utils-c-11.test 1089s # Running test: glib/power-profile-monitor-dbus.test 1089s TAP version 13 1089s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1089s 1..1 1089s ok - glib/power-profile-monitor-dbus.test 1089s # Running test: glib/types.test 1089s ok - glib/types.test 1089s TAP version 14 1089s # random seed: R02Sdc2b77165de68e2b4e7422a0cce0d87b 1089s 1..1 1089s # Start of types tests 1089s ok 1 /types/basic_types 1089s # End of types tests 1089s # Running test: glib/cxx-17.test 1089s ok - glib/cxx-17.test 1089s TAP version 14 1089s # random seed: R02Sf43498ab6f9354ea0b7fb6cddce81da2 1089s 1..2 1089s # Start of gtask tests 1089s # 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. 1089s ok 1 /gtask/name 1089s # Start of name tests 1089s # 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. 1089s ok 2 /gtask/name/macro-wrapper 1089s # End of name tests 1089s # End of gtask tests 1089s # Running test: glib/file.test 1089s TAP version 14 1089s # random seed: R02S06fb8af86c56f5881fc2023fdef1507c 1089s 1..55 1089s # Start of file tests 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/basic/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/basic/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/basic/.dirs/system-config1:/tmp/test_file_THB7Z2/file/basic/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/basic/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/basic/.dirs/system-data1:/tmp/test_file_THB7Z2/file/basic/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/basic/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/basic/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/basic/.dirs/runtime 1089s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1089s ok 1 /file/basic 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/build-filename/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/build-filename/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/build-filename/.dirs/system-config1:/tmp/test_file_THB7Z2/file/build-filename/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/build-filename/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/build-filename/.dirs/system-data1:/tmp/test_file_THB7Z2/file/build-filename/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/build-filename/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/build-filename/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/build-filename/.dirs/runtime 1089s ok 2 /file/build-filename 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/build-filenamev/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/build-filenamev/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_THB7Z2/file/build-filenamev/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/build-filenamev/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_THB7Z2/file/build-filenamev/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/build-filenamev/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/build-filenamev/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/build-filenamev/.dirs/runtime 1089s ok 3 /file/build-filenamev 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/parent/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/parent/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/parent/.dirs/system-config1:/tmp/test_file_THB7Z2/file/parent/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/parent/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/parent/.dirs/system-data1:/tmp/test_file_THB7Z2/file/parent/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/parent/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/parent/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/parent/.dirs/runtime 1089s ok 4 /file/parent 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/child/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/child/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/child/.dirs/system-config1:/tmp/test_file_THB7Z2/file/child/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/child/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/child/.dirs/system-data1:/tmp/test_file_THB7Z2/file/child/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/child/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/child/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/child/.dirs/runtime 1089s ok 5 /file/child 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/empty-path/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/empty-path/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/empty-path/.dirs/system-config1:/tmp/test_file_THB7Z2/file/empty-path/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/empty-path/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/empty-path/.dirs/system-data1:/tmp/test_file_THB7Z2/file/empty-path/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/empty-path/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/empty-path/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/empty-path/.dirs/runtime 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1089s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1089s ok 6 /file/empty-path 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/type/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/type/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/type/.dirs/system-config1:/tmp/test_file_THB7Z2/file/type/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/type/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/type/.dirs/system-data1:/tmp/test_file_THB7Z2/file/type/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/type/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/type/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/type/.dirs/runtime 1089s ok 7 /file/type 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/parse-name/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/parse-name/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/parse-name/.dirs/system-config1:/tmp/test_file_THB7Z2/file/parse-name/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/parse-name/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/parse-name/.dirs/system-data1:/tmp/test_file_THB7Z2/file/parse-name/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/parse-name/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/parse-name/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/parse-name/.dirs/runtime 1089s ok 8 /file/parse-name 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/replace-load/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/replace-load/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/replace-load/.dirs/system-config1:/tmp/test_file_THB7Z2/file/replace-load/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/replace-load/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/replace-load/.dirs/system-data1:/tmp/test_file_THB7Z2/file/replace-load/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/replace-load/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/replace-load/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/replace-load/.dirs/runtime 1089s ok 9 /file/replace-load 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/replace-cancel/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/replace-cancel/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_THB7Z2/file/replace-cancel/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/replace-cancel/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_THB7Z2/file/replace-cancel/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/replace-cancel/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/replace-cancel/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/replace-cancel/.dirs/runtime 1089s # Bug Reference: https://bugzilla.gnome.org/629301 1089s ok 10 /file/replace-cancel 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/replace-symlink/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/replace-symlink/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_THB7Z2/file/replace-symlink/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/replace-symlink/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_THB7Z2/file/replace-symlink/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/replace-symlink/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/replace-symlink/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/replace-symlink/.dirs/runtime 1089s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1089s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1089s # Using temporary directory /tmp/test_file_THB7Z2/g_file_replace_symlink_JAP7Z2 1089s ok 11 /file/replace-symlink 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/async-new-tmp/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/async-new-tmp/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_THB7Z2/file/async-new-tmp/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/async-new-tmp/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_THB7Z2/file/async-new-tmp/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/async-new-tmp/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/async-new-tmp/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/async-new-tmp/.dirs/runtime 1089s ok 12 /file/async-new-tmp 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/async-new-tmp-dir/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/async-new-tmp-dir/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_THB7Z2/file/async-new-tmp-dir/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/async-new-tmp-dir/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_THB7Z2/file/async-new-tmp-dir/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/async-new-tmp-dir/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/async-new-tmp-dir/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/async-new-tmp-dir/.dirs/runtime 1089s ok 13 /file/async-new-tmp-dir 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/async-delete/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/async-delete/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/async-delete/.dirs/system-config1:/tmp/test_file_THB7Z2/file/async-delete/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/async-delete/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/async-delete/.dirs/system-data1:/tmp/test_file_THB7Z2/file/async-delete/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/async-delete/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/async-delete/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/async-delete/.dirs/runtime 1089s ok 14 /file/async-delete 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/async-make-symlink/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/async-make-symlink/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_THB7Z2/file/async-make-symlink/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/async-make-symlink/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_THB7Z2/file/async-make-symlink/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/async-make-symlink/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/async-make-symlink/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/async-make-symlink/.dirs/runtime 1089s ok 15 /file/async-make-symlink 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/copy-preserve-mode/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/copy-preserve-mode/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_THB7Z2/file/copy-preserve-mode/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/copy-preserve-mode/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_THB7Z2/file/copy-preserve-mode/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/copy-preserve-mode/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/copy-preserve-mode/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/copy-preserve-mode/.dirs/runtime 1089s # Current umask: 2 1089s # Vector 0 1089s # Vector 1 1089s # Vector 2 1089s # Vector 3 1089s # Vector 4 1089s # Vector 5 1089s # Vector 6 1089s # Vector 7 1089s # Vector 8 1089s # Vector 9 1089s # Vector 10 1089s ok 16 /file/copy-preserve-mode 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/copy-async-with-closures/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/copy-async-with-closures/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_THB7Z2/file/copy-async-with-closures/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/copy-async-with-closures/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_THB7Z2/file/copy-async-with-closures/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/copy-async-with-closures/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/copy-async-with-closures/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/copy-async-with-closures/.dirs/runtime 1089s ok 17 /file/copy-async-with-closures 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/measure/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/measure/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/measure/.dirs/system-config1:/tmp/test_file_THB7Z2/file/measure/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/measure/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/measure/.dirs/system-data1:/tmp/test_file_THB7Z2/file/measure/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/measure/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/measure/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/measure/.dirs/runtime 1089s ok 18 /file/measure 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/measure-async/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/measure-async/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/measure-async/.dirs/system-config1:/tmp/test_file_THB7Z2/file/measure-async/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/measure-async/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/measure-async/.dirs/system-data1:/tmp/test_file_THB7Z2/file/measure-async/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/measure-async/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/measure-async/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/measure-async/.dirs/runtime 1089s ok 19 /file/measure-async 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/load-bytes/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/load-bytes/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/load-bytes/.dirs/system-config1:/tmp/test_file_THB7Z2/file/load-bytes/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/load-bytes/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/load-bytes/.dirs/system-data1:/tmp/test_file_THB7Z2/file/load-bytes/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/load-bytes/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/load-bytes/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/load-bytes/.dirs/runtime 1089s ok 20 /file/load-bytes 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/load-bytes-async/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/load-bytes-async/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_THB7Z2/file/load-bytes-async/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/load-bytes-async/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_THB7Z2/file/load-bytes-async/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/load-bytes-async/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/load-bytes-async/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/load-bytes-async/.dirs/runtime 1089s ok 21 /file/load-bytes-async 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/load-bytes-4gb/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/load-bytes-4gb/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_THB7Z2/file/load-bytes-4gb/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/load-bytes-4gb/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_THB7Z2/file/load-bytes-4gb/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/load-bytes-4gb/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/load-bytes-4gb/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/load-bytes-4gb/.dirs/runtime 1089s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/load-contents-4gb/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/load-contents-4gb/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_THB7Z2/file/load-contents-4gb/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/load-contents-4gb/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_THB7Z2/file/load-contents-4gb/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/load-contents-4gb/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/load-contents-4gb/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/load-contents-4gb/.dirs/runtime 1089s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/load-contents-4gb-async/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/load-contents-4gb-async/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_THB7Z2/file/load-contents-4gb-async/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/load-contents-4gb-async/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_THB7Z2/file/load-contents-4gb-async/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/load-contents-4gb-async/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/load-contents-4gb-async/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/load-contents-4gb-async/.dirs/runtime 1089s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/writev/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/writev/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/writev/.dirs/system-config1:/tmp/test_file_THB7Z2/file/writev/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/writev/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/writev/.dirs/system-data1:/tmp/test_file_THB7Z2/file/writev/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/writev/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/writev/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/writev/.dirs/runtime 1089s ok 25 /file/writev 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/build-attribute-list-for-copy/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/build-attribute-list-for-copy/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_THB7Z2/file/build-attribute-list-for-copy/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/build-attribute-list-for-copy/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_THB7Z2/file/build-attribute-list-for-copy/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/build-attribute-list-for-copy/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/build-attribute-list-for-copy/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/build-attribute-list-for-copy/.dirs/runtime 1089s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1089s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1089s # 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::* 1089s # 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::* 1089s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1089s # Attributes for copy: standard::size,xattr::* 1089s # Attributes for copy: standard::size,unix::mode,xattr::* 1089s ok 26 /file/build-attribute-list-for-copy 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/move_async/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/move_async/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/move_async/.dirs/system-config1:/tmp/test_file_THB7Z2/file/move_async/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/move_async/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/move_async/.dirs/system-data1:/tmp/test_file_THB7Z2/file/move_async/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/move_async/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/move_async/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/move_async/.dirs/runtime 1089s ok 27 /file/move_async 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/move-async-with-closures/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/move-async-with-closures/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_THB7Z2/file/move-async-with-closures/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/move-async-with-closures/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_THB7Z2/file/move-async-with-closures/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/move-async-with-closures/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/move-async-with-closures/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/move-async-with-closures/.dirs/runtime 1089s ok 28 /file/move-async-with-closures 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/query-zero-length-content-type/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/query-zero-length-content-type/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_THB7Z2/file/query-zero-length-content-type/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/query-zero-length-content-type/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_THB7Z2/file/query-zero-length-content-type/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/query-zero-length-content-type/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/query-zero-length-content-type/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/query-zero-length-content-type/.dirs/runtime 1089s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1089s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1089s ok 29 /file/query-zero-length-content-type 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/query-default-handler-file/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/query-default-handler-file/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_THB7Z2/file/query-default-handler-file/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/query-default-handler-file/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_THB7Z2/file/query-default-handler-file/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/query-default-handler-file/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/query-default-handler-file/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/query-default-handler-file/.dirs/runtime 1089s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_THB7Z2/file/query-default-handler-file/.dirs/data/applications 1089s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_THB7Z2/file/query-default-handler-file/.dirs/config 1089s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_THB7Z2/file/query-default-handler-file/.dirs/config 1089s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_THB7Z2/file/query-default-handler-file/.dirs/config 1089s ok 30 /file/query-default-handler-file 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/query-default-handler-file-async/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/query-default-handler-file-async/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_THB7Z2/file/query-default-handler-file-async/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/query-default-handler-file-async/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_THB7Z2/file/query-default-handler-file-async/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/query-default-handler-file-async/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/query-default-handler-file-async/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/query-default-handler-file-async/.dirs/runtime 1089s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_THB7Z2/file/query-default-handler-file-async/.dirs/data/applications 1089s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_THB7Z2/file/query-default-handler-file-async/.dirs/config 1089s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_THB7Z2/file/query-default-handler-file/.dirs/config to /tmp/test_file_THB7Z2/file/query-default-handler-file-async/.dirs/config 1089s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_THB7Z2/file/query-default-handler-file-async/.dirs/config 1089s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_THB7Z2/file/query-default-handler-file-async/.dirs/config 1089s ok 31 /file/query-default-handler-file-async 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/query-default-handler-uri/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/query-default-handler-uri/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_THB7Z2/file/query-default-handler-uri/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/query-default-handler-uri/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_THB7Z2/file/query-default-handler-uri/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/query-default-handler-uri/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/query-default-handler-uri/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/query-default-handler-uri/.dirs/runtime 1089s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_THB7Z2/file/query-default-handler-uri/.dirs/data/applications 1089s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_THB7Z2/file/query-default-handler-uri/.dirs/config 1089s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_THB7Z2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_THB7Z2/file/query-default-handler-uri/.dirs/config 1089s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_THB7Z2/file/query-default-handler-uri/.dirs/config 1089s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_THB7Z2/file/query-default-handler-uri/.dirs/config 1089s ok 32 /file/query-default-handler-uri 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/query-default-handler-uri-async/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/query-default-handler-uri-async/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_THB7Z2/file/query-default-handler-uri-async/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/query-default-handler-uri-async/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_THB7Z2/file/query-default-handler-uri-async/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/query-default-handler-uri-async/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/query-default-handler-uri-async/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/query-default-handler-uri-async/.dirs/runtime 1089s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_THB7Z2/file/query-default-handler-uri-async/.dirs/data/applications 1089s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_THB7Z2/file/query-default-handler-uri-async/.dirs/config 1089s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_THB7Z2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_THB7Z2/file/query-default-handler-uri-async/.dirs/config 1089s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_THB7Z2/file/query-default-handler-uri-async/.dirs/config 1089s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_THB7Z2/file/query-default-handler-uri-async/.dirs/config 1089s ok 33 /file/query-default-handler-uri-async 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/enumerator-cancellation/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/enumerator-cancellation/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_THB7Z2/file/enumerator-cancellation/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/enumerator-cancellation/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_THB7Z2/file/enumerator-cancellation/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/enumerator-cancellation/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/enumerator-cancellation/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/enumerator-cancellation/.dirs/runtime 1089s ok 34 /file/enumerator-cancellation 1089s # Start of async-create-delete tests 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/async-create-delete/0/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/async-create-delete/0/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_THB7Z2/file/async-create-delete/0/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/async-create-delete/0/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_THB7Z2/file/async-create-delete/0/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/async-create-delete/0/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/async-create-delete/0/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/async-create-delete/0/.dirs/runtime 1089s ok 35 /file/async-create-delete/0 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/async-create-delete/1/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/async-create-delete/1/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_THB7Z2/file/async-create-delete/1/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/async-create-delete/1/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_THB7Z2/file/async-create-delete/1/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/async-create-delete/1/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/async-create-delete/1/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/async-create-delete/1/.dirs/runtime 1089s ok 36 /file/async-create-delete/1 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/async-create-delete/10/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/async-create-delete/10/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_THB7Z2/file/async-create-delete/10/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/async-create-delete/10/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_THB7Z2/file/async-create-delete/10/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/async-create-delete/10/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/async-create-delete/10/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/async-create-delete/10/.dirs/runtime 1089s ok 37 /file/async-create-delete/10 1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/async-create-delete/25/.dirs/home 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/async-create-delete/25/.dirs/cache 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_THB7Z2/file/async-create-delete/25/.dirs/system-config2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/async-create-delete/25/.dirs/config 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_THB7Z2/file/async-create-delete/25/.dirs/system-data2 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/async-create-delete/25/.dirs/data 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/async-create-delete/25/.dirs/state 1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/async-create-delete/25/.dirs/runtime 1090s ok 38 /file/async-create-delete/25 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/async-create-delete/4096/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/async-create-delete/4096/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_THB7Z2/file/async-create-delete/4096/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/async-create-delete/4096/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_THB7Z2/file/async-create-delete/4096/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/async-create-delete/4096/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/async-create-delete/4096/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/async-create-delete/4096/.dirs/runtime 1090s ok 39 /file/async-create-delete/4096 1090s # End of async-create-delete tests 1090s # Start of replace-symlink tests 1090s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/replace-symlink/using-etag/.dirs/home 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/replace-symlink/using-etag/.dirs/cache 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_THB7Z2/file/replace-symlink/using-etag/.dirs/system-config2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/replace-symlink/using-etag/.dirs/config 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_THB7Z2/file/replace-symlink/using-etag/.dirs/system-data2 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/replace-symlink/using-etag/.dirs/data 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/replace-symlink/using-etag/.dirs/state 1090s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/replace-symlink/using-etag/.dirs/runtime 1090s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1090s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1090s # Using temporary directory /tmp/test_file_THB7Z2/g_file_replace_symlink_using_etag_PTZ9Z2 1091s # Executing: glib/file.test 1092s ok 40 /file/replace-symlink/using-etag 1092s # slow test /file/replace-symlink/using-etag executed in 2.01 secs 1092s # End of replace-symlink tests 1092s # Start of replace tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/replace/write-only/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/replace/write-only/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_THB7Z2/file/replace/write-only/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/replace/write-only/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_THB7Z2/file/replace/write-only/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/replace/write-only/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/replace/write-only/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/replace/write-only/.dirs/runtime 1092s # /file/replace/write-only summary: Test various situations for g_file_replace() 1092s # Current umask: 2 1092s # Test 0, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_BFW9Z2 1092s # Test 1, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_U6X9Z2 1092s # Test 2, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_ON69Z2 1092s # Test 3, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_YX69Z2 1092s # Test 4, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_S569Z2 1092s # Test 5, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_VD79Z2 1092s # Test 6, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_AU39Z2 1092s # Test 7, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_B0BA02 1092s # Test 8, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_38BA02 1092s # Test 9, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_2YDA02 1092s # Test 10, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_AH99Z2 1092s # Test 11, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_FCBA02 1092s # Test 12, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_QJBA02 1092s # Test 13, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_T599Z2 1092s # Test 14, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_2AIA02 1092s # Test 15, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_F0FA02 1092s # Test 16, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_IJGA02 1092s # Test 17, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_Z03B02 1092s # Test 18, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_RG4B02 1092s # Test 19, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_L11B02 1092s # Test 20, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_T39B02 1092s # Test 21, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_OUAC02 1092s # Test 22, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_P95B02 1092s # Test 23, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_OE6B02 1092s # Test 24, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_I67B02 1092s # Test 25, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_V13I02 1092s # Test 26, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_D93I02 1092s # Test 27, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_615I02 1092s # Test 28, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_NN1I02 1092s # Test 29, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_8A2I02 1092s # Test 30, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_QK2I02 1092s # Test 31, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_6Q2I02 1092s # Test 32, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_Z3CJ02 1092s # Test 33, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_RR7I02 1092s # Test 34, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_7X7I02 1092s # Test 35, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_M47I02 1092s # Test 36, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_0Y9I02 1092s # Test 37, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_4FGJ02 1092s # Test 38, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_A0DJ02 1092s # Test 39, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_PAGJ02 1092s # Test 40, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_ARMJ02 1092s # Test 41, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_3AOJ02 1092s # Test 42, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_5XJJ02 1092s # Test 43, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_MVFI02 1092s # Test 44, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_88FI02 1092s # Test 45, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_QEGI02 1092s # Test 46, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_HSBI02 1092s # Test 47, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_4WBI02 1092s # Test 48, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_7DEI02 1092s # We do not have CAP_DAC_OVERRIDE or equivalent 1092s ok 41 /file/replace/write-only 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/replace/read-write/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/replace/read-write/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_THB7Z2/file/replace/read-write/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/replace/read-write/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_THB7Z2/file/replace/read-write/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/replace/read-write/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/replace/read-write/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/replace/read-write/.dirs/runtime 1092s # /file/replace/read-write summary: Test various situations for g_file_replace() 1092s # Current umask: 2 1092s # Test 0, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_97CI02 1092s # Test 1, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_DCDI02 1092s # Test 2, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_PGLI02 1092s # Test 3, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_NGII02 1092s # Test 4, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_XNII02 1092s # Test 5, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_OUII02 1092s # Test 6, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_28II02 1092s # Test 7, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_YCRI02 1092s # Test 8, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_4LRI02 1092s # Test 9, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_QSRI02 1092s # Test 10, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_KWOI02 1092s # Test 11, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_YHQI02 1092s # Test 12, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_FOQI02 1092s # Test 13, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_XVQI02 1092s # Test 14, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_PMXI02 1092s # Test 15, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_KKZI02 1092s # Test 16, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_1UWI02 1092s # Test 17, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_4EJK02 1092s # Test 18, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_K9KK02 1092s # Test 19, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_S5EK02 1092s # Test 20, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_FWGK02 1092s # Test 21, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_YSOK02 1092s # Test 22, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_OKQK02 1092s # Test 23, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_GPQK02 1092s # Test 24, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_G2NK02 1092s # Test 25, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_FDNK02 1092s # Test 26, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_RKNK02 1092s # Test 27, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_YQNK02 1092s # Test 28, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_BUSK02 1092s # Test 29, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_GETK02 1092s # Test 30, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_JMTK02 1092s # Test 31, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_QQTK02 1092s # Test 32, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_NP3K02 1092s # Test 33, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_Z00K02 1092s # Test 34, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_Y90K02 1092s # Test 35, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_6UZK02 1092s # Test 36, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_G5VJ02 1092s # Test 37, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_M1PJ02 1092s # Test 38, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_MURJ02 1092s # Test 39, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_03ZJ02 1092s # Test 40, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_Q9WJ02 1092s # Test 41, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_1AZJ02 1092s # Test 42, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_SM6J02 1092s # Test 43, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_TI8J02 1092s # Test 44, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_3Z2J02 1092s # Test 45, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_W42J02 1092s # Test 46, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_ICDK02 1092s # Test 47, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_VHDK02 1092s # Test 48, using temporary directory /tmp/test_file_THB7Z2/g_file_replace_RQDK02 1092s # We do not have CAP_DAC_OVERRIDE or equivalent 1092s ok 42 /file/replace/read-write 1092s # End of replace tests 1092s # Start of copy tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/copy/progress/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/copy/progress/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/copy/progress/.dirs/system-config1:/tmp/test_file_THB7Z2/file/copy/progress/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/copy/progress/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/copy/progress/.dirs/system-data1:/tmp/test_file_THB7Z2/file/copy/progress/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/copy/progress/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/copy/progress/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/copy/progress/.dirs/runtime 1092s ok 43 /file/copy/progress 1092s # End of copy tests 1092s # Start of writev tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/writev/no-bytes-written/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/writev/no-bytes-written/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_THB7Z2/file/writev/no-bytes-written/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/writev/no-bytes-written/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_THB7Z2/file/writev/no-bytes-written/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/writev/no-bytes-written/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/writev/no-bytes-written/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/writev/no-bytes-written/.dirs/runtime 1092s ok 44 /file/writev/no-bytes-written 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/writev/no-vectors/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/writev/no-vectors/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_THB7Z2/file/writev/no-vectors/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/writev/no-vectors/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_THB7Z2/file/writev/no-vectors/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/writev/no-vectors/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/writev/no-vectors/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/writev/no-vectors/.dirs/runtime 1092s ok 45 /file/writev/no-vectors 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/writev/empty-vectors/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/writev/empty-vectors/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_THB7Z2/file/writev/empty-vectors/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/writev/empty-vectors/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_THB7Z2/file/writev/empty-vectors/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/writev/empty-vectors/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/writev/empty-vectors/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/writev/empty-vectors/.dirs/runtime 1092s ok 46 /file/writev/empty-vectors 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/writev/too-big-vectors/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/writev/too-big-vectors/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_THB7Z2/file/writev/too-big-vectors/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/writev/too-big-vectors/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_THB7Z2/file/writev/too-big-vectors/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/writev/too-big-vectors/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/writev/too-big-vectors/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/writev/too-big-vectors/.dirs/runtime 1092s ok 47 /file/writev/too-big-vectors 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/writev/async/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/writev/async/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/writev/async/.dirs/system-config1:/tmp/test_file_THB7Z2/file/writev/async/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/writev/async/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/writev/async/.dirs/system-data1:/tmp/test_file_THB7Z2/file/writev/async/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/writev/async/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/writev/async/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/writev/async/.dirs/runtime 1092s ok 48 /file/writev/async 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/writev/async_all/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/writev/async_all/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_THB7Z2/file/writev/async_all/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/writev/async_all/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_THB7Z2/file/writev/async_all/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/writev/async_all/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/writev/async_all/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/writev/async_all/.dirs/runtime 1092s ok 49 /file/writev/async_all 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/writev/async_all-empty-vectors/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/writev/async_all-empty-vectors/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_THB7Z2/file/writev/async_all-empty-vectors/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/writev/async_all-empty-vectors/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_THB7Z2/file/writev/async_all-empty-vectors/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/writev/async_all-empty-vectors/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/writev/async_all-empty-vectors/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/writev/async_all-empty-vectors/.dirs/runtime 1092s ok 50 /file/writev/async_all-empty-vectors 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/writev/async_all-no-vectors/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/writev/async_all-no-vectors/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_THB7Z2/file/writev/async_all-no-vectors/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/writev/async_all-no-vectors/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_THB7Z2/file/writev/async_all-no-vectors/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/writev/async_all-no-vectors/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/writev/async_all-no-vectors/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/writev/async_all-no-vectors/.dirs/runtime 1092s ok 51 /file/writev/async_all-no-vectors 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/writev/async_all-to-big-vectors/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/writev/async_all-to-big-vectors/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_THB7Z2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/writev/async_all-to-big-vectors/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_THB7Z2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/writev/async_all-to-big-vectors/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/writev/async_all-to-big-vectors/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/writev/async_all-to-big-vectors/.dirs/runtime 1092s ok 52 /file/writev/async_all-to-big-vectors 1092s ok - glib/file.test 1092s # Running test: glib/resolver-parsing.test 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/writev/async_all-cancellation/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/writev/async_all-cancellation/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_THB7Z2/file/writev/async_all-cancellation/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/writev/async_all-cancellation/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_THB7Z2/file/writev/async_all-cancellation/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/writev/async_all-cancellation/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/writev/async_all-cancellation/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/writev/async_all-cancellation/.dirs/runtime 1092s ok 53 /file/writev/async_all-cancellation 1092s # End of writev tests 1092s # Start of from-uri tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/from-uri/ignores-query-string/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/from-uri/ignores-query-string/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_THB7Z2/file/from-uri/ignores-query-string/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/from-uri/ignores-query-string/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_THB7Z2/file/from-uri/ignores-query-string/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/from-uri/ignores-query-string/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/from-uri/ignores-query-string/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/from-uri/ignores-query-string/.dirs/runtime 1092s ok 54 /file/from-uri/ignores-query-string 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_THB7Z2/file/from-uri/ignores-fragment/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_THB7Z2/file/from-uri/ignores-fragment/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_THB7Z2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_THB7Z2/file/from-uri/ignores-fragment/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_THB7Z2/file/from-uri/ignores-fragment/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_THB7Z2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_THB7Z2/file/from-uri/ignores-fragment/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_THB7Z2/file/from-uri/ignores-fragment/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_THB7Z2/file/from-uri/ignores-fragment/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_THB7Z2/file/from-uri/ignores-fragment/.dirs/runtime 1092s ok 55 /file/from-uri/ignores-fragment 1092s # End of from-uri tests 1092s # End of file tests 1092s TAP version 14 1092s # random seed: R02Sd1e52fc8d7e3cb92991711079bd6bffa 1092s 1..21 1092s # Start of gresolver tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/invalid-header/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/invalid-header/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/invalid-header/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/invalid-header/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/invalid-header/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/invalid-header/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/invalid-header/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/invalid-header/.dirs/runtime 1092s ok 1 /gresolver/invalid-header 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/record-ownership/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/record-ownership/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/record-ownership/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/record-ownership/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/record-ownership/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/record-ownership/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/record-ownership/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/record-ownership/.dirs/runtime 1092s ok 2 /gresolver/record-ownership 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/unknown-record-type/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/unknown-record-type/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/unknown-record-type/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/unknown-record-type/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/unknown-record-type/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/unknown-record-type/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/unknown-record-type/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/unknown-record-type/.dirs/runtime 1092s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1092s ok 3 /gresolver/unknown-record-type 1092s # Start of mx tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/mx/valid/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/mx/valid/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/mx/valid/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/mx/valid/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/mx/valid/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/mx/valid/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/mx/valid/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/mx/valid/.dirs/runtime 1092s ok 4 /gresolver/mx/valid 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/.dirs/runtime 1092s ok 5 /gresolver/mx/invalid 1092s # Start of invalid tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/too-short/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/too-short/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/too-short/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/too-short/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/too-short/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/too-short/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/too-short/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/too-short/.dirs/runtime 1092s ok 6 /gresolver/mx/invalid/too-short 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/too-short2/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/too-short2/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/too-short2/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/too-short2/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/too-short2/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/too-short2/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/too-short2/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/mx/invalid/too-short2/.dirs/runtime 1092s ok 7 /gresolver/mx/invalid/too-short2 1092s # End of invalid tests 1092s # End of mx tests 1092s # Start of ns tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/ns/valid/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/ns/valid/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/ns/valid/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/ns/valid/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/ns/valid/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/ns/valid/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/ns/valid/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/ns/valid/.dirs/runtime 1092s ok 8 /gresolver/ns/valid 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/ns/invalid/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/ns/invalid/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/ns/invalid/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/ns/invalid/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/ns/invalid/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/ns/invalid/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/ns/invalid/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/ns/invalid/.dirs/runtime 1092s ok 9 /gresolver/ns/invalid 1092s # End of ns tests 1092s # Start of soa tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/soa/valid/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/soa/valid/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/soa/valid/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/soa/valid/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/soa/valid/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/soa/valid/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/soa/valid/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/soa/valid/.dirs/runtime 1092s ok 10 /gresolver/soa/valid 1092s # Start of invalid tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/mname/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/mname/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/mname/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/mname/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/mname/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/mname/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/mname/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/mname/.dirs/runtime 1092s ok 11 /gresolver/soa/invalid/mname 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/rname/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/rname/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/rname/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/rname/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/rname/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/rname/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/rname/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/rname/.dirs/runtime 1092s ok 12 /gresolver/soa/invalid/rname 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/too-short/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/too-short/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/too-short/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/too-short/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/too-short/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/too-short/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/too-short/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/soa/invalid/too-short/.dirs/runtime 1092s ok 13 /gresolver/soa/invalid/too-short 1092s # End of invalid tests 1092s # End of soa tests 1092s # Start of srv tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/srv/valid/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/srv/valid/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/srv/valid/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/srv/valid/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/srv/valid/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/srv/valid/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/srv/valid/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/srv/valid/.dirs/runtime 1092s ok 14 /gresolver/srv/valid 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/.dirs/runtime 1092s ok 15 /gresolver/srv/invalid 1092s # Start of invalid tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/too-short/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/too-short/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/too-short/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/too-short/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/too-short/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/too-short/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/too-short/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/too-short/.dirs/runtime 1092s ok 16 /gresolver/srv/invalid/too-short 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/too-short2/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/too-short2/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/too-short2/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/too-short2/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/too-short2/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/too-short2/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/too-short2/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/srv/invalid/too-short2/.dirs/runtime 1092s ok 17 /gresolver/srv/invalid/too-short2 1092s # End of invalid tests 1092s # End of srv tests 1092s # Start of txt tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/txt/valid/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/txt/valid/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/txt/valid/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/txt/valid/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/txt/valid/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/txt/valid/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/txt/valid/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/txt/valid/.dirs/runtime 1092s ok 18 /gresolver/txt/valid 1092s # Start of valid tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/txt/valid/multiple-strings/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/txt/valid/multiple-strings/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/txt/valid/multiple-strings/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/txt/valid/multiple-strings/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/txt/valid/multiple-strings/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/txt/valid/multiple-strings/.dirs/runtime 1092s ok 19 /gresolver/txt/valid/multiple-strings 1092s # End of valid tests 1092s # Start of invalid tests 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/txt/invalid/empty/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/txt/invalid/empty/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/txt/invalid/empty/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/txt/invalid/empty/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/txt/invalid/empty/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/txt/invalid/empty/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/txt/invalid/empty/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/txt/invalid/empty/.dirs/runtime 1092s ok 20 /gresolver/txt/invalid/empty 1092s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_C68F02/gresolver/txt/invalid/overflow/.dirs/home 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/txt/invalid/overflow/.dirs/cache 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_C68F02/gresolver/txt/invalid/overflow/.dirs/system-config2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/txt/invalid/overflow/.dirs/config 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_C68F02/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_C68F02/gresolver/txt/invalid/overflow/.dirs/system-data2 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/txt/invalid/overflow/.dirs/data 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_C68F02/gresolver/txt/invalid/overflow/.dirs/state 1092s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_C68F02/gresolver/txt/invalid/overflow/.dirs/runtime 1092s ok 21 /gresolver/txt/invalid/overflow 1092s # End of invalid tests 1092s # End of txt tests 1092s # End of gresolver tests 1092s TAP version 14 1092s # random seed: R02S9102488677daa4389f698795a62e8e4b 1092s 1..1 1092s # Start of gobject tests 1092s # Start of refcount tests 1092s ok - glib/resolver-parsing.test 1092s # Running test: glib/properties-refcount3.test 1096s # Executing: glib/properties-refcount3.test 1101s # Executing: glib/properties-refcount3.test 1106s # Executing: glib/properties-refcount3.test 1111s # Executing: glib/properties-refcount3.test 1116s # Executing: glib/properties-refcount3.test 1121s # Executing: glib/properties-refcount3.test 1122s ok - glib/properties-refcount3.test 1122s # 1122s # stopping 1122s # 1122s # stopped 1122s # 1122s # 23841094 68443 1122s # 1122s ok 1 /gobject/refcount/properties-3 1122s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1122s # End of refcount tests 1122s # End of gobject tests 1122s # Running test: glib/signalgroup.test 1122s ok - glib/signalgroup.test 1122s TAP version 14 1122s # random seed: R02Sdc16dafe662171a14401ca9f2ece896b 1122s 1..9 1122s # Start of GObject tests 1122s # Start of SignalGroup tests 1122s ok 1 /GObject/SignalGroup/invalid 1122s ok 2 /GObject/SignalGroup/simple 1122s ok 3 /GObject/SignalGroup/changing-target 1122s ok 4 /GObject/SignalGroup/blocking 1122s ok 5 /GObject/SignalGroup/weak-ref-target 1122s ok 6 /GObject/SignalGroup/connect-object 1122s ok 7 /GObject/SignalGroup/signal-parsing 1122s ok 8 /GObject/SignalGroup/properties 1122s ok 9 /GObject/SignalGroup/interface 1122s # Start of signal-parsing tests 1122s # End of signal-parsing tests 1122s # End of SignalGroup tests 1122s # End of GObject tests 1122s # Running test: glib/network-address.test 1122s TAP version 14 1122s # random seed: R02Sc6d8cf74d061dde4bc97c14d2c114c4a 1122s 1..72 1122s # Start of network-address tests 1122s ok 1 /network-address/basic 1122s ok 2 /network-address/scope-id 1122s ok 3 /network-address/uri-scope-id 1122s ok 4 /network-address/to-string 1122s # Start of parse-host tests 1122s ok 5 /network-address/parse-host/0 1122s ok 6 /network-address/parse-host/1 1122s ok 7 /network-address/parse-host/2 1122s ok 8 /network-address/parse-host/3 1122s ok 9 /network-address/parse-host/4 1122s ok 10 /network-address/parse-host/5 1122s ok 11 /network-address/parse-host/6 1122s ok 12 /network-address/parse-host/7 1122s ok 13 /network-address/parse-host/8 1122s ok 14 /network-address/parse-host/9 1122s ok 15 /network-address/parse-host/10 1122s ok 16 /network-address/parse-host/11 1122s ok 17 /network-address/parse-host/12 1122s ok 18 /network-address/parse-host/13 1122s # End of parse-host tests 1122s # Start of parse-uri tests 1122s ok 19 /network-address/parse-uri/0 1122s ok 20 /network-address/parse-uri/1 1122s ok 21 /network-address/parse-uri/2 1122s ok 22 /network-address/parse-uri/3 1122s ok 23 /network-address/parse-uri/4 1122s ok 24 /network-address/parse-uri/5 1122s ok 25 /network-address/parse-uri/6 1122s ok 26 /network-address/parse-uri/7 1122s ok 27 /network-address/parse-uri/8 1122s ok 28 /network-address/parse-uri/9 1122s # End of parse-uri tests 1122s # Start of resolve-address tests 1122s # Input: 192.168.1.2 1122s ok 29 /network-address/resolve-address/0 1122s # Input: fe80::42 1122s ok 30 /network-address/resolve-address/1 1122s # Input: 192.168.1.2:80 1122s ok 31 /network-address/resolve-address/2 1122s # Input: [fe80::42] 1122s ok 32 /network-address/resolve-address/3 1122s # Input: [fe80::42]:80 1122s ok 33 /network-address/resolve-address/4 1122s # Input: 192.168.258 1122s ok 34 /network-address/resolve-address/5 1122s # Input: 192.11010306 1122s ok 35 /network-address/resolve-address/6 1122s # Input: 3232235778 1122s ok 36 /network-address/resolve-address/7 1122s # Input: 0300.0250.0001.0001 1122s ok 37 /network-address/resolve-address/8 1122s # Input: 0xC0.0xA8.0x01.0x02 1122s ok 38 /network-address/resolve-address/9 1122s # Input: 0xc0.0xa8.0x01.0x02 1122s ok 39 /network-address/resolve-address/10 1122s # Input: 0xc0a80102 1122s ok 40 /network-address/resolve-address/11 1122s # End of resolve-address tests 1122s # Start of loopback tests 1122s ok 41 /network-address/loopback/basic 1122s ok 42 /network-address/loopback/sync 1122s ok 43 /network-address/loopback/async 1122s # End of loopback tests 1122s # Start of localhost tests 1122s ok 44 /network-address/localhost/async 1122s ok 45 /network-address/localhost/sync 1122s # End of localhost tests 1122s # Start of happy-eyeballs tests 1122s ok 46 /network-address/happy-eyeballs/basic 1122s ok 47 /network-address/happy-eyeballs/parallel 1122s ok 48 /network-address/happy-eyeballs/slow-ipv4 1122s ok 49 /network-address/happy-eyeballs/slow-ipv6 1122s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1123s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1123s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1123s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1123s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1123s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1123s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1123s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1123s # /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. 1123s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1123s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1123s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1123s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1123s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1123s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1123s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1123s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1123s ok 57 /network-address/happy-eyeballs/both-error 1123s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1123s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1123s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1123s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1123s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1123s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1123s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1123s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1123s # End of happy-eyeballs tests 1123s # End of network-address tests 1123s # Start of gresolver tests 1123s # Start of resolve-address tests 1123s # Input: 192.168.1.2 1123s ok 61 /gresolver/resolve-address/0 1123s # Input: fe80::42 1123s ok 62 /gresolver/resolve-address/1 1123s # Input: 192.168.1.2:80 1123s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1123s ok 63 /gresolver/resolve-address/2 1123s # Input: [fe80::42] 1123s # Error: Error resolving ?[fe80::42]?: Name or service not known 1123s ok 64 /gresolver/resolve-address/3 1123s # Input: [fe80::42]:80 1123s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1123s ok 65 /gresolver/resolve-address/4 1123s # Input: 192.168.258 1123s # Error: Error resolving ?192.168.258?: Name or service not known 1123s ok 66 /gresolver/resolve-address/5 1123s # Input: 192.11010306 1123s # Error: Error resolving ?192.11010306?: Name or service not known 1123s ok 67 /gresolver/resolve-address/6 1123s # Input: 3232235778 1123s # Error: Error resolving ?3232235778?: Name or service not known 1123s ok 68 /gresolver/resolve-address/7 1123s # Input: 0300.0250.0001.0001 1123s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1123s ok 69 /gresolver/resolve-address/8 1123s # Input: 0xC0.0xA8.0x01.0x02 1123s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1123s ok 70 /gresolver/resolve-address/9 1123s # Input: 0xc0.0xa8.0x01.0x02 1123s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1123s ok 71 /gresolver/resolve-address/10 1123s # Input: 0xc0a80102 1123s # Error: Error resolving ?0xc0a80102?: Name or service not known 1123s ok 72 /gresolver/resolve-address/11 1123s # End of resolve-address tests 1123s # End of gresolver tests 1123s ok - glib/network-address.test 1123s # Running test: glib/async-close-output-stream.test 1123s TAP version 14 1123s # random seed: R02S1cd6973164b31322503eaed6f1b2125c 1123s 1..3 1123s # Start of close-async tests 1123s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1123s ok 1 /close-async/without-flush 1123s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1123s ok 2 /close-async/with-flush 1123s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1123s ok 3 /close-async/with-async-flush 1123s # End of close-async tests 1123s TAP version 14 1123s # random seed: R02S51d342235faceff7a03d129bbd01f4cd 1123s 1..3 1123s # Start of trash tests 1123s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1123s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1123s # File: /tmp/test-trash5OT6Z2 (parent st_dev: 64769) 1123s # Home: /home/ubuntu (st_dev: 64769) 1123s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1123s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1123s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 1123s ok 3 /trash/long-filename 1123s # End of trash tests 1123s TAP version 14 1123s # random seed: R02S5a9afdc14e7e20765573b356114932c1 1123s 1..18 1123s # Start of gdbus tests 1123s # Start of message-serialize tests 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/basic/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/basic/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/basic/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/basic/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/basic/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/basic/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/basic/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/basic/.dirs/runtime 1123s ok 1 /gdbus/message-serialize/basic 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/complex/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/complex/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/complex/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/complex/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/complex/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/complex/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/complex/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/complex/.dirs/runtime 1123s ok - glib/async-close-output-stream.test 1123s # Running test: glib/trash.test 1123s ok - glib/trash.test 1123s # Running test: glib/gdbus-serialization.test 1123s ok 2 /gdbus/message-serialize/complex 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/invalid/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/invalid/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/invalid/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/invalid/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/invalid/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/invalid/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/invalid/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/invalid/.dirs/runtime 1123s ok 3 /gdbus/message-serialize/invalid 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/header-checks/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/header-checks/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/header-checks/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/header-checks/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/header-checks/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/header-checks/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/header-checks/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/header-checks/.dirs/runtime 1123s ok 4 /gdbus/message-serialize/header-checks 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/double-array/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/double-array/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/double-array/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/double-array/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/double-array/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/double-array/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/double-array/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/double-array/.dirs/runtime 1123s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1123s ok 5 /gdbus/message-serialize/double-array 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/empty-structure/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/empty-structure/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/empty-structure/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/empty-structure/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/empty-structure/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/empty-structure/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/empty-structure/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/empty-structure/.dirs/runtime 1123s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1123s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1123s ok 6 /gdbus/message-serialize/empty-structure 1123s # Start of header-checks tests 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/header-checks/valid/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/header-checks/valid/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/header-checks/valid/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/header-checks/valid/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/header-checks/valid/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1123s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1123s ok 7 /gdbus/message-serialize/header-checks/valid 1123s # End of header-checks tests 1123s # End of message-serialize tests 1123s # Start of message-parse tests 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1123s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1123s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/non-signature-header/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/non-signature-header/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/non-signature-header/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/non-signature-header/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/non-signature-header/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/non-signature-header/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/non-signature-header/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/non-signature-header/.dirs/runtime 1123s ok 9 /gdbus/message-parse/non-signature-header 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-signature-header/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-signature-header/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-signature-header/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-signature-header/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-signature-header/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-signature-header/.dirs/runtime 1123s ok 10 /gdbus/message-parse/empty-signature-header 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/multiple-signature-header/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/multiple-signature-header/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/multiple-signature-header/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/multiple-signature-header/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/multiple-signature-header/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1123s ok 11 /gdbus/message-parse/multiple-signature-header 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/over-long-signature-header/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/over-long-signature-header/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/over-long-signature-header/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/over-long-signature-header/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/over-long-signature-header/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1123s ok 12 /gdbus/message-parse/over-long-signature-header 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/deep-header-nesting/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/deep-header-nesting/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/deep-header-nesting/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/deep-header-nesting/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/deep-header-nesting/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1123s ok 13 /gdbus/message-parse/deep-header-nesting 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/deep-body-nesting/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/deep-body-nesting/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/deep-body-nesting/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/deep-body-nesting/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/deep-body-nesting/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1123s ok 14 /gdbus/message-parse/deep-body-nesting 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/truncated/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/truncated/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/truncated/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/truncated/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/truncated/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/truncated/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/truncated/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/truncated/.dirs/runtime 1123s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1123s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1123s ok 15 /gdbus/message-parse/truncated 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-structure/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-structure/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-structure/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-structure/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-structure/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-structure/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-structure/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/empty-structure/.dirs/runtime 1123s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1123s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1123s ok 16 /gdbus/message-parse/empty-structure 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/missing-header/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/missing-header/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/missing-header/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/missing-header/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/missing-header/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/missing-header/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/missing-header/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/missing-header/.dirs/runtime 1123s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1123s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1123s ok 17 /gdbus/message-parse/missing-header 1123s ok - glib/gdbus-serialization.test 1123s # Running test: glib/refcount.test 1123s ok - glib/refcount.test 1123s # Running test: glib/converter.test 1123s ok - glib/converter.test 1123s # Running test: glib/bookmarkfile.test 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/invalid-header-type/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/invalid-header-type/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/invalid-header-type/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/invalid-header-type/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/invalid-header-type/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_08Z6Z2/gdbus/message-parse/invalid-header-type/.dirs/runtime 1123s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1123s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1123s ok 18 /gdbus/message-parse/invalid-header-type 1123s # End of message-parse tests 1123s # End of gdbus tests 1123s TAP version 14 1123s # random seed: R02S9aef6e9c0619b27771d8cd3849181954 1123s 1..4 1123s # Start of refcount tests 1123s ok 1 /refcount/grefcount 1123s ok 2 /refcount/gatomicrefcount 1123s # Start of grefcount tests 1123s ok 3 /refcount/grefcount/saturation 1123s # End of grefcount tests 1123s # Start of gatomicrefcount tests 1123s ok 4 /refcount/gatomicrefcount/saturation 1123s # End of gatomicrefcount tests 1123s # End of refcount tests 1123s TAP version 14 1123s # random seed: R02S0364f1c9863a25b2324f3165ed9467f1 1123s 1..1 1123s # Start of converter tests 1123s ok 1 /converter/bytes 1123s # End of converter tests 1123s TAP version 14 1123s # random seed: R02S2a48aa71812041c029ebe98e97ec5d57 1123s 1..96 1123s # Start of bookmarks tests 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/load-from-data-dirs/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/load-from-data-dirs/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/load-from-data-dirs/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/load-from-data-dirs/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/load-from-data-dirs/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/load-from-data-dirs/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/load-from-data-dirs/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/load-from-data-dirs/.dirs/runtime 1123s ok 1 /bookmarks/load-from-data-dirs 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/to-file/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/to-file/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/to-file/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/to-file/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/to-file/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/to-file/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/to-file/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/to-file/.dirs/runtime 1123s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_4TW5Z2/bookmarkfile-test-JBX5Z2.xbel 1123s # Roundtrip from a valid bookmark file 1123s ok 2 /bookmarks/to-file 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/move-item/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/move-item/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/move-item/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/move-item/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/move-item/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/move-item/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/move-item/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/move-item/.dirs/runtime 1123s ok 3 /bookmarks/move-item 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/corner-cases/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/corner-cases/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/corner-cases/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/corner-cases/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/corner-cases/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/corner-cases/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/corner-cases/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/corner-cases/.dirs/runtime 1123s ok 4 /bookmarks/corner-cases 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/misc/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/misc/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/misc/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/misc/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/misc/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/misc/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/misc/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/misc/.dirs/runtime 1123s ok 5 /bookmarks/misc 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/deprecated/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/deprecated/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/deprecated/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/deprecated/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/deprecated/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/deprecated/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/deprecated/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/deprecated/.dirs/runtime 1123s ok 6 /bookmarks/deprecated 1123s # Start of parse tests 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-40.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-40.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-40.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-40.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-40.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-40.xbel/.dirs/runtime 1123s ok 7 /bookmarks/parse/fail-40.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-17.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-17.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-17.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-17.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-17.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-17.xbel/.dirs/runtime 1123s ok 8 /bookmarks/parse/fail-17.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-13.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-13.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-13.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-13.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-13.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-13.xbel/.dirs/runtime 1123s ok 9 /bookmarks/parse/fail-13.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-24.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-24.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-24.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-24.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-24.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-24.xbel/.dirs/runtime 1123s ok 10 /bookmarks/parse/fail-24.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-30.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-30.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-30.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-30.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-30.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-30.xbel/.dirs/runtime 1123s ok 11 /bookmarks/parse/fail-30.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-26.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-26.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-26.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-26.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-26.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-26.xbel/.dirs/runtime 1123s ok 12 /bookmarks/parse/fail-26.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-41.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-41.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-41.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-41.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-41.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-41.xbel/.dirs/runtime 1123s ok 13 /bookmarks/parse/fail-41.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-34.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-34.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-34.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-34.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-34.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-34.xbel/.dirs/runtime 1123s ok 14 /bookmarks/parse/fail-34.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-15.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-15.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-15.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-15.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-15.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-15.xbel/.dirs/runtime 1123s ok 15 /bookmarks/parse/fail-15.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-16.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-16.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-16.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-16.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-16.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-16.xbel/.dirs/runtime 1123s ok 16 /bookmarks/parse/fail-16.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-39.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-39.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-39.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-39.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-39.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-39.xbel/.dirs/runtime 1123s ok 17 /bookmarks/parse/fail-39.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-38.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-38.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-38.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-38.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-38.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-38.xbel/.dirs/runtime 1123s ok 18 /bookmarks/parse/fail-38.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-29.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-29.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-29.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-29.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-29.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-29.xbel/.dirs/runtime 1123s ok 19 /bookmarks/parse/fail-29.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-37.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-37.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-37.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-37.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-37.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-37.xbel/.dirs/runtime 1123s ok 20 /bookmarks/parse/fail-37.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-31.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-31.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-31.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-31.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-31.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-31.xbel/.dirs/runtime 1123s ok 21 /bookmarks/parse/fail-31.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-21.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-21.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-21.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-21.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-21.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-21.xbel/.dirs/runtime 1123s ok 22 /bookmarks/parse/fail-21.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-04.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-04.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-04.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-04.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-04.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-04.xbel/.dirs/runtime 1123s ok 23 /bookmarks/parse/fail-04.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-36.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-36.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-36.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-36.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-36.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-36.xbel/.dirs/runtime 1123s ok 24 /bookmarks/parse/fail-36.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-08.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-08.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-08.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-08.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-08.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-08.xbel/.dirs/runtime 1123s ok 25 /bookmarks/parse/fail-08.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-11.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-11.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-11.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-11.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-11.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-11.xbel/.dirs/runtime 1123s ok 26 /bookmarks/parse/fail-11.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-22.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-22.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-22.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-22.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-22.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-22.xbel/.dirs/runtime 1123s ok 27 /bookmarks/parse/fail-22.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-01.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-01.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-01.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-01.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-01.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-01.xbel/.dirs/runtime 1123s ok 28 /bookmarks/parse/fail-01.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-23.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-23.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-23.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-23.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-23.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-23.xbel/.dirs/runtime 1123s ok 29 /bookmarks/parse/fail-23.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-19.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-19.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-19.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-19.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-19.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-19.xbel/.dirs/runtime 1123s ok 30 /bookmarks/parse/fail-19.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-27.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-27.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-27.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-27.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-27.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-27.xbel/.dirs/runtime 1123s ok 31 /bookmarks/parse/fail-27.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-03.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-03.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-03.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-03.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-03.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-03.xbel/.dirs/runtime 1123s ok 32 /bookmarks/parse/fail-03.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-18.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-18.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-18.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-18.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-18.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-18.xbel/.dirs/runtime 1123s ok 33 /bookmarks/parse/fail-18.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-42.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-42.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-42.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-42.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-42.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-42.xbel/.dirs/runtime 1123s ok 34 /bookmarks/parse/fail-42.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-01.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-01.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-01.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-01.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-01.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-01.xbel/.dirs/runtime 1123s ok 35 /bookmarks/parse/valid-01.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-20.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-20.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-20.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-20.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-20.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-20.xbel/.dirs/runtime 1123s ok 36 /bookmarks/parse/fail-20.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-35.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-35.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-35.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-35.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-35.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-35.xbel/.dirs/runtime 1123s ok 37 /bookmarks/parse/fail-35.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-02.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-02.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-02.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-02.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-02.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-02.xbel/.dirs/runtime 1123s ok 38 /bookmarks/parse/valid-02.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-09.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-09.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-09.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-09.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-09.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-09.xbel/.dirs/runtime 1123s ok 39 /bookmarks/parse/fail-09.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-03.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-03.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-03.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-03.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-03.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/valid-03.xbel/.dirs/runtime 1123s ok 40 /bookmarks/parse/valid-03.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-12.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-12.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-12.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-12.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-12.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-12.xbel/.dirs/runtime 1123s ok 41 /bookmarks/parse/fail-12.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-05.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-05.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-05.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-05.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-05.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-05.xbel/.dirs/runtime 1123s ok 42 /bookmarks/parse/fail-05.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-33.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-33.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-33.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-33.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-33.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-33.xbel/.dirs/runtime 1123s ok 43 /bookmarks/parse/fail-33.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-06.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-06.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-06.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-06.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-06.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-06.xbel/.dirs/runtime 1123s ok 44 /bookmarks/parse/fail-06.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-28.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-28.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-28.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-28.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-28.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-28.xbel/.dirs/runtime 1123s ok 45 /bookmarks/parse/fail-28.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-02.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-02.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-02.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-02.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-02.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-02.xbel/.dirs/runtime 1123s ok 46 /bookmarks/parse/fail-02.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-07.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-07.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-07.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-07.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-07.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-07.xbel/.dirs/runtime 1123s ok 47 /bookmarks/parse/fail-07.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-14.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-14.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-14.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-14.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-14.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-14.xbel/.dirs/runtime 1123s ok 48 /bookmarks/parse/fail-14.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-25.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-25.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-25.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-25.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-25.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-25.xbel/.dirs/runtime 1123s ok 49 /bookmarks/parse/fail-25.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-10.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-10.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-10.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-10.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-10.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-10.xbel/.dirs/runtime 1123s ok 50 /bookmarks/parse/fail-10.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-32.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-32.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-32.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-32.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-32.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/parse/fail-32.xbel/.dirs/runtime 1123s ok 51 /bookmarks/parse/fail-32.xbel 1123s # End of parse tests 1123s # Start of copy tests 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-40.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-40.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-40.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-40.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-40.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-40.xbel/.dirs/runtime 1123s ok 52 /bookmarks/copy/fail-40.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-17.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-17.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-17.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-17.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-17.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-17.xbel/.dirs/runtime 1123s ok 53 /bookmarks/copy/fail-17.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-13.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-13.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-13.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-13.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-13.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-13.xbel/.dirs/runtime 1123s ok 54 /bookmarks/copy/fail-13.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-24.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-24.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-24.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-24.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-24.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-24.xbel/.dirs/runtime 1123s ok 55 /bookmarks/copy/fail-24.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-30.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-30.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-30.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-30.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-30.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-30.xbel/.dirs/runtime 1123s ok 56 /bookmarks/copy/fail-30.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-26.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-26.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-26.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-26.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-26.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-26.xbel/.dirs/runtime 1123s ok 57 /bookmarks/copy/fail-26.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-41.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-41.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-41.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-41.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-41.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-41.xbel/.dirs/runtime 1123s ok 58 /bookmarks/copy/fail-41.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-34.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-34.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-34.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-34.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-34.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-34.xbel/.dirs/runtime 1123s ok 59 /bookmarks/copy/fail-34.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-15.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-15.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-15.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-15.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-15.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-15.xbel/.dirs/runtime 1123s ok 60 /bookmarks/copy/fail-15.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-16.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-16.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-16.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-16.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-16.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-16.xbel/.dirs/runtime 1123s ok 61 /bookmarks/copy/fail-16.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-39.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-39.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-39.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-39.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-39.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-39.xbel/.dirs/runtime 1123s ok 62 /bookmarks/copy/fail-39.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-38.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-38.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-38.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-38.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-38.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-38.xbel/.dirs/runtime 1123s ok 63 /bookmarks/copy/fail-38.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-29.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-29.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-29.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-29.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-29.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-29.xbel/.dirs/runtime 1123s ok 64 /bookmarks/copy/fail-29.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-37.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-37.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-37.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-37.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-37.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-37.xbel/.dirs/runtime 1123s ok 65 /bookmarks/copy/fail-37.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-31.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-31.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-31.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-31.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-31.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-31.xbel/.dirs/runtime 1123s ok 66 /bookmarks/copy/fail-31.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-21.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-21.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-21.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-21.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-21.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-21.xbel/.dirs/runtime 1123s ok 67 /bookmarks/copy/fail-21.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-04.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-04.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-04.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-04.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-04.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-04.xbel/.dirs/runtime 1123s ok 68 /bookmarks/copy/fail-04.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-36.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-36.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-36.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-36.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-36.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-36.xbel/.dirs/runtime 1123s ok 69 /bookmarks/copy/fail-36.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-08.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-08.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-08.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-08.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-08.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-08.xbel/.dirs/runtime 1123s ok 70 /bookmarks/copy/fail-08.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-11.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-11.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-11.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-11.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-11.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-11.xbel/.dirs/runtime 1123s ok 71 /bookmarks/copy/fail-11.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-22.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-22.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-22.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-22.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-22.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-22.xbel/.dirs/runtime 1123s ok 72 /bookmarks/copy/fail-22.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-01.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-01.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-01.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-01.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-01.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-01.xbel/.dirs/runtime 1123s ok 73 /bookmarks/copy/fail-01.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-23.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-23.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-23.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-23.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-23.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-23.xbel/.dirs/runtime 1123s ok 74 /bookmarks/copy/fail-23.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-19.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-19.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-19.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-19.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-19.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-19.xbel/.dirs/runtime 1123s ok 75 /bookmarks/copy/fail-19.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-27.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-27.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-27.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-27.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-27.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-27.xbel/.dirs/runtime 1123s ok 76 /bookmarks/copy/fail-27.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-03.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-03.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-03.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-03.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-03.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-03.xbel/.dirs/runtime 1123s ok 77 /bookmarks/copy/fail-03.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-18.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-18.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-18.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-18.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-18.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-18.xbel/.dirs/runtime 1123s ok 78 /bookmarks/copy/fail-18.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-42.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-42.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-42.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-42.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-42.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-42.xbel/.dirs/runtime 1123s ok 79 /bookmarks/copy/fail-42.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-01.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-01.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-01.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-01.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-01.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-01.xbel/.dirs/runtime 1123s ok 80 /bookmarks/copy/valid-01.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-20.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-20.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-20.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-20.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-20.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-20.xbel/.dirs/runtime 1123s ok 81 /bookmarks/copy/fail-20.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-35.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-35.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-35.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-35.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-35.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-35.xbel/.dirs/runtime 1123s ok 82 /bookmarks/copy/fail-35.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-02.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-02.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-02.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-02.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-02.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-02.xbel/.dirs/runtime 1123s ok 83 /bookmarks/copy/valid-02.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-09.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-09.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-09.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-09.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-09.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-09.xbel/.dirs/runtime 1123s ok 84 /bookmarks/copy/fail-09.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-03.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-03.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-03.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-03.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-03.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/valid-03.xbel/.dirs/runtime 1123s ok 85 /bookmarks/copy/valid-03.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-12.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-12.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-12.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-12.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-12.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-12.xbel/.dirs/runtime 1123s ok 86 /bookmarks/copy/fail-12.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-05.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-05.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-05.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-05.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-05.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-05.xbel/.dirs/runtime 1123s ok 87 /bookmarks/copy/fail-05.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-33.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-33.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-33.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-33.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-33.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-33.xbel/.dirs/runtime 1123s ok 88 /bookmarks/copy/fail-33.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-06.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-06.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-06.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-06.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-06.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-06.xbel/.dirs/runtime 1123s ok 89 /bookmarks/copy/fail-06.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-28.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-28.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-28.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-28.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-28.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-28.xbel/.dirs/runtime 1123s ok 90 /bookmarks/copy/fail-28.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-02.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-02.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-02.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-02.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-02.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-02.xbel/.dirs/runtime 1123s ok 91 /bookmarks/copy/fail-02.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-07.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-07.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-07.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-07.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-07.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-07.xbel/.dirs/runtime 1123s ok 92 /bookmarks/copy/fail-07.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-14.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-14.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-14.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1123s ok - glib/bookmarkfile.test 1123s # Running test: glib/completion.test 1123s ok - glib/completion.test 1123s # Running test: glib/object-info.test 1123s ok - glib/object-info.test 1123s # Running test: glib/markup-parse.test 1123s ok - glib/markup-parse.test 1123s # Running test: glib/cmph-bdz.test 1123s ok - glib/cmph-bdz.test 1123s # Running test: glib/socket-listener.test 1123s ok - glib/socket-listener.test 1123s # Running test: glib/fileutils.test 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-14.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-14.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-14.xbel/.dirs/runtime 1123s ok 93 /bookmarks/copy/fail-14.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-25.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-25.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-25.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-25.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-25.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-25.xbel/.dirs/runtime 1123s ok 94 /bookmarks/copy/fail-25.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-10.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-10.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-10.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-10.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-10.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-10.xbel/.dirs/runtime 1123s ok 95 /bookmarks/copy/fail-10.xbel 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-32.xbel/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-32.xbel/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-32.xbel/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-32.xbel/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-32.xbel/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4TW5Z2/bookmarks/copy/fail-32.xbel/.dirs/runtime 1123s ok 96 /bookmarks/copy/fail-32.xbel 1123s # End of copy tests 1123s # End of bookmarks tests 1123s TAP version 14 1123s # random seed: R02S0bf78bce2f654664161626c7787b530d 1123s 1..1 1123s # Start of completion tests 1123s ok 1 /completion/test-completion 1123s # End of completion tests 1123s TAP version 14 1123s # random seed: R02S0be0247871367f0f9080a62e5df06c9c 1123s 1..2 1123s # Start of object-info tests 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_QZSD02/object-info/find-method-using-interfaces/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_QZSD02/object-info/find-method-using-interfaces/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_QZSD02/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_QZSD02/object-info/find-method-using-interfaces/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_QZSD02/object-info/find-method-using-interfaces/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_QZSD02/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_QZSD02/object-info/find-method-using-interfaces/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_QZSD02/object-info/find-method-using-interfaces/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_QZSD02/object-info/find-method-using-interfaces/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_QZSD02/object-info/find-method-using-interfaces/.dirs/runtime 1123s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1123s ok 1 /object-info/find-method-using-interfaces 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_QZSD02/object-info/find-vfunc-using-interfaces/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_QZSD02/object-info/find-vfunc-using-interfaces/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_QZSD02/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_QZSD02/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_QZSD02/object-info/find-vfunc-using-interfaces/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_QZSD02/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_QZSD02/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_QZSD02/object-info/find-vfunc-using-interfaces/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_QZSD02/object-info/find-vfunc-using-interfaces/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_QZSD02/object-info/find-vfunc-using-interfaces/.dirs/runtime 1123s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1123s ok 2 /object-info/find-vfunc-using-interfaces 1123s # End of object-info tests 1123s TAP version 14 1123s # random seed: R02Sa8b9b6f31d334604a3139e17cbe4668e 1123s 1..71 1123s # Start of markup tests 1123s # Start of parse tests 1123s ok 1 /markup/parse/fail-38.gmarkup 1123s ok 2 /markup/parse/valid-5.gmarkup 1123s ok 3 /markup/parse/fail-9.gmarkup 1123s ok 4 /markup/parse/fail-25.gmarkup 1123s ok 5 /markup/parse/fail-21.gmarkup 1123s ok 6 /markup/parse/valid-2.gmarkup 1123s ok 7 /markup/parse/fail-44.gmarkup 1123s ok 8 /markup/parse/valid-8.gmarkup 1123s ok 9 /markup/parse/fail-31.gmarkup 1123s ok 10 /markup/parse/fail-45.gmarkup 1123s ok 11 /markup/parse/fail-16.gmarkup 1123s ok 12 /markup/parse/fail-36.gmarkup 1123s ok 13 /markup/parse/fail-13.gmarkup 1123s ok 14 /markup/parse/valid-7.gmarkup 1123s ok 15 /markup/parse/fail-46.gmarkup 1123s ok 16 /markup/parse/fail-29.gmarkup 1123s ok 17 /markup/parse/valid-15.gmarkup 1123s ok 18 /markup/parse/fail-33.gmarkup 1123s ok 19 /markup/parse/fail-26.gmarkup 1123s ok 20 /markup/parse/fail-43.gmarkup 1123s ok 21 /markup/parse/valid-3.gmarkup 1123s ok 22 /markup/parse/fail-17.gmarkup 1123s ok 23 /markup/parse/fail-22.gmarkup 1123s ok 24 /markup/parse/fail-53.gmarkup 1123s ok 25 /markup/parse/fail-20.gmarkup 1123s ok 26 /markup/parse/fail-11.gmarkup 1123s ok 27 /markup/parse/valid-12.gmarkup 1123s ok 28 /markup/parse/valid-6.gmarkup 1123s ok 29 /markup/parse/fail-10.gmarkup 1123s ok 30 /markup/parse/fail-40.gmarkup 1123s ok 31 /markup/parse/fail-32.gmarkup 1123s ok 32 /markup/parse/fail-39.gmarkup 1123s ok 33 /markup/parse/fail-37.gmarkup 1123s ok 34 /markup/parse/fail-1.gmarkup 1123s ok 35 /markup/parse/fail-41.gmarkup 1123s ok 36 /markup/parse/valid-9.gmarkup 1123s ok 37 /markup/parse/fail-18.gmarkup 1123s ok 38 /markup/parse/fail-34.gmarkup 1123s ok 39 /markup/parse/fail-47.gmarkup 1123s ok 40 /markup/parse/fail-28.gmarkup 1123s ok 41 /markup/parse/valid-4.gmarkup 1123s ok 42 /markup/parse/valid-17.gmarkup 1123s ok 43 /markup/parse/valid-14.gmarkup 1123s ok 44 /markup/parse/valid-10.gmarkup 1123s ok 45 /markup/parse/fail-35.gmarkup 1123s ok 46 /markup/parse/fail-7.gmarkup 1123s ok 47 /markup/parse/fail-24.gmarkup 1123s ok 48 /markup/parse/fail-14.gmarkup 1123s ok 49 /markup/parse/fail-5.gmarkup 1123s ok 50 /markup/parse/valid-16.gmarkup 1123s ok 51 /markup/parse/valid-13.gmarkup 1123s ok 52 /markup/parse/fail-30.gmarkup 1123s ok 53 /markup/parse/fail-3.gmarkup 1123s ok 54 /markup/parse/fail-50.gmarkup 1123s ok 55 /markup/parse/fail-52.gmarkup 1123s ok 56 /markup/parse/fail-8.gmarkup 1123s ok 57 /markup/parse/fail-2.gmarkup 1123s ok 58 /markup/parse/valid-11.gmarkup 1123s ok 59 /markup/parse/fail-42.gmarkup 1123s ok 60 /markup/parse/fail-48.gmarkup 1123s ok 61 /markup/parse/fail-49.gmarkup 1123s ok 62 /markup/parse/fail-23.gmarkup 1123s ok 63 /markup/parse/fail-6.gmarkup 1123s ok 64 /markup/parse/valid-1.gmarkup 1123s ok 65 /markup/parse/fail-19.gmarkup 1123s ok 66 /markup/parse/fail-27.gmarkup 1123s ok 67 /markup/parse/fail-4.gmarkup 1123s ok 68 /markup/parse/fail-15.gmarkup 1123s ok 69 /markup/parse/fail-51.gmarkup 1123s ok 70 /markup/parse/fail-54.gmarkup 1123s ok 71 /markup/parse/fail-12.gmarkup 1123s # End of parse tests 1123s # End of markup tests 1123s TAP version 14 1123s # random seed: R02Sfe5ae42f4509ffc8629b520c3cd0fc5f 1123s 1..2 1123s # Start of cmph-bdz tests 1123s ok 1 /cmph-bdz/search 1123s ok 2 /cmph-bdz/search-packed 1123s # End of cmph-bdz tests 1123s TAP version 14 1123s # random seed: R02S3d0ec694cd4784694dc5da903f646e7b 1123s 1..1 1123s # Start of socket-listener tests 1123s ok 1 /socket-listener/event-signal 1123s # End of socket-listener tests 1123s TAP version 14 1123s # random seed: R02S2798c81daee7e4f47d3dc5995a7b25c8 1123s 1..27 1123s # Start of fileutils tests 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/paths/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/paths/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/paths/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/paths/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/paths/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/paths/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/paths/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/paths/.dirs/runtime 1123s ok 1 /fileutils/paths 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/build-path/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/build-path/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/build-path/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/build-path/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/build-path/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/build-path/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/build-path/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/build-path/.dirs/runtime 1123s ok 2 /fileutils/build-path 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/build-pathv/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/build-pathv/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/build-pathv/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/build-pathv/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/build-pathv/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/build-pathv/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/build-pathv/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/build-pathv/.dirs/runtime 1123s ok 3 /fileutils/build-pathv 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/build-filename/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/build-filename/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/build-filename/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/build-filename/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/build-filename/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/build-filename/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/build-filename/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/build-filename/.dirs/runtime 1123s ok 4 /fileutils/build-filename 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/build-filenamev/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/build-filenamev/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/build-filenamev/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/build-filenamev/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/build-filenamev/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/build-filenamev/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/build-filenamev/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/build-filenamev/.dirs/runtime 1123s ok 5 /fileutils/build-filenamev 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/mkdir-with-parents/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/mkdir-with-parents/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/mkdir-with-parents/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/mkdir-with-parents/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/mkdir-with-parents/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/mkdir-with-parents/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/mkdir-with-parents/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/mkdir-with-parents/.dirs/runtime 1123s # We do not have CAP_DAC_OVERRIDE or equivalent 1123s ok 6 /fileutils/mkdir-with-parents 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/mkdir-with-parents-permission/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/mkdir-with-parents-permission/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/mkdir-with-parents-permission/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/mkdir-with-parents-permission/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/mkdir-with-parents-permission/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/mkdir-with-parents-permission/.dirs/runtime 1123s # We do not have CAP_DAC_OVERRIDE or equivalent 1123s ok 7 /fileutils/mkdir-with-parents-permission 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/format-size-for-display/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/format-size-for-display/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/format-size-for-display/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/format-size-for-display/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/format-size-for-display/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/format-size-for-display/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/format-size-for-display/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/format-size-for-display/.dirs/runtime 1123s ok 8 /fileutils/format-size-for-display 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/errors/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/errors/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/errors/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/errors/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/errors/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/errors/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/errors/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/errors/.dirs/runtime 1123s ok 9 /fileutils/errors 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/basename/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/basename/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/basename/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/basename/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/basename/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/basename/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/basename/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/basename/.dirs/runtime 1123s ok 10 /fileutils/basename 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/get-basename/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/get-basename/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/get-basename/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/get-basename/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/get-basename/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/get-basename/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/get-basename/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/get-basename/.dirs/runtime 1123s ok 11 /fileutils/get-basename 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/dirname/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/dirname/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/dirname/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/dirname/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/dirname/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/dirname/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/dirname/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/dirname/.dirs/runtime 1123s ok 12 /fileutils/dirname 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/dir-make-tmp/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/dir-make-tmp/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/dir-make-tmp/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/dir-make-tmp/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/dir-make-tmp/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/dir-make-tmp/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/dir-make-tmp/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/dir-make-tmp/.dirs/runtime 1123s ok 13 /fileutils/dir-make-tmp 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/file-open-tmp/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/file-open-tmp/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/file-open-tmp/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/file-open-tmp/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/file-open-tmp/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/file-open-tmp/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/file-open-tmp/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/file-open-tmp/.dirs/runtime 1123s ok 14 /fileutils/file-open-tmp 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/file-test/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/file-test/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/file-test/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/file-test/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/file-test/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/file-test/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/file-test/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/file-test/.dirs/runtime 1123s ok 15 /fileutils/file-test 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/mkstemp/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/mkstemp/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/mkstemp/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/mkstemp/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/mkstemp/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/mkstemp/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/mkstemp/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/mkstemp/.dirs/runtime 1123s ok 16 /fileutils/mkstemp 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/mkdtemp/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/mkdtemp/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/mkdtemp/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/mkdtemp/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/mkdtemp/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/mkdtemp/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/mkdtemp/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/mkdtemp/.dirs/runtime 1123s ok 17 /fileutils/mkdtemp 1123s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/get-contents/.dirs/home 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/get-contents/.dirs/cache 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/get-contents/.dirs/system-config2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/get-contents/.dirs/config 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/get-contents/.dirs/system-data2 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/get-contents/.dirs/data 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/get-contents/.dirs/state 1123s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/get-contents/.dirs/runtime 1123s ok 18 /fileutils/get-contents 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/get-contents-large-file/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/get-contents-large-file/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/get-contents-large-file/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/get-contents-large-file/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/get-contents-large-file/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/get-contents-large-file/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/get-contents-large-file/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/get-contents-large-file/.dirs/runtime 1124s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/set-contents/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/set-contents/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/set-contents/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/set-contents/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/set-contents/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/set-contents/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/set-contents/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/set-contents/.dirs/runtime 1124s ok 20 /fileutils/set-contents 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/set-contents-full/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/set-contents-full/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/.dirs/runtime 1124s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1124s # Flags 0 and test 0 1124s # Flags 0 and test 1 1124s # Flags 0 and test 2 1124s # Flags 0 and test 3 1124s # Flags 0 and test 4 1124s # Flags 0 and test 5 1124s # Flags 1 and test 0 1124s # Flags 1 and test 1 1124s # Flags 1 and test 2 1124s # Flags 1 and test 3 1124s # Flags 1 and test 4 1124s # Flags 1 and test 5 1124s # Flags 2 and test 0 1124s # Flags 2 and test 1 1124s # Flags 2 and test 2 1124s # Flags 2 and test 3 1124s # Flags 2 and test 4 1124s # Flags 2 and test 5 1124s # Flags 3 and test 0 1124s # Flags 3 and test 1 1124s # Flags 3 and test 2 1124s # Flags 3 and test 3 1124s # Flags 3 and test 4 1124s # Flags 3 and test 5 1124s # Flags 4 and test 0 1124s # Flags 4 and test 1 1124s # Flags 4 and test 2 1124s # Flags 4 and test 3 1124s # Flags 4 and test 4 1124s # Flags 4 and test 5 1124s # Flags 5 and test 0 1124s # Flags 5 and test 1 1124s # Flags 5 and test 2 1124s # Flags 5 and test 3 1124s # Flags 5 and test 4 1124s # Flags 5 and test 5 1124s # Flags 6 and test 0 1124s # Flags 6 and test 1 1124s # Flags 6 and test 2 1124s # Flags 6 and test 3 1124s # Flags 6 and test 4 1124s # Flags 6 and test 5 1124s ok 21 /fileutils/set-contents-full 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/read-link/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/read-link/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/read-link/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/read-link/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/read-link/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/read-link/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/read-link/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/read-link/.dirs/runtime 1124s ok 22 /fileutils/read-link 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/stdio-wrappers/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/stdio-wrappers/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/stdio-wrappers/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/stdio-wrappers/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/stdio-wrappers/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/stdio-wrappers/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/stdio-wrappers/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/stdio-wrappers/.dirs/runtime 1124s # We do not have CAP_DAC_OVERRIDE or equivalent 1124s ok 23 /fileutils/stdio-wrappers 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/fopen-modes/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/fopen-modes/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/fopen-modes/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/fopen-modes/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/fopen-modes/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/fopen-modes/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/fopen-modes/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/fopen-modes/.dirs/runtime 1124s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1124s # Testing fopen() mode 'w' 1124s # Testing fopen() mode 'r' 1124s # Testing fopen() mode 'a' 1124s # Testing fopen() mode 'w+' 1124s # Testing fopen() mode 'r+' 1124s # Testing fopen() mode 'a+' 1124s # Testing fopen() mode 'wb' 1124s # Testing fopen() mode 'rb' 1124s # Testing fopen() mode 'ab' 1124s # Testing fopen() mode 'w+b' 1124s # Testing fopen() mode 'r+b' 1124s # Testing fopen() mode 'a+b' 1124s # Testing fopen() mode 'wb+' 1124s # Testing fopen() mode 'rb+' 1124s # Testing fopen() mode 'ab+' 1124s ok 24 /fileutils/fopen-modes 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/clear-fd/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/clear-fd/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/clear-fd/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/clear-fd/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/clear-fd/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/clear-fd/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/clear-fd/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/clear-fd/.dirs/runtime 1124s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1124s # Will be closed by autocleanup: 3, -42 1124s # Testing error handling 1124s ok 25 /fileutils/clear-fd 1124s # Start of set-contents-full tests 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/read-only-file/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/read-only-file/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/read-only-file/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/read-only-file/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/read-only-file/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/read-only-file/.dirs/runtime 1124s # We do not have CAP_DAC_OVERRIDE or equivalent 1124s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1124s ok 26 /fileutils/set-contents-full/read-only-file 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/read-only-directory/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/read-only-directory/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_40XC02/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/read-only-directory/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_40XC02/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/read-only-directory/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/read-only-directory/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_40XC02/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1124s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1124s # Flags 0 1124s # We do not have CAP_DAC_OVERRIDE or equivalent 1124s # Flags 1 1124s # We do not have CAP_DAC_OVERRIDE or equivalent 1124s # Flags 2 1124s # We do not have CAP_DAC_OVERRIDE or equivalent 1124s # Flags 3 1124s # We do not have CAP_DAC_OVERRIDE or equivalent 1124s # Flags 4 1124s # We do not have CAP_DAC_OVERRIDE or equivalent 1124s # Flags 5 1124s # We do not have CAP_DAC_OVERRIDE or equivalent 1124s # Flags 6 1124s # We do not have CAP_DAC_OVERRIDE or equivalent 1124s ok 27 /fileutils/set-contents-full/read-only-directory 1124s # End of set-contents-full tests 1124s # Start of clear-fd tests 1124s # Start of subprocess tests 1124s # End of subprocess tests 1124s # End of clear-fd tests 1124s # End of fileutils tests 1124s Unable to clean up temporary directory /tmp/test_fileutils_40XC02/glib-file-set-contents-full-rodir-IZFI02: Directory not empty 1124s Unable to clean up temporary directory /tmp/test_fileutils_40XC02/glib-file-set-contents-full-rodir-TKFJ02: Directory not empty 1124s Unable to clean up temporary directory /tmp/test_fileutils_40XC02/glib-file-set-contents-full-rodir-FOKJ02: Directory not empty 1124s Unable to clean up temporary directory /tmp/test_fileutils_40XC02/glib-file-set-contents-full-rodir-3FEI02: Directory not empty 1124s Unable to clean up temporary directory /tmp/test_fileutils_40XC02/glib-file-set-contents-full-rodir-O2OJ02: Directory not empty 1124s Unable to clean up temporary directory /tmp/test_fileutils_40XC02/glib-file-set-contents-full-rodir-KXCI02: Directory not empty 1124s Unable to clean up temporary directory /tmp/test_fileutils_40XC02/glib-file-set-contents-full-rodir-45EI02: Directory not empty 1124s Unable to clean up temporary directory /tmp/test_fileutils_40XC02: Directory not empty 1124s ok - glib/fileutils.test 1124s # Running test: glib/basics-gobject.test 1124s TAP version 14 1124s # random seed: R02S64026cad3843ff2470ff5bb28a45e077 1124s 1..1 1124s # Start of gobject tests 1124s # private data during initialization: 54321 == 54321 1124s # MAIN: emit test-signal: 1124s # ::test_signal default_handler called 1124s # ::test_signal default_handler called 1124s # ::test_signal default_handler called 1124s # signal return: "" 1124s # MAIN: call iface print-string on test and derived object: 1124s # Iface-FOO: "iface-string-from-test-type" from 0x58b3e928f7a0 1124s # Iface-BAR: "iface-string-from-derived-type" from 0x58b3e928f6c0 1124s # chaining: 1124s # Iface-FOO: "iface-string-from-derived-type" from 0x58b3e928f6c0 1124s # private data after initialization: 54321 == 54321 1124s ok 1 /gobject/basics 1124s # End of gobject tests 1124s ok - glib/basics-gobject.test 1124s # Running test: glib/basic-signals.test 1124s TAP version 14 1124s # random seed: R02S0c43c7318b555a04e48fed84b29cf7fc 1124s 1..1 1124s # Start of gobject tests 1124s ok 1 /gobject/basic-signals 1124s # End of gobject tests 1124s ok - glib/basic-signals.test 1124s # Running test: glib/gdbus-connection.test 1124s TAP version 14 1124s # random seed: R02S57dd3a4983b1fcac22934d06e201027a 1124s 1..9 1124s # Start of gdbus tests 1124s # Start of connection tests 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/bus-failure/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/bus-failure/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_COPI02/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_COPI02/gdbus/connection/bus-failure/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/bus-failure/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_COPI02/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_COPI02/gdbus/connection/bus-failure/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/bus-failure/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/bus-failure/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_COPI02/gdbus/connection/bus-failure/.dirs/runtime 1124s ok 1 /gdbus/connection/bus-failure 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/basic/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/basic/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_COPI02/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_COPI02/gdbus/connection/basic/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/basic/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_COPI02/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_COPI02/gdbus/connection/basic/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/basic/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/basic/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_COPI02/gdbus/connection/basic/.dirs/runtime 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1124s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s ok 2 /gdbus/connection/basic 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/life-cycle/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/life-cycle/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_COPI02/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_COPI02/gdbus/connection/life-cycle/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/life-cycle/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_COPI02/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_COPI02/gdbus/connection/life-cycle/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/life-cycle/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/life-cycle/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_COPI02/gdbus/connection/life-cycle/.dirs/runtime 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1124s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s ok 3 /gdbus/connection/life-cycle 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/send/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/send/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_COPI02/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_COPI02/gdbus/connection/send/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/send/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_COPI02/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_COPI02/gdbus/connection/send/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/send/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/send/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_COPI02/gdbus/connection/send/.dirs/runtime 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1124s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s ok 4 /gdbus/connection/send 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/signals/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/signals/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_COPI02/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_COPI02/gdbus/connection/signals/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/signals/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_COPI02/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_COPI02/gdbus/connection/signals/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/signals/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/signals/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_COPI02/gdbus/connection/signals/.dirs/runtime 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1124s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s ok 5 /gdbus/connection/signals 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/signal-match-rules/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/signal-match-rules/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_COPI02/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_COPI02/gdbus/connection/signal-match-rules/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/signal-match-rules/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_COPI02/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_COPI02/gdbus/connection/signal-match-rules/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/signal-match-rules/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/signal-match-rules/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_COPI02/gdbus/connection/signal-match-rules/.dirs/runtime 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1124s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s ok 6 /gdbus/connection/signal-match-rules 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/filter/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/filter/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_COPI02/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_COPI02/gdbus/connection/filter/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/filter/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_COPI02/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_COPI02/gdbus/connection/filter/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/filter/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/filter/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_COPI02/gdbus/connection/filter/.dirs/runtime 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1124s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s ok 7 /gdbus/connection/filter 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/serials/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/serials/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_COPI02/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_COPI02/gdbus/connection/serials/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/serials/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_COPI02/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_COPI02/gdbus/connection/serials/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/serials/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/serials/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_COPI02/gdbus/connection/serials/.dirs/runtime 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1124s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s ok 8 /gdbus/connection/serials 1124s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/cancel/.dirs/home 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/cancel/.dirs/cache 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_COPI02/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_COPI02/gdbus/connection/cancel/.dirs/system-config2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/cancel/.dirs/config 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_COPI02/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_COPI02/gdbus/connection/cancel/.dirs/system-data2 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/cancel/.dirs/data 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_COPI02/gdbus/connection/cancel/.dirs/state 1124s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_COPI02/gdbus/connection/cancel/.dirs/runtime 1124s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1124s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s ok 9 /gdbus/connection/cancel 1124s # End of connection tests 1124s # End of gdbus tests 1124s ok - glib/gdbus-connection.test 1124s # Running test: glib/portal-support-env-var.test 1124s TAP version 14 1124s # random seed: R02S4b33a79dfb5d47c2d83914319615593b 1124s 1..1 1124s # Start of portal-support tests 1124s ok 1 /portal-support/env-var 1124s # End of portal-support tests 1124s ok - glib/portal-support-env-var.test 1124s # Running test: glib/memory-output-stream.test 1124s TAP version 14 1124s # random seed: R02S218f835a5a7ea8afbd0bd3bf7d5e3e5a 1124s 1..10 1124s # Start of memory-output-stream tests 1124s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1124s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1124s ok 1 /memory-output-stream/truncate 1124s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1124s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1124s ok 2 /memory-output-stream/get-data-size 1124s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1124s ok 3 /memory-output-stream/properties 1124s ok 4 /memory-output-stream/write-bytes 1124s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1124s ok 5 /memory-output-stream/write-null 1124s ok 6 /memory-output-stream/writev 1124s ok 7 /memory-output-stream/writev_nonblocking 1124s ok 8 /memory-output-stream/steal_as_bytes 1124s # Start of seek tests 1124s ok 9 /memory-output-stream/seek/fixed 1124s ok 10 /memory-output-stream/seek/resizable 1124s # End of seek tests 1124s # End of memory-output-stream tests 1124s ok - glib/memory-output-stream.test 1124s # Running test: glib/actions.test 1124s TAP version 14 1124s # random seed: R02S94f9f219c0dd4e603ebf31b384d41b7d 1124s 1..13 1124s # Start of actions tests 1124s ok 1 /actions/basic 1124s ok 2 /actions/name 1124s ok 3 /actions/simplegroup 1124s ok 4 /actions/stateful 1124s ok 5 /actions/default-activate 1124s ok 6 /actions/entries 1124s ok 7 /actions/parse-detailed 1124s ok 8 /actions/property 1124s ok 9 /actions/no-properties 1124s # Start of dbus tests 1124s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s ok 10 /actions/dbus/export 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1124s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1124s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s ok 11 /actions/dbus/threaded 1125s # slow test /actions/dbus/threaded executed in 1.12 secs 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1125s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s ok 12 /actions/dbus/bug679509 1125s # Start of export tests 1125s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 1125s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1125s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s ok - glib/actions.test 1125s # Running test: glib/power-profile-monitor-portal.test 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1125s ok 13 /actions/dbus/export/error-handling 1125s # End of export tests 1125s # End of dbus tests 1125s # End of actions tests 1125s TAP version 13 1125s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1125s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1125s 1..2 1126s ok - glib/power-profile-monitor-portal.test 1126s # Running test: glib/contexts.test 1126s TAP version 14 1126s # random seed: R02S5c23e7505b8fc4fb78fbf94586963ab1 1126s 1..5 1126s # Start of gio tests 1126s # Start of contexts tests 1126s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1126s ok 1 /gio/contexts/thread-independence 1126s ok 2 /gio/contexts/context-independence 1126s # Start of context-specific tests 1126s ok 3 /gio/contexts/context-specific/identity 1126s ok 4 /gio/contexts/context-specific/emit 1126s ok 5 /gio/contexts/context-specific/emit-and-unref 1126s # End of context-specific tests 1126s # End of contexts tests 1126s # End of gio tests 1126s ok - glib/contexts.test 1126s # Running test: glib/mutex.test 1126s TAP version 14 1126s # random seed: R02S43b4fa7918fb232a7b8844d38541907f 1126s 1..17 1126s # Start of thread tests 1126s ok 1 /thread/mutex1 1126s ok 2 /thread/mutex2 1126s ok 3 /thread/mutex3 1126s ok 4 /thread/mutex4 1126s # Executing: glib/mutex.test 1131s # Executing: glib/mutex.test 1132s ok 5 /thread/mutex5 1132s # slow test /thread/mutex5 executed in 6.08 secs 1132s # Start of mutex tests 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1132s ok 6 /thread/mutex/errno 1132s # Start of perf tests 1132s # max perf: inf mips 1132s ok 7 /thread/mutex/perf/uncontended 1132s # Start of contended tests 1132s # max perf: inf mips 1132s ok 8 /thread/mutex/perf/contended/1 1132s # max perf: inf mips 1132s ok 9 /thread/mutex/perf/contended/2 1132s # max perf: inf mips 1132s ok 10 /thread/mutex/perf/contended/3 1132s # max perf: inf mips 1132s ok 11 /thread/mutex/perf/contended/4 1132s # max perf: inf mips 1132s ok 12 /thread/mutex/perf/contended/5 1132s # max perf: 2.333333 mips 1132s ok 13 /thread/mutex/perf/contended/6 1132s # max perf: 4.000000 mips 1132s ok 14 /thread/mutex/perf/contended/7 1132s # max perf: 4.500000 mips 1132s ok 15 /thread/mutex/perf/contended/8 1132s # max perf: 5.000000 mips 1132s ok 16 /thread/mutex/perf/contended/9 1132s # max perf: 3.666667 mips 1132s ok 17 /thread/mutex/perf/contended/10 1132s # End of contended tests 1132s # End of perf tests 1132s # End of mutex tests 1132s # End of thread tests 1132s ok - glib/mutex.test 1132s # Running test: glib/init.test 1132s ok - glib/init.test 1132s # Running test: glib/debugcontroller.test 1132s TAP version 14 1132s # random seed: R02Sadce81a479f5fc763e7559e5a43346e2 1132s 1..2 1132s # Start of thread tests 1132s # Start of deprecated tests 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_3V6M02/thread/deprecated/init/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_3V6M02/thread/deprecated/init/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_3V6M02/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_3V6M02/thread/deprecated/init/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_3V6M02/thread/deprecated/init/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_3V6M02/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_3V6M02/thread/deprecated/init/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_3V6M02/thread/deprecated/init/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_3V6M02/thread/deprecated/init/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_3V6M02/thread/deprecated/init/.dirs/runtime 1132s ok 1 /thread/deprecated/init 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_3V6M02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_3V6M02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_3V6M02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_3V6M02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_3V6M02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_3V6M02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_3V6M02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_3V6M02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_3V6M02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_3V6M02/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1132s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1132s # End of deprecated tests 1132s # End of thread tests 1132s TAP version 14 1132s # random seed: R02S5d05f93225c27e960572c32b554ba1a1 1132s 1..3 1132s # Start of debug-controller tests 1132s # Start of dbus tests 1132s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1132s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1132s # GLib-GIO-DEBUG: Debug output enabled 1132s # GLib-GIO-DEBUG: Debug output disabled 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 1 /debug-controller/dbus/basic 1132s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1132s ok - glib/debugcontroller.test 1132s # Running test: glib/autoptr-girepository.test 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1132s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s ok 2 /debug-controller/dbus/duplicate 1132s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1132s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1132s # End of dbus tests 1132s # End of debug-controller tests 1132s TAP version 14 1132s # random seed: R02S86c17e1c88b4ffca641d9dd01150fe8d 1132s 1..24 1132s # Start of autoptr tests 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/repository/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/repository/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/repository/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/repository/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/repository/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/repository/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/repository/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/repository/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 1 /autoptr/repository 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/typelib/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/typelib/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/typelib/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/typelib/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/typelib/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/typelib/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/typelib/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/typelib/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 2 /autoptr/typelib 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/base-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/base-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/base-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/base-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/base-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/base-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/base-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/base-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 3 /autoptr/base-info 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/arg-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/arg-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/arg-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/arg-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/arg-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/arg-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/arg-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/arg-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 4 /autoptr/arg-info 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/callable-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/callable-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/callable-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/callable-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/callable-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/callable-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/callable-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/callable-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 5 /autoptr/callable-info 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/callback-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/callback-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/callback-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/callback-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/callback-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/callback-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/callback-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/callback-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 6 /autoptr/callback-info 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/constant-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/constant-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/constant-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/constant-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/constant-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/constant-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/constant-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/constant-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 7 /autoptr/constant-info 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/enum-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/enum-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/enum-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/enum-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/enum-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/enum-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/enum-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/enum-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 8 /autoptr/enum-info 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/field-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/field-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/field-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/field-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/field-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/field-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/field-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/field-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 9 /autoptr/field-info 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/flags-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/flags-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/flags-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/flags-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/flags-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/flags-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/flags-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/flags-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 10 /autoptr/flags-info 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/function-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/function-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/function-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/function-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/function-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/function-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/function-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/function-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 11 /autoptr/function-info 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/interface-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/interface-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/interface-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/interface-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/interface-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/interface-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/interface-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/interface-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 12 /autoptr/interface-info 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/object-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/object-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/object-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/object-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/object-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/object-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/object-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/object-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 13 /autoptr/object-info 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/property-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/property-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/property-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/property-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/property-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/property-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/property-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/property-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 14 /autoptr/property-info 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/registered-type-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/registered-type-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/registered-type-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/registered-type-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/registered-type-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/registered-type-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/registered-type-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/registered-type-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 15 /autoptr/registered-type-info 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/signal-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/signal-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/signal-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/signal-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/signal-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/signal-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/signal-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/signal-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 16 /autoptr/signal-info 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/struct-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/struct-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/struct-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/struct-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/struct-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/struct-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/struct-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/struct-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 17 /autoptr/struct-info 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/type-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/type-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/type-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/type-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/type-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/type-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/type-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/type-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 18 /autoptr/type-info 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/union-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/union-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/union-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/union-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/union-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/union-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/union-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/union-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 19 /autoptr/union-info 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/value-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/value-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/value-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/value-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/value-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/value-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/value-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/value-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 20 /autoptr/value-info 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/vfunc-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/vfunc-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/autoptr/vfunc-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/vfunc-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/autoptr/vfunc-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/vfunc-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/autoptr/vfunc-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/autoptr/vfunc-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 21 /autoptr/vfunc-info 1132s # End of autoptr tests 1132s # Start of auto tests 1132s ok - glib/autoptr-girepository.test 1132s # Running test: glib/date.test 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/auto/arg-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/auto/arg-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/auto/arg-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/auto/arg-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/auto/arg-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/auto/arg-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/auto/arg-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/auto/arg-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 22 /auto/arg-info 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/auto/type-info/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/auto/type-info/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/auto/type-info/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/auto/type-info/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/auto/type-info/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/auto/type-info/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/auto/type-info/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/auto/type-info/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 23 /auto/type-info 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O007Z2/auto/function-invoker/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O007Z2/auto/function-invoker/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O007Z2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_O007Z2/auto/function-invoker/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O007Z2/auto/function-invoker/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O007Z2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_O007Z2/auto/function-invoker/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O007Z2/auto/function-invoker/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O007Z2/auto/function-invoker/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O007Z2/auto/function-invoker/.dirs/runtime 1132s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1132s ok 24 /auto/function-invoker 1132s # End of auto tests 1132s TAP version 14 1132s # random seed: R02Sf56d68f78c307903c78ef45d8fc00e5b 1132s 1..121 1132s # Start of date tests 1132s ok 1 /date/basic 1132s ok 2 /date/empty 1132s ok 3 /date/dmy 1132s ok 4 /date/julian 1132s ok 5 /date/compare 1132s ok 6 /date/dates 1132s ok 7 /date/strftime 1132s ok 8 /date/two-digit-years 1132s ok 9 /date/parse 1132s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1132s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1132s ok 11 /date/month_substring 1132s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1132s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1132s ok 13 /date/clamp 1132s ok 14 /date/order 1132s ok 15 /date/copy 1132s # Vector 0: 0000-00-00, invalid 1132s # Vector 1: 0001-01-01, valid 1132s # Vector 2: 0000-01-01, invalid 1132s # Vector 3: 2000-02-30, invalid 1132s # Vector 4: 2000-02-29, valid 1132s # Vector 5: 2001-02-29, invalid 1132s # Vector 6: 65535-01-01, valid 1132s ok 16 /date/valid-dmy 1132s # Start of parse tests 1132s # Test 0 1132s # Test 1 1132s ok 17 /date/parse/invalid 1132s # End of parse tests 1132s # Start of year tests 1132s ok 18 /date/year/1 1132s ok 19 /date/year/2 1132s ok 20 /date/year/3 1132s ok 21 /date/year/4 1132s ok 22 /date/year/5 1132s ok 23 /date/year/6 1132s ok 24 /date/year/7 1132s ok 25 /date/year/8 1132s ok 26 /date/year/9 1132s ok 27 /date/year/10 1132s ok 28 /date/year/11 1132s ok 29 /date/year/12 1132s ok 30 /date/year/13 1132s ok 31 /date/year/14 1132s ok 32 /date/year/98 1132s ok 33 /date/year/99 1132s ok 34 /date/year/100 1132s ok 35 /date/year/101 1132s ok 36 /date/year/102 1132s ok 37 /date/year/103 1132s ok 38 /date/year/397 1132s ok 39 /date/year/398 1132s ok 40 /date/year/399 1132s ok 41 /date/year/400 1132s ok 42 /date/year/401 1132s ok 43 /date/year/402 1132s ok 44 /date/year/403 1132s ok 45 /date/year/404 1132s ok 46 /date/year/405 1132s ok 47 /date/year/406 1132s ok 48 /date/year/1598 1132s ok 49 /date/year/1599 1132s ok 50 /date/year/1600 1132s ok 51 /date/year/1601 1132s ok 52 /date/year/1602 1132s ok 53 /date/year/1650 1132s ok 54 /date/year/1651 1132s ok 55 /date/year/1897 1132s ok 56 /date/year/1898 1132s ok 57 /date/year/1899 1132s ok 58 /date/year/1900 1132s ok 59 /date/year/1901 1132s ok 60 /date/year/1902 1132s ok 61 /date/year/1903 1132s ok 62 /date/year/1961 1132s ok 63 /date/year/1962 1132s ok 64 /date/year/1963 1132s ok 65 /date/year/1964 1132s ok 66 /date/year/1965 1132s ok 67 /date/year/1967 1132s ok 68 /date/year/1968 1132s ok 69 /date/year/1969 1132s ok 70 /date/year/1970 1132s ok 71 /date/year/1971 1132s ok 72 /date/year/1972 1132s ok 73 /date/year/1973 1132s ok 74 /date/year/1974 1132s ok 75 /date/year/1975 1132s ok 76 /date/year/1976 1132s ok 77 /date/year/1977 1132s ok 78 /date/year/1978 1132s ok 79 /date/year/1979 1132s ok 80 /date/year/1980 1132s ok 81 /date/year/1981 1132s ok 82 /date/year/1982 1132s ok 83 /date/year/1983 1132s ok 84 /date/year/1984 1132s ok 85 /date/year/1985 1132s ok 86 /date/year/1986 1132s ok 87 /date/year/1987 1132s ok 88 /date/year/1988 1132s ok 89 /date/year/1989 1132s ok 90 /date/year/1990 1132s ok 91 /date/year/1991 1132s ok 92 /date/year/1992 1132s ok 93 /date/year/1993 1132s ok 94 /date/year/1994 1132s ok 95 /date/year/1995 1132s ok 96 /date/year/1996 1132s ok 97 /date/year/1997 1132s ok 98 /date/year/1998 1132s ok 99 /date/year/1999 1132s ok 100 /date/year/2000 1132s ok 101 /date/year/2001 1132s ok 102 /date/year/2002 1132s ok 103 /date/year/2003 1132s ok 104 /date/year/2004 1132s ok 105 /date/year/2005 1132s ok 106 /date/year/2006 1132s ok 107 /date/year/2007 1132s ok 108 /date/year/2008 1132s ok 109 /date/year/2009 1132s ok 110 /date/year/2010 1132s ok 111 /date/year/2011 1132s ok 112 /date/year/2012 1132s ok 113 /date/year/3000 1132s ok 114 /date/year/3001 1132s ok 115 /date/year/3002 1132s ok 116 /date/year/3998 1132s ok 117 /date/year/3999 1132s ok 118 /date/year/4000 1132s ok 119 /date/year/4001 1132s ok 120 /date/year/4002 1132s ok - glib/date.test 1132s ok 121 /date/year/4003 1132s # End of year tests 1132s # End of date tests 1132s # Running test: glib/convert.test 1132s TAP version 14 1132s # random seed: R02S5f0fa06b512002690a2701d8ae5345a1 1132s 1..14 1132s # Start of conversion tests 1132s ok 1 /conversion/no-conv 1132s ok 2 /conversion/iconv-state 1132s ok 3 /conversion/illegal-sequence 1132s ok 4 /conversion/byte-order 1132s ok 5 /conversion/unicode 1132s ok 6 /conversion/filename-utf8 1132s ok 7 /conversion/filename-display 1132s ok 8 /conversion/convert-embedded-nul 1132s # Start of locale-to-utf8 tests 1132s ok 9 /conversion/locale-to-utf8/embedded-nul 1132s # Start of embedded-nul tests 1132s # Start of subprocess tests 1132s # End of subprocess tests 1132s # End of embedded-nul tests 1132s # End of locale-to-utf8 tests 1132s # Start of locale-from-utf8 tests 1132s ok 10 /conversion/locale-from-utf8/embedded-nul 1132s # Start of embedded-nul tests 1132s # Start of subprocess tests 1132s # End of subprocess tests 1132s # End of embedded-nul tests 1132s # End of locale-from-utf8 tests 1132s # Start of filename-to-utf8 tests 1132s ok - glib/convert.test 1132s # Running test: glib/utils-c-99.test 1132s ok 11 /conversion/filename-to-utf8/embedded-nul 1132s # Start of embedded-nul tests 1132s # Start of subprocess tests 1132s # End of subprocess tests 1132s # End of embedded-nul tests 1132s # End of filename-to-utf8 tests 1132s # Start of filename-from-utf8 tests 1132s ok 12 /conversion/filename-from-utf8/embedded-nul 1132s # Start of embedded-nul tests 1132s # Start of subprocess tests 1132s # End of subprocess tests 1132s # End of embedded-nul tests 1132s # End of filename-from-utf8 tests 1132s # Start of filename-from-uri tests 1132s ok 13 /conversion/filename-from-uri/query-is-ignored 1132s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1132s # End of filename-from-uri tests 1132s # End of conversion tests 1132s TAP version 14 1132s # random seed: R02S14a42991075fd4722e68fea4dbdfe7da 1132s 1..40 1132s # Start of utils tests 1132s ok 1 /utils/language-names 1132s ok 2 /utils/locale-variants 1132s ok 3 /utils/version 1132s ok 4 /utils/appname 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1132s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1132s ok 5 /utils/prgname-thread-safety 1132s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1132s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1132s ok 6 /utils/tmpdir 1132s ok 7 /utils/basic_bits 1132s ok 8 /utils/bits 1132s ok 9 /utils/swap 1132s ok 10 /utils/find-program 1132s ok 11 /utils/find-program-for-path 1132s ok 12 /utils/debug 1132s ok 13 /utils/codeset 1132s ok 14 /utils/codeset2 1132s ok 15 /utils/console-charset 1132s ok 16 /utils/gettext 1132s ok 17 /utils/username 1132s ok 18 /utils/realname 1132s ok 19 /utils/hostname 1132s ok 20 /utils/xdgdirs 1132s ok 21 /utils/specialdir 1132s # NAME: Ubuntu 1132s ok 22 /utils/os-info 1132s ok 23 /utils/clear-pointer 1132s ok 24 /utils/clear-pointer-cast 1132s ok 25 /utils/take-pointer 1132s ok 26 /utils/clear-source 1132s ok 27 /utils/misc-mem 1132s # /utils/aligned-mem summary: Aligned memory allocator 1132s # Alignment must not be zero 1132s # Alignment must be a power of two 1132s # Alignment must be a multiple of sizeof(void*) 1132s ok 28 /utils/aligned-mem 1132s # /utils/free-sized summary: Check that g_free_sized() works 1132s ok 29 /utils/free-sized 1132s ok 30 /utils/nullify 1132s ok 31 /utils/atexit 1132s ok 32 /utils/check-setuid 1132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1132s ok 33 /utils/int-limits 1132s ok 34 /utils/clear-list 1132s ok 35 /utils/clear-slist 1132s # Start of specialdir tests 1132s ok 36 /utils/specialdir/desktop 1132s # End of specialdir tests 1132s # Start of clear-pointer tests 1132s ok 37 /utils/clear-pointer/side-effects 1132s # End of clear-pointer tests 1132s # Start of aligned-mem tests 1132s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1132s ok 38 /utils/aligned-mem/alignment 1132s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1132s ok 39 /utils/aligned-mem/zeroed 1132s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1132s ok 40 /utils/aligned-mem/free-sized 1132s # Start of subprocess tests 1132s # End of subprocess tests 1132s # End of aligned-mem tests 1132s # End of utils tests 1132s ok - glib/utils-c-99.test 1132s # Running test: glib/portal-support-flatpak-network-only.test 1132s TAP version 14 1132s # random seed: R02S3580296e4950f944c2539616ed1e94f1 1132s 1..1 1132s # Start of portal-support tests 1132s # Start of flatpak tests 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_7MTC02/portal-support/flatpak/network/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_7MTC02/portal-support/flatpak/network/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_7MTC02/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_7MTC02/portal-support/flatpak/network/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_7MTC02/portal-support/flatpak/network/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_7MTC02/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_7MTC02/portal-support/flatpak/network/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_7MTC02/portal-support/flatpak/network/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_7MTC02/portal-support/flatpak/network/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_7MTC02/portal-support/flatpak/network/.dirs/runtime 1132s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_7MTC02/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1132s ok 1 /portal-support/flatpak/network 1132s # End of flatpak tests 1132s # End of portal-support tests 1132s ok - glib/portal-support-flatpak-network-only.test 1132s # Running test: glib/gdbus-auth.test 1132s TAP version 14 1132s # random seed: R02Sa7ec6e2e20aed52ea993234857ed79dd 1132s 1..5 1132s # Start of gdbus tests 1132s # Start of auth tests 1132s # Start of client tests 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/client/EXTERNAL/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/client/EXTERNAL/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_ZUZC02/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/client/EXTERNAL/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_ZUZC02/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/client/EXTERNAL/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/client/EXTERNAL/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/client/EXTERNAL/.dirs/runtime 1132s ok 1 /gdbus/auth/client/EXTERNAL 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_ZUZC02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_ZUZC02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1132s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1132s # End of client tests 1132s # Start of server tests 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/ANONYMOUS/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/ANONYMOUS/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/ANONYMOUS/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/ANONYMOUS/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/ANONYMOUS/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1132s ok 3 /gdbus/auth/server/ANONYMOUS 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/EXTERNAL/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/EXTERNAL/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/EXTERNAL/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/EXTERNAL/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/EXTERNAL/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/EXTERNAL/.dirs/runtime 1132s ok 4 /gdbus/auth/server/EXTERNAL 1132s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1132s ok - glib/gdbus-auth.test 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1132s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_ZUZC02/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1132s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1132s # End of server tests 1132s # End of auth tests 1132s # End of gdbus tests 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1132s # Running test: glib/timer.test 1132s ok - glib/timer.test 1132s TAP version 14 1132s # random seed: R02S18331565a9c3f2b394020d1e5e66e412 1132s 1..10 1132s # Start of timer tests 1132s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1132s ok 2 /timer/stop 1132s ok 3 /timer/continue 1132s ok 4 /timer/reset 1132s ok 5 /timer/is_active 1132s # End of timer tests 1132s # Start of timeval tests 1132s ok 6 /timeval/add 1132s ok 7 /timeval/from-iso8601 1132s ok 8 /timeval/to-iso8601 1132s # Start of to-iso8601 tests 1132s ok 9 /timeval/to-iso8601/overflow 1132s # End of to-iso8601 tests 1132s # End of timeval tests 1132s # Start of usleep tests 1132s ok 10 /usleep/with-zero-wait 1132s # End of usleep tests 1132s # Running test: glib/mem-overflow.test 1132s TAP version 14 1132s # random seed: R02S354db2b78f55d3598ae69c231c5963ec 1132s 1..2 1132s # Start of mem tests 1132s ok 1 /mem/overflow 1132s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1132s ok 2 /mem/empty-alloc 1132s # Start of overflow tests 1132s # Start of subprocess tests 1132s # End of subprocess tests 1132s # End of overflow tests 1132s # Start of empty-alloc tests 1132s # End of empty-alloc tests 1132s # End of mem tests 1132s ok - glib/mem-overflow.test 1132s # Running test: glib/mkenums.py.test 1133s TAP version 13 1133s ok 1 __main__.TestMkenums.test_available_in 1133s # tmpdir: /tmp/tmpaqgismoi 1133s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmpaqgismoi/tmprmqpu_c0.h: 1133s # typedef enum { 1133s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1133s # } GDBusServerFlags; 1133s # 1133s # /tmp/tmpaqgismoi/tmpzdg1vr6o.template: 1133s # /*** BEGIN file-header ***/ 1133s # file-header 1133s # /*** END file-header ***/ 1133s # 1133s # /*** BEGIN file-production ***/ 1133s # file-production 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-production ***/ 1133s # 1133s # /*** BEGIN enumeration-production ***/ 1133s # enumeration-production 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END enumeration-production ***/ 1133s # 1133s # /*** BEGIN value-header ***/ 1133s # value-header 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-header ***/ 1133s # 1133s # /*** BEGIN value-production ***/ 1133s # value-production 1133s # VALUENAME: @VALUENAME@ 1133s # valuenick: @valuenick@ 1133s # valuenum: @valuenum@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-production ***/ 1133s # 1133s # /*** BEGIN value-tail ***/ 1133s # value-tail 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-tail ***/ 1133s # 1133s # /*** BEGIN comment ***/ 1133s # comment 1133s # comment: @comment@ 1133s # /*** END comment ***/ 1133s # 1133s # /*** BEGIN file-tail ***/ 1133s # file-tail 1133s # /*** END file-tail ***/ 1133s # 1133s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpaqgismoi/tmpzdg1vr6o.template', '/tmp/tmpaqgismoi/tmprmqpu_c0.h'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: comment 1133s # 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. 1133s # 1133s # 1133s # file-header 1133s # file-production 1133s # filename: /tmp/tmpaqgismoi/tmprmqpu_c0.h 1133s # basename: tmprmqpu_c0.h 1133s # enumeration-production 1133s # EnumName: GDBusServerFlags 1133s # enum_name: g_dbus_server_flags 1133s # ENUMNAME: G_DBUS_SERVER_FLAGS 1133s # ENUMSHORT: DBUS_SERVER_FLAGS 1133s # ENUMPREFIX: G 1133s # enumsince: 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # value-header 1133s # EnumName: GDBusServerFlags 1133s # enum_name: g_dbus_server_flags 1133s # ENUMNAME: G_DBUS_SERVER_FLAGS 1133s # ENUMSHORT: DBUS_SERVER_FLAGS 1133s # ENUMPREFIX: G 1133s # enumsince: 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # value-production 1133s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1133s # valuenick: user 1133s # valuenum: 4 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # value-tail 1133s # EnumName: GDBusServerFlags 1133s # enum_name: g_dbus_server_flags 1133s # ENUMNAME: G_DBUS_SERVER_FLAGS 1133s # ENUMSHORT: DBUS_SERVER_FLAGS 1133s # ENUMPREFIX: G 1133s # enumsince: 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # file-tail 1133s # 1133s # comment 1133s # comment: Generated data ends here 1133s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1133s # tmpdir: /tmp/tmpd4ng3nd6 1133s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmpd4ng3nd6/tmpktad5dy5.h: 1133s # typedef enum { 1133s # ENUM_VALUE_WITH_COMMA = ',', 1133s # } TestCommaEnum; 1133s # 1133s # /tmp/tmpd4ng3nd6/tmp9grkey6d.template: 1133s # /*** BEGIN file-header ***/ 1133s # file-header 1133s # /*** END file-header ***/ 1133s # 1133s # /*** BEGIN file-production ***/ 1133s # file-production 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-production ***/ 1133s # 1133s # /*** BEGIN enumeration-production ***/ 1133s # enumeration-production 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END enumeration-production ***/ 1133s # 1133s # /*** BEGIN value-header ***/ 1133s # value-header 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-header ***/ 1133s # 1133s # /*** BEGIN value-production ***/ 1133s # value-production 1133s # VALUENAME: @VALUENAME@ 1133s # valuenick: @valuenick@ 1133s # valuenum: @valuenum@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-production ***/ 1133s # 1133s # /*** BEGIN value-tail ***/ 1133s # value-tail 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-tail ***/ 1133s # 1133s # /*** BEGIN comment ***/ 1133s # comment 1133s # comment: @comment@ 1133s # /*** END comment ***/ 1133s # 1133s # /*** BEGIN file-tail ***/ 1133s # file-tail 1133s # /*** END file-tail ***/ 1133s # 1133s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpd4ng3nd6/tmp9grkey6d.template', '/tmp/tmpd4ng3nd6/tmpktad5dy5.h'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: comment 1133s # 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. 1133s # 1133s # 1133s # file-header 1133s # file-production 1133s # filename: /tmp/tmpd4ng3nd6/tmpktad5dy5.h 1133s # basename: tmpktad5dy5.h 1133s # enumeration-production 1133s # EnumName: TestCommaEnum 1133s # enum_name: test_comma_enum 1133s # ENUMNAME: TEST_COMMA_ENUM 1133s # ENUMSHORT: COMMA_ENUM 1133s # ENUMPREFIX: TEST 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-header 1133s # EnumName: TestCommaEnum 1133s # enum_name: test_comma_enum 1133s # ENUMNAME: TEST_COMMA_ENUM 1133s # ENUMSHORT: COMMA_ENUM 1133s # ENUMPREFIX: TEST 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-production 1133s # VALUENAME: ENUM_VALUE_WITH_COMMA 1133s # valuenick: comma 1133s # valuenum: 44 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-tail 1133s # EnumName: TestCommaEnum 1133s # enum_name: test_comma_enum 1133s # ENUMNAME: TEST_COMMA_ENUM 1133s # ENUMSHORT: COMMA_ENUM 1133s # ENUMPREFIX: TEST 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # file-tail 1133s # 1133s # comment 1133s # comment: Generated data ends here 1133s ok 3 __main__.TestMkenums.test_deprecated_in 1133s # tmpdir: /tmp/tmpems5n1uh 1133s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmpems5n1uh/tmp4xoqzmfd.h: 1133s # typedef enum { 1133s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1133s # } GDBusServerFlags; 1133s # 1133s # /tmp/tmpems5n1uh/tmpchwfq2j4.template: 1133s # /*** BEGIN file-header ***/ 1133s # file-header 1133s # /*** END file-header ***/ 1133s # 1133s # /*** BEGIN file-production ***/ 1133s # file-production 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-production ***/ 1133s # 1133s # /*** BEGIN enumeration-production ***/ 1133s # enumeration-production 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END enumeration-production ***/ 1133s # 1133s # /*** BEGIN value-header ***/ 1133s # value-header 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-header ***/ 1133s # 1133s # /*** BEGIN value-production ***/ 1133s # value-production 1133s # VALUENAME: @VALUENAME@ 1133s # valuenick: @valuenick@ 1133s # valuenum: @valuenum@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-production ***/ 1133s # 1133s # /*** BEGIN value-tail ***/ 1133s # value-tail 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-tail ***/ 1133s # 1133s # /*** BEGIN comment ***/ 1133s # comment 1133s # comment: @comment@ 1133s # /*** END comment ***/ 1133s # 1133s # /*** BEGIN file-tail ***/ 1133s # file-tail 1133s # /*** END file-tail ***/ 1133s # 1133s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpems5n1uh/tmpchwfq2j4.template', '/tmp/tmpems5n1uh/tmp4xoqzmfd.h'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: comment 1133s # 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. 1133s # 1133s # 1133s # file-header 1133s # file-production 1133s # filename: /tmp/tmpems5n1uh/tmp4xoqzmfd.h 1133s # basename: tmp4xoqzmfd.h 1133s # enumeration-production 1133s # EnumName: GDBusServerFlags 1133s # enum_name: g_dbus_server_flags 1133s # ENUMNAME: G_DBUS_SERVER_FLAGS 1133s # ENUMSHORT: DBUS_SERVER_FLAGS 1133s # ENUMPREFIX: G 1133s # enumsince: 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # value-header 1133s # EnumName: GDBusServerFlags 1133s # enum_name: g_dbus_server_flags 1133s # ENUMNAME: G_DBUS_SERVER_FLAGS 1133s # ENUMSHORT: DBUS_SERVER_FLAGS 1133s # ENUMPREFIX: G 1133s # enumsince: 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # value-production 1133s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1133s # valuenick: user 1133s # valuenum: 4 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # value-tail 1133s # EnumName: GDBusServerFlags 1133s # enum_name: g_dbus_server_flags 1133s # ENUMNAME: G_DBUS_SERVER_FLAGS 1133s # ENUMSHORT: DBUS_SERVER_FLAGS 1133s # ENUMPREFIX: G 1133s # enumsince: 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # file-tail 1133s # 1133s # comment 1133s # comment: Generated data ends here 1133s ok 4 __main__.TestMkenums.test_deprecated_in_for 1133s # tmpdir: /tmp/tmpnjp0d1rs 1133s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmpnjp0d1rs/tmplpegmucc.h: 1133s # typedef enum { 1133s # 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) 1133s # } GDBusServerFlags; 1133s # 1133s # /tmp/tmpnjp0d1rs/tmpx15yq2tq.template: 1133s # /*** BEGIN file-header ***/ 1133s # file-header 1133s # /*** END file-header ***/ 1133s # 1133s # /*** BEGIN file-production ***/ 1133s # file-production 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-production ***/ 1133s # 1133s # /*** BEGIN enumeration-production ***/ 1133s # enumeration-production 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END enumeration-production ***/ 1133s # 1133s # /*** BEGIN value-header ***/ 1133s # value-header 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-header ***/ 1133s # 1133s # /*** BEGIN value-production ***/ 1133s # value-production 1133s # VALUENAME: @VALUENAME@ 1133s # valuenick: @valuenick@ 1133s # valuenum: @valuenum@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-production ***/ 1133s # 1133s # /*** BEGIN value-tail ***/ 1133s # value-tail 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-tail ***/ 1133s # 1133s # /*** BEGIN comment ***/ 1133s # comment 1133s # comment: @comment@ 1133s # /*** END comment ***/ 1133s # 1133s # /*** BEGIN file-tail ***/ 1133s # file-tail 1133s # /*** END file-tail ***/ 1133s # 1133s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnjp0d1rs/tmpx15yq2tq.template', '/tmp/tmpnjp0d1rs/tmplpegmucc.h'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: comment 1133s # 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. 1133s # 1133s # 1133s # file-header 1133s # file-production 1133s # filename: /tmp/tmpnjp0d1rs/tmplpegmucc.h 1133s # basename: tmplpegmucc.h 1133s # enumeration-production 1133s # EnumName: GDBusServerFlags 1133s # enum_name: g_dbus_server_flags 1133s # ENUMNAME: G_DBUS_SERVER_FLAGS 1133s # ENUMSHORT: DBUS_SERVER_FLAGS 1133s # ENUMPREFIX: G 1133s # enumsince: 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # value-header 1133s # EnumName: GDBusServerFlags 1133s # enum_name: g_dbus_server_flags 1133s # ENUMNAME: G_DBUS_SERVER_FLAGS 1133s # ENUMSHORT: DBUS_SERVER_FLAGS 1133s # ENUMPREFIX: G 1133s # enumsince: 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # value-production 1133s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1133s # valuenick: user 1133s # valuenum: 4 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # value-tail 1133s # EnumName: GDBusServerFlags 1133s # enum_name: g_dbus_server_flags 1133s # ENUMNAME: G_DBUS_SERVER_FLAGS 1133s # ENUMSHORT: DBUS_SERVER_FLAGS 1133s # ENUMPREFIX: G 1133s # enumsince: 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # file-tail 1133s # 1133s # comment 1133s # comment: Generated data ends here 1133s ok 5 __main__.TestMkenums.test_empty_header 1133s # tmpdir: /tmp/tmpletiwz6q 1133s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmpletiwz6q/tmp2awslezm.h: 1133s # /tmp/tmpletiwz6q/tmp1uzckopv.template: 1133s # /*** BEGIN file-header ***/ 1133s # file-header 1133s # /*** END file-header ***/ 1133s # 1133s # /*** BEGIN file-production ***/ 1133s # file-production 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-production ***/ 1133s # 1133s # /*** BEGIN enumeration-production ***/ 1133s # enumeration-production 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END enumeration-production ***/ 1133s # 1133s # /*** BEGIN value-header ***/ 1133s # value-header 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-header ***/ 1133s # 1133s # /*** BEGIN value-production ***/ 1133s # value-production 1133s # VALUENAME: @VALUENAME@ 1133s # valuenick: @valuenick@ 1133s # valuenum: @valuenum@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-production ***/ 1133s # 1133s # /*** BEGIN value-tail ***/ 1133s # value-tail 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-tail ***/ 1133s # 1133s # /*** BEGIN comment ***/ 1133s # comment 1133s # comment: @comment@ 1133s # /*** END comment ***/ 1133s # 1133s # /*** BEGIN file-tail ***/ 1133s # file-tail 1133s # /*** END file-tail ***/ 1133s # 1133s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpletiwz6q/tmp1uzckopv.template', '/tmp/tmpletiwz6q/tmp2awslezm.h'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: comment 1133s # 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. 1133s # 1133s # 1133s # file-header 1133s # file-tail 1133s # 1133s # comment 1133s # comment: Generated data ends here 1133s ok 6 __main__.TestMkenums.test_empty_template 1133s # tmpdir: /tmp/tmpbonll3p9 1133s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmpbonll3p9/tmprod55lro.template: 1133s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbonll3p9/tmprod55lro.template'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # 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. */ 1133s # 1133s # 1133s # /* Generated data ends here */ 1133s ok 7 __main__.TestMkenums.test_enum_name 1133s # tmpdir: /tmp/tmpt_6rf1rk 1133s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmpt_6rf1rk/tmp_g0les45.h: 1133s # typedef enum _SomeEnumIdentifier { 1133s # ENUM_VALUE 1133s # } SomeEnumIdentifier; 1133s # 1133s # /tmp/tmpt_6rf1rk/tmpagpkdqhd.template: 1133s # /*** BEGIN file-header ***/ 1133s # file-header 1133s # /*** END file-header ***/ 1133s # 1133s # /*** BEGIN file-production ***/ 1133s # file-production 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-production ***/ 1133s # 1133s # /*** BEGIN enumeration-production ***/ 1133s # enumeration-production 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END enumeration-production ***/ 1133s # 1133s # /*** BEGIN value-header ***/ 1133s # value-header 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-header ***/ 1133s # 1133s # /*** BEGIN value-production ***/ 1133s # value-production 1133s # VALUENAME: @VALUENAME@ 1133s # valuenick: @valuenick@ 1133s # valuenum: @valuenum@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-production ***/ 1133s # 1133s # /*** BEGIN value-tail ***/ 1133s # value-tail 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-tail ***/ 1133s # 1133s # /*** BEGIN comment ***/ 1133s # comment 1133s # comment: @comment@ 1133s # /*** END comment ***/ 1133s # 1133s # /*** BEGIN file-tail ***/ 1133s # file-tail 1133s # /*** END file-tail ***/ 1133s # 1133s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt_6rf1rk/tmpagpkdqhd.template', '/tmp/tmpt_6rf1rk/tmp_g0les45.h'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: comment 1133s # 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. 1133s # 1133s # 1133s # file-header 1133s # file-production 1133s # filename: /tmp/tmpt_6rf1rk/tmp_g0les45.h 1133s # basename: tmp_g0les45.h 1133s # enumeration-production 1133s # EnumName: SomeEnumIdentifier 1133s # enum_name: some_enum_identifier 1133s # ENUMNAME: SOME_ENUM_IDENTIFIER 1133s # ENUMSHORT: ENUM_IDENTIFIER 1133s # ENUMPREFIX: SOME 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-header 1133s # EnumName: SomeEnumIdentifier 1133s # enum_name: some_enum_identifier 1133s # ENUMNAME: SOME_ENUM_IDENTIFIER 1133s # ENUMSHORT: ENUM_IDENTIFIER 1133s # ENUMPREFIX: SOME 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-production 1133s # VALUENAME: ENUM_VALUE 1133s # valuenick: value 1133s # valuenum: 0 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-tail 1133s # EnumName: SomeEnumIdentifier 1133s # enum_name: some_enum_identifier 1133s # ENUMNAME: SOME_ENUM_IDENTIFIER 1133s # ENUMSHORT: ENUM_IDENTIFIER 1133s # ENUMPREFIX: SOME 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # file-tail 1133s # 1133s # comment 1133s # comment: Generated data ends here 1133s ok 8 __main__.TestMkenums.test_enum_private_public 1133s # tmpdir: /tmp/tmp5s21xyrt 1133s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmp5s21xyrt/tmph1kmleme.h: 1133s # typedef enum { 1133s # ENUM_VALUE_PUBLIC1, 1133s # /*< private >*/ 1133s # ENUM_VALUE_PRIVATE, 1133s # } SomeEnumA 1133s # 1133s # /tmp/tmp5s21xyrt/tmpm41h5lg7.template: 1133s # /*** BEGIN file-header ***/ 1133s # file-header 1133s # /*** END file-header ***/ 1133s # 1133s # /*** BEGIN file-production ***/ 1133s # file-production 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-production ***/ 1133s # 1133s # /*** BEGIN enumeration-production ***/ 1133s # enumeration-production 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END enumeration-production ***/ 1133s # 1133s # /*** BEGIN value-header ***/ 1133s # value-header 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-header ***/ 1133s # 1133s # /*** BEGIN value-production ***/ 1133s # value-production 1133s # VALUENAME: @VALUENAME@ 1133s # valuenick: @valuenick@ 1133s # valuenum: @valuenum@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-production ***/ 1133s # 1133s # /*** BEGIN value-tail ***/ 1133s # value-tail 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-tail ***/ 1133s # 1133s # /*** BEGIN comment ***/ 1133s # comment 1133s # comment: @comment@ 1133s # /*** END comment ***/ 1133s # 1133s # /*** BEGIN file-tail ***/ 1133s # file-tail 1133s # /*** END file-tail ***/ 1133s # 1133s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5s21xyrt/tmpm41h5lg7.template', '/tmp/tmp5s21xyrt/tmph1kmleme.h'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: comment 1133s # 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. 1133s # 1133s # 1133s # file-header 1133s # file-production 1133s # filename: /tmp/tmp5s21xyrt/tmph1kmleme.h 1133s # basename: tmph1kmleme.h 1133s # enumeration-production 1133s # EnumName: SomeEnumA 1133s # enum_name: some_enum_a 1133s # ENUMNAME: SOME_ENUM_A 1133s # ENUMSHORT: ENUM_A 1133s # ENUMPREFIX: SOME 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-header 1133s # EnumName: SomeEnumA 1133s # enum_name: some_enum_a 1133s # ENUMNAME: SOME_ENUM_A 1133s # ENUMSHORT: ENUM_A 1133s # ENUMPREFIX: SOME 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-production 1133s # VALUENAME: ENUM_VALUE_PUBLIC1 1133s # valuenick: public1 1133s # valuenum: 0 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-tail 1133s # EnumName: SomeEnumA 1133s # enum_name: some_enum_a 1133s # ENUMNAME: SOME_ENUM_A 1133s # ENUMSHORT: ENUM_A 1133s # ENUMPREFIX: SOME 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # file-tail 1133s # 1133s # comment 1133s # comment: Generated data ends here 1133s # /tmp/tmp5s21xyrt/tmp1jvv0j1l.h: 1133s # typedef enum { 1133s # /*< private >*/ 1133s # ENUM_VALUE_PRIVATE, 1133s # /*< public >*/ 1133s # ENUM_VALUE_PUBLIC2, 1133s # } SomeEnumB; 1133s # 1133s # /tmp/tmp5s21xyrt/tmp8qufe2r3.template: 1133s # /*** BEGIN file-header ***/ 1133s # file-header 1133s # /*** END file-header ***/ 1133s # 1133s # /*** BEGIN file-production ***/ 1133s # file-production 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-production ***/ 1133s # 1133s # /*** BEGIN enumeration-production ***/ 1133s # enumeration-production 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END enumeration-production ***/ 1133s # 1133s # /*** BEGIN value-header ***/ 1133s # value-header 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-header ***/ 1133s # 1133s # /*** BEGIN value-production ***/ 1133s # value-production 1133s # VALUENAME: @VALUENAME@ 1133s # valuenick: @valuenick@ 1133s # valuenum: @valuenum@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-production ***/ 1133s # 1133s # /*** BEGIN value-tail ***/ 1133s # value-tail 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-tail ***/ 1133s # 1133s # /*** BEGIN comment ***/ 1133s # comment 1133s # comment: @comment@ 1133s # /*** END comment ***/ 1133s # 1133s # /*** BEGIN file-tail ***/ 1133s # file-tail 1133s # /*** END file-tail ***/ 1133s # 1133s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5s21xyrt/tmp8qufe2r3.template', '/tmp/tmp5s21xyrt/tmp1jvv0j1l.h'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: comment 1133s # 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. 1133s # 1133s # 1133s # file-header 1133s # file-production 1133s # filename: /tmp/tmp5s21xyrt/tmp1jvv0j1l.h 1133s # basename: tmp1jvv0j1l.h 1133s # enumeration-production 1133s # EnumName: SomeEnumB 1133s # enum_name: some_enum_b 1133s # ENUMNAME: SOME_ENUM_B 1133s # ENUMSHORT: ENUM_B 1133s # ENUMPREFIX: SOME 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-header 1133s # EnumName: SomeEnumB 1133s # enum_name: some_enum_b 1133s # ENUMNAME: SOME_ENUM_B 1133s # ENUMSHORT: ENUM_B 1133s # ENUMPREFIX: SOME 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-production 1133s # VALUENAME: ENUM_VALUE_PUBLIC2 1133s # valuenick: public2 1133s # valuenum: 1 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-tail 1133s # EnumName: SomeEnumB 1133s # enum_name: some_enum_b 1133s # ENUMNAME: SOME_ENUM_B 1133s # ENUMSHORT: ENUM_B 1133s # ENUMPREFIX: SOME 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # file-tail 1133s # 1133s # comment 1133s # comment: Generated data ends here 1133s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1133s # tmpdir: /tmp/tmp4126vfm3 1133s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmp4126vfm3/tmpvba_um5_.h: 1133s # typedef enum { 1133s # /*< private >*/ 1133s # ENUM_VALUE_PRIVATE = 5, 1133s # /*< public >*/ 1133s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1133s # } TestSymbolicEnum; 1133s # 1133s # /tmp/tmp4126vfm3/tmpfj1pdd4w.template: 1133s # /*** BEGIN file-header ***/ 1133s # file-header 1133s # /*** END file-header ***/ 1133s # 1133s # /*** BEGIN file-production ***/ 1133s # file-production 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-production ***/ 1133s # 1133s # /*** BEGIN enumeration-production ***/ 1133s # enumeration-production 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END enumeration-production ***/ 1133s # 1133s # /*** BEGIN value-header ***/ 1133s # value-header 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-header ***/ 1133s # 1133s # /*** BEGIN value-production ***/ 1133s # value-production 1133s # VALUENAME: @VALUENAME@ 1133s # valuenick: @valuenick@ 1133s # valuenum: @valuenum@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-production ***/ 1133s # 1133s # /*** BEGIN value-tail ***/ 1133s # value-tail 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-tail ***/ 1133s # 1133s # /*** BEGIN comment ***/ 1133s # comment 1133s # comment: @comment@ 1133s # /*** END comment ***/ 1133s # 1133s # /*** BEGIN file-tail ***/ 1133s # file-tail 1133s # /*** END file-tail ***/ 1133s # 1133s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4126vfm3/tmpfj1pdd4w.template', '/tmp/tmp4126vfm3/tmpvba_um5_.h'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: comment 1133s # 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. 1133s # 1133s # 1133s # file-header 1133s # file-production 1133s # filename: /tmp/tmp4126vfm3/tmpvba_um5_.h 1133s # basename: tmpvba_um5_.h 1133s # enumeration-production 1133s # EnumName: TestSymbolicEnum 1133s # enum_name: test_symbolic_enum 1133s # ENUMNAME: TEST_SYMBOLIC_ENUM 1133s # ENUMSHORT: SYMBOLIC_ENUM 1133s # ENUMPREFIX: TEST 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-header 1133s # EnumName: TestSymbolicEnum 1133s # enum_name: test_symbolic_enum 1133s # ENUMNAME: TEST_SYMBOLIC_ENUM 1133s # ENUMSHORT: SYMBOLIC_ENUM 1133s # ENUMPREFIX: TEST 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-production 1133s # VALUENAME: ENUM_VALUE_PUBLIC 1133s # valuenick: public 1133s # valuenum: 7 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-tail 1133s # EnumName: TestSymbolicEnum 1133s # enum_name: test_symbolic_enum 1133s # ENUMNAME: TEST_SYMBOLIC_ENUM 1133s # ENUMSHORT: SYMBOLIC_ENUM 1133s # ENUMPREFIX: TEST 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # file-tail 1133s # 1133s # comment 1133s # comment: Generated data ends here 1133s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1133s # tmpdir: /tmp/tmphik9_0do 1133s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmphik9_0do/tmplsqpg5kc.template: 1133s # /*** BEGIN file-header ***/ 1133s # file-header 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-header ***/ 1133s # 1133s # /*** BEGIN comment ***/ 1133s # comment 1133s # comment: @comment@ 1133s # /*** END comment ***/ 1133s # 1133s # /*** BEGIN file-tail ***/ 1133s # file-tail 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-tail ***/ 1133s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphik9_0do/tmplsqpg5kc.template'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: comment 1133s # 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. 1133s # 1133s # 1133s # file-header 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # file-tail 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # 1133s # comment 1133s # comment: Generated data ends here 1133s ok 11 __main__.TestMkenums.test_help 1133s # tmpdir: /tmp/tmpzg_k6h28 1133s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1133s # Running: ['/usr/bin/glib-mkenums', '--help'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1133s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1133s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1133s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1133s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1133s # [--output OUTPUT] [--version] 1133s # [args ...] 1133s # 1133s # positional arguments: 1133s # args One or more input files, or a single argument 1133s # @rspfile_path pointing to a file that contains the 1133s # actual arguments 1133s # 1133s # options: 1133s # -h, --help show this help message and exit 1133s # --identifier-prefix IDPREFIX 1133s # Identifier prefix 1133s # --symbol-prefix SYMPREFIX 1133s # Symbol prefix 1133s # --fhead FHEAD Output file header 1133s # --ftail FTAIL Output file footer 1133s # --fprod FPROD Put out TEXT every time a new input file is being 1133s # processed. 1133s # --eprod EPROD Per enum text, produced prior to value iterations 1133s # --vhead VHEAD Value header, produced before iterating over enum 1133s # values 1133s # --vprod VPROD Value text, produced for each enum value. 1133s # --vtail VTAIL Value tail, produced after iterating over enum values 1133s # --comments COMMENT_TMPL 1133s # Comment structure 1133s # --template TEMPLATE Template file 1133s # --output OUTPUT 1133s # --version, -v Print version information 1133s # 1133s # Production text substitutions: 1133s # @EnumName@ PrefixTheXEnum 1133s # @enum_name@ prefix_the_xenum 1133s # @ENUMNAME@ PREFIX_THE_XENUM 1133s # @ENUMSHORT@ THE_XENUM 1133s # @ENUMPREFIX@ PREFIX 1133s # @enumsince@ the user-provided since value given 1133s # @VALUENAME@ PREFIX_THE_XVALUE 1133s # @valuenick@ the-xvalue 1133s # @valuenum@ the integer value (limited support, Since: 2.26) 1133s # @type@ either enum or flags 1133s # @Type@ either Enum or Flags 1133s # @TYPE@ either ENUM or FLAGS 1133s # @filename@ name of current input file 1133s # @basename@ base name of the current input file (Since: 2.22) 1133s ok 12 __main__.TestMkenums.test_no_args 1133s # tmpdir: /tmp/tmptdr6582b 1133s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1133s # Running: ['/usr/bin/glib-mkenums'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # 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. */ 1133s # 1133s # 1133s # /* Generated data ends here */ 1133s ok 13 __main__.TestMkenums.test_no_headers 1133s # tmpdir: /tmp/tmpg06ej9iu 1133s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmpg06ej9iu/tmpg43mxo0d.template: 1133s # /*** BEGIN file-header ***/ 1133s # file-header 1133s # /*** END file-header ***/ 1133s # 1133s # /*** BEGIN file-production ***/ 1133s # file-production 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-production ***/ 1133s # 1133s # /*** BEGIN enumeration-production ***/ 1133s # enumeration-production 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END enumeration-production ***/ 1133s # 1133s # /*** BEGIN value-header ***/ 1133s # value-header 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-header ***/ 1133s # 1133s # /*** BEGIN value-production ***/ 1133s # value-production 1133s # VALUENAME: @VALUENAME@ 1133s # valuenick: @valuenick@ 1133s # valuenum: @valuenum@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-production ***/ 1133s # 1133s # /*** BEGIN value-tail ***/ 1133s # value-tail 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-tail ***/ 1133s # 1133s # /*** BEGIN comment ***/ 1133s # comment 1133s # comment: @comment@ 1133s # /*** END comment ***/ 1133s # 1133s # /*** BEGIN file-tail ***/ 1133s # file-tail 1133s # /*** END file-tail ***/ 1133s # 1133s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpg06ej9iu/tmpg43mxo0d.template'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: comment 1133s # 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. 1133s # 1133s # 1133s # file-header 1133s # file-tail 1133s # 1133s # comment 1133s # comment: Generated data ends here 1133s ok 14 __main__.TestMkenums.test_no_nick 1133s # tmpdir: /tmp/tmpovajkjn2 1133s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmpovajkjn2/tmprlxha9bx.h: 1133s # typedef enum { 1133s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1133s # } GeglSamplerType; 1133s # 1133s # /tmp/tmpovajkjn2/tmp349q4aeu.template: 1133s # /*** BEGIN file-header ***/ 1133s # file-header 1133s # /*** END file-header ***/ 1133s # 1133s # /*** BEGIN file-production ***/ 1133s # file-production 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-production ***/ 1133s # 1133s # /*** BEGIN enumeration-production ***/ 1133s # enumeration-production 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END enumeration-production ***/ 1133s # 1133s # /*** BEGIN value-header ***/ 1133s # value-header 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-header ***/ 1133s # 1133s # /*** BEGIN value-production ***/ 1133s # value-production 1133s # VALUENAME: @VALUENAME@ 1133s # valuenick: @valuenick@ 1133s # valuenum: @valuenum@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-production ***/ 1133s # 1133s # /*** BEGIN value-tail ***/ 1133s # value-tail 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-tail ***/ 1133s # 1133s # /*** BEGIN comment ***/ 1133s # comment 1133s # comment: @comment@ 1133s # /*** END comment ***/ 1133s # 1133s # /*** BEGIN file-tail ***/ 1133s # file-tail 1133s # /*** END file-tail ***/ 1133s # 1133s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpovajkjn2/tmp349q4aeu.template', '/tmp/tmpovajkjn2/tmprlxha9bx.h'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: comment 1133s # 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. 1133s # 1133s # 1133s # file-header 1133s # file-production 1133s # filename: /tmp/tmpovajkjn2/tmprlxha9bx.h 1133s # basename: tmprlxha9bx.h 1133s # enumeration-production 1133s # EnumName: GeglSamplerType 1133s # enum_name: gegl_sampler_type 1133s # ENUMNAME: GEGL_SAMPLER_TYPE 1133s # ENUMSHORT: SAMPLER_TYPE 1133s # ENUMPREFIX: GEGL 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-header 1133s # EnumName: GeglSamplerType 1133s # enum_name: gegl_sampler_type 1133s # ENUMNAME: GEGL_SAMPLER_TYPE 1133s # ENUMSHORT: SAMPLER_TYPE 1133s # ENUMPREFIX: GEGL 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-production 1133s # VALUENAME: GEGL_SAMPLER_NEAREST 1133s # valuenick: nearest 1133s # valuenum: 0 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-tail 1133s # EnumName: GeglSamplerType 1133s # enum_name: gegl_sampler_type 1133s # ENUMNAME: GEGL_SAMPLER_TYPE 1133s # ENUMSHORT: SAMPLER_TYPE 1133s # ENUMPREFIX: GEGL 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # file-tail 1133s # 1133s # comment 1133s # comment: Generated data ends here 1133s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1133s # tmpdir: /tmp/tmpgggz1imd 1133s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmpgggz1imd/tmpwzbefjfx.h: 1133s # /* Copyright © La Peña */ 1133s # typedef enum { 1133s # ENUM_VALUE 1133s # } SomeEnumIdentifier; 1133s # 1133s # /tmp/tmpgggz1imd/tmp3p7kkf1f.template: 1133s # /*** BEGIN file-header ***/ 1133s # file-header 1133s # /*** END file-header ***/ 1133s # 1133s # /*** BEGIN file-production ***/ 1133s # file-production 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-production ***/ 1133s # 1133s # /*** BEGIN enumeration-production ***/ 1133s # enumeration-production 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END enumeration-production ***/ 1133s # 1133s # /*** BEGIN value-header ***/ 1133s # value-header 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-header ***/ 1133s # 1133s # /*** BEGIN value-production ***/ 1133s # value-production 1133s # VALUENAME: @VALUENAME@ 1133s # valuenick: @valuenick@ 1133s # valuenum: @valuenum@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-production ***/ 1133s # 1133s # /*** BEGIN value-tail ***/ 1133s # value-tail 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-tail ***/ 1133s # 1133s # /*** BEGIN comment ***/ 1133s # comment 1133s # comment: @comment@ 1133s # /*** END comment ***/ 1133s # 1133s # /*** BEGIN file-tail ***/ 1133s # file-tail 1133s # /*** END file-tail ***/ 1133s # 1133s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgggz1imd/tmp3p7kkf1f.template', '/tmp/tmpgggz1imd/tmpwzbefjfx.h'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: comment 1133s # 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. 1133s # 1133s # 1133s # file-header 1133s # file-production 1133s # filename: /tmp/tmpgggz1imd/tmpwzbefjfx.h 1133s # basename: tmpwzbefjfx.h 1133s # enumeration-production 1133s # EnumName: SomeEnumIdentifier 1133s # enum_name: some_enum_identifier 1133s # ENUMNAME: SOME_ENUM_IDENTIFIER 1133s # ENUMSHORT: ENUM_IDENTIFIER 1133s # ENUMPREFIX: SOME 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-header 1133s # EnumName: SomeEnumIdentifier 1133s # enum_name: some_enum_identifier 1133s # ENUMNAME: SOME_ENUM_IDENTIFIER 1133s # ENUMSHORT: ENUM_IDENTIFIER 1133s # ENUMPREFIX: SOME 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-production 1133s # VALUENAME: ENUM_VALUE 1133s # valuenick: value 1133s # valuenum: 0 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-tail 1133s # EnumName: SomeEnumIdentifier 1133s # enum_name: some_enum_identifier 1133s # ENUMNAME: SOME_ENUM_IDENTIFIER 1133s # ENUMSHORT: ENUM_IDENTIFIER 1133s # ENUMPREFIX: SOME 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # file-tail 1133s # 1133s # comment 1133s # comment: Generated data ends here 1133s ok 16 __main__.TestMkenums.test_reproducible 1133s # tmpdir: /tmp/tmpx344a511 1133s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmpx344a511/tmp549xjb91.template: template 1133s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpx344a511/tmp549xjb91.template', '/tmp/tmpx344a511/tmpiyo6xb2q1.h', '/tmp/tmpx344a511/tmpvefjdpw42.h'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # 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. */ 1133s # 1133s # 1133s # /* Generated data ends here */ 1133s # /tmp/tmpx344a511/tmptkvfdras.template: template 1133s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpx344a511/tmptkvfdras.template', '/tmp/tmpx344a511/tmpvefjdpw42.h', '/tmp/tmpx344a511/tmpiyo6xb2q1.h'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # 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. */ 1133s # 1133s # 1133s # /* Generated data ends here */ 1133s ok 17 __main__.TestMkenums.test_since 1133s # tmpdir: /tmp/tmp6mis_88v 1133s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmp6mis_88v/tmpwys1pfyy.h: 1133s # typedef enum { /*< since=1.0 >*/ 1133s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1133s # } QmiWmsMessageProtocol; 1133s # 1133s # /tmp/tmp6mis_88v/tmpd9newfas.template: 1133s # /*** BEGIN file-header ***/ 1133s # file-header 1133s # /*** END file-header ***/ 1133s # 1133s # /*** BEGIN file-production ***/ 1133s # file-production 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-production ***/ 1133s # 1133s # /*** BEGIN enumeration-production ***/ 1133s # enumeration-production 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END enumeration-production ***/ 1133s # 1133s # /*** BEGIN value-header ***/ 1133s # value-header 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-header ***/ 1133s # 1133s # /*** BEGIN value-production ***/ 1133s # value-production 1133s # VALUENAME: @VALUENAME@ 1133s # valuenick: @valuenick@ 1133s # valuenum: @valuenum@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-production ***/ 1133s # 1133s # /*** BEGIN value-tail ***/ 1133s # value-tail 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-tail ***/ 1133s # 1133s # /*** BEGIN comment ***/ 1133s # comment 1133s # comment: @comment@ 1133s # /*** END comment ***/ 1133s # 1133s # /*** BEGIN file-tail ***/ 1133s # file-tail 1133s # /*** END file-tail ***/ 1133s # 1133s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6mis_88v/tmpd9newfas.template', '/tmp/tmp6mis_88v/tmpwys1pfyy.h'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: comment 1133s # 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. 1133s # 1133s # 1133s # file-header 1133s # file-production 1133s # filename: /tmp/tmp6mis_88v/tmpwys1pfyy.h 1133s # basename: tmpwys1pfyy.h 1133s # enumeration-production 1133s # EnumName: QmiWmsMessageProtocol 1133s # enum_name: qmi_wms_message_protocol 1133s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1133s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1133s # ENUMPREFIX: QMI 1133s # enumsince: 1.0 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-header 1133s # EnumName: QmiWmsMessageProtocol 1133s # enum_name: qmi_wms_message_protocol 1133s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1133s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1133s # ENUMPREFIX: QMI 1133s # enumsince: 1.0 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-production 1133s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1133s # valuenick: cdma 1133s # valuenum: 0 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-tail 1133s # EnumName: QmiWmsMessageProtocol 1133s # enum_name: qmi_wms_message_protocol 1133s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1133s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1133s # ENUMPREFIX: QMI 1133s # enumsince: 1.0 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # file-tail 1133s # 1133s # comment 1133s # comment: Generated data ends here 1133s ok 18 __main__.TestMkenums.test_with_double_quotes 1133s # tmpdir: /tmp/tmpeopofaeh 1133s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmpeopofaeh/tmps6203fay.h: 1133s # typedef enum { 1133s # FOO_VALUE /*< nick="eek, a comma" >*/ 1133s # } Foo; 1133s # 1133s # /tmp/tmpeopofaeh/tmpdkfvdyz7.template: 1133s # /*** BEGIN file-header ***/ 1133s # file-header 1133s # /*** END file-header ***/ 1133s # 1133s # /*** BEGIN file-production ***/ 1133s # file-production 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-production ***/ 1133s # 1133s # /*** BEGIN enumeration-production ***/ 1133s # enumeration-production 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END enumeration-production ***/ 1133s # 1133s # /*** BEGIN value-header ***/ 1133s # value-header 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-header ***/ 1133s # 1133s # /*** BEGIN value-production ***/ 1133s # value-production 1133s # VALUENAME: @VALUENAME@ 1133s # valuenick: @valuenick@ 1133s # valuenum: @valuenum@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-production ***/ 1133s # 1133s # /*** BEGIN value-tail ***/ 1133s # value-tail 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-tail ***/ 1133s # 1133s # /*** BEGIN comment ***/ 1133s # comment 1133s # comment: @comment@ 1133s # /*** END comment ***/ 1133s # 1133s # /*** BEGIN file-tail ***/ 1133s # file-tail 1133s # /*** END file-tail ***/ 1133s # 1133s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpeopofaeh/tmpdkfvdyz7.template', '/tmp/tmpeopofaeh/tmps6203fay.h'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: comment 1133s # 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. 1133s # 1133s # 1133s # file-header 1133s # file-production 1133s # filename: /tmp/tmpeopofaeh/tmps6203fay.h 1133s # basename: tmps6203fay.h 1133s # enumeration-production 1133s # EnumName: Foo 1133s # enum_name: foo_ 1133s # ENUMNAME: FOO_ 1133s # ENUMSHORT: 1133s # ENUMPREFIX: FOO 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-header 1133s # EnumName: Foo 1133s # enum_name: foo_ 1133s # ENUMNAME: FOO_ 1133s # ENUMSHORT: 1133s # ENUMPREFIX: FOO 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-production 1133s # VALUENAME: FOO_VALUE 1133s # valuenick: eek, a comma 1133s # valuenum: 0 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-tail 1133s # EnumName: Foo 1133s # enum_name: foo_ 1133s # ENUMNAME: FOO_ 1133s # ENUMSHORT: 1133s # ENUMPREFIX: FOO 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # file-tail 1133s # 1133s # comment 1133s # comment: Generated data ends here 1133s ok 19 __main__.TestRspMkenums.test_available_in 1133s # tmpdir: /tmp/tmprrghifwb 1133s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmprrghifwb/tmpc_j5pm64.h: 1133s # typedef enum { 1133s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1133s # } GDBusServerFlags; 1133s # 1133s # /tmp/tmprrghifwb/tmpohxl_14x.template: 1133s # /*** BEGIN file-header ***/ 1133s # file-header 1133s # /*** END file-header ***/ 1133s # 1133s # /*** BEGIN file-production ***/ 1133s # file-production 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-production ***/ 1133s # 1133s # /*** BEGIN enumeration-production ***/ 1133s # enumeration-production 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END enumeration-production ***/ 1133s # 1133s # /*** BEGIN value-header ***/ 1133s # value-header 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-header ***/ 1133s # 1133s # /*** BEGIN value-production ***/ 1133s # value-production 1133s # VALUENAME: @VALUENAME@ 1133s # valuenick: @valuenick@ 1133s # valuenum: @valuenum@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-production ***/ 1133s # 1133s # /*** BEGIN value-tail ***/ 1133s # value-tail 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-tail ***/ 1133s # 1133s # /*** BEGIN comment ***/ 1133s # comment 1133s # comment: @comment@ 1133s # /*** END comment ***/ 1133s # 1133s # /*** BEGIN file-tail ***/ 1133s # file-tail 1133s # /*** END file-tail ***/ 1133s # 1133s # Response file contains: --template /tmp/tmprrghifwb/tmpohxl_14x.template /tmp/tmprrghifwb/tmpc_j5pm64.h 1133s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprrghifwb/tmpa37fem5i'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: comment 1133s # 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. 1133s # 1133s # 1133s # file-header 1133s # file-production 1133s # filename: /tmp/tmprrghifwb/tmpc_j5pm64.h 1133s # basename: tmpc_j5pm64.h 1133s # enumeration-production 1133s # EnumName: GDBusServerFlags 1133s # enum_name: g_dbus_server_flags 1133s # ENUMNAME: G_DBUS_SERVER_FLAGS 1133s # ENUMSHORT: DBUS_SERVER_FLAGS 1133s # ENUMPREFIX: G 1133s # enumsince: 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # value-header 1133s # EnumName: GDBusServerFlags 1133s # enum_name: g_dbus_server_flags 1133s # ENUMNAME: G_DBUS_SERVER_FLAGS 1133s # ENUMSHORT: DBUS_SERVER_FLAGS 1133s # ENUMPREFIX: G 1133s # enumsince: 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # value-production 1133s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1133s # valuenick: user 1133s # valuenum: 4 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # value-tail 1133s # EnumName: GDBusServerFlags 1133s # enum_name: g_dbus_server_flags 1133s # ENUMNAME: G_DBUS_SERVER_FLAGS 1133s # ENUMSHORT: DBUS_SERVER_FLAGS 1133s # ENUMPREFIX: G 1133s # enumsince: 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # file-tail 1133s # 1133s # comment 1133s # comment: Generated data ends here 1133s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1133s # tmpdir: /tmp/tmphyg6gce1 1133s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmphyg6gce1/tmpm3vzwad4.h: 1133s # typedef enum { 1133s # ENUM_VALUE_WITH_COMMA = ',', 1133s # } TestCommaEnum; 1133s # 1133s # /tmp/tmphyg6gce1/tmpu8404mvw.template: 1133s # /*** BEGIN file-header ***/ 1133s # file-header 1133s # /*** END file-header ***/ 1133s # 1133s # /*** BEGIN file-production ***/ 1133s # file-production 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-production ***/ 1133s # 1133s # /*** BEGIN enumeration-production ***/ 1133s # enumeration-production 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END enumeration-production ***/ 1133s # 1133s # /*** BEGIN value-header ***/ 1133s # value-header 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-header ***/ 1133s # 1133s # /*** BEGIN value-production ***/ 1133s # value-production 1133s # VALUENAME: @VALUENAME@ 1133s # valuenick: @valuenick@ 1133s # valuenum: @valuenum@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-production ***/ 1133s # 1133s # /*** BEGIN value-tail ***/ 1133s # value-tail 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-tail ***/ 1133s # 1133s # /*** BEGIN comment ***/ 1133s # comment 1133s # comment: @comment@ 1133s # /*** END comment ***/ 1133s # 1133s # /*** BEGIN file-tail ***/ 1133s # file-tail 1133s # /*** END file-tail ***/ 1133s # 1133s # Response file contains: --template /tmp/tmphyg6gce1/tmpu8404mvw.template /tmp/tmphyg6gce1/tmpm3vzwad4.h 1133s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphyg6gce1/tmp8_xu3q0z'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: comment 1133s # 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. 1133s # 1133s # 1133s # file-header 1133s # file-production 1133s # filename: /tmp/tmphyg6gce1/tmpm3vzwad4.h 1133s # basename: tmpm3vzwad4.h 1133s # enumeration-production 1133s # EnumName: TestCommaEnum 1133s # enum_name: test_comma_enum 1133s # ENUMNAME: TEST_COMMA_ENUM 1133s # ENUMSHORT: COMMA_ENUM 1133s # ENUMPREFIX: TEST 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-header 1133s # EnumName: TestCommaEnum 1133s # enum_name: test_comma_enum 1133s # ENUMNAME: TEST_COMMA_ENUM 1133s # ENUMSHORT: COMMA_ENUM 1133s # ENUMPREFIX: TEST 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-production 1133s # VALUENAME: ENUM_VALUE_WITH_COMMA 1133s # valuenick: comma 1133s # valuenum: 44 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # value-tail 1133s # EnumName: TestCommaEnum 1133s # enum_name: test_comma_enum 1133s # ENUMNAME: TEST_COMMA_ENUM 1133s # ENUMSHORT: COMMA_ENUM 1133s # ENUMPREFIX: TEST 1133s # enumsince: 1133s # type: enum 1133s # Type: Enum 1133s # TYPE: ENUM 1133s # file-tail 1133s # 1133s # comment 1133s # comment: Generated data ends here 1133s ok 21 __main__.TestRspMkenums.test_deprecated_in 1133s # tmpdir: /tmp/tmp63_g5mfl 1133s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmp63_g5mfl/tmpud6l4jjm.h: 1133s # typedef enum { 1133s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1133s # } GDBusServerFlags; 1133s # 1133s # /tmp/tmp63_g5mfl/tmppw851sb5.template: 1133s # /*** BEGIN file-header ***/ 1133s # file-header 1133s # /*** END file-header ***/ 1133s # 1133s # /*** BEGIN file-production ***/ 1133s # file-production 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-production ***/ 1133s # 1133s # /*** BEGIN enumeration-production ***/ 1133s # enumeration-production 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END enumeration-production ***/ 1133s # 1133s # /*** BEGIN value-header ***/ 1133s # value-header 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-header ***/ 1133s # 1133s # /*** BEGIN value-production ***/ 1133s # value-production 1133s # VALUENAME: @VALUENAME@ 1133s # valuenick: @valuenick@ 1133s # valuenum: @valuenum@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-production ***/ 1133s # 1133s # /*** BEGIN value-tail ***/ 1133s # value-tail 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-tail ***/ 1133s # 1133s # /*** BEGIN comment ***/ 1133s # comment 1133s # comment: @comment@ 1133s # /*** END comment ***/ 1133s # 1133s # /*** BEGIN file-tail ***/ 1133s # file-tail 1133s # /*** END file-tail ***/ 1133s # 1133s # Response file contains: --template /tmp/tmp63_g5mfl/tmppw851sb5.template /tmp/tmp63_g5mfl/tmpud6l4jjm.h 1133s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp63_g5mfl/tmpe_zmdp26'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: comment 1133s # 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. 1133s # 1133s # 1133s # file-header 1133s # file-production 1133s # filename: /tmp/tmp63_g5mfl/tmpud6l4jjm.h 1133s # basename: tmpud6l4jjm.h 1133s # enumeration-production 1133s # EnumName: GDBusServerFlags 1133s # enum_name: g_dbus_server_flags 1133s # ENUMNAME: G_DBUS_SERVER_FLAGS 1133s # ENUMSHORT: DBUS_SERVER_FLAGS 1133s # ENUMPREFIX: G 1133s # enumsince: 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # value-header 1133s # EnumName: GDBusServerFlags 1133s # enum_name: g_dbus_server_flags 1133s # ENUMNAME: G_DBUS_SERVER_FLAGS 1133s # ENUMSHORT: DBUS_SERVER_FLAGS 1133s # ENUMPREFIX: G 1133s # enumsince: 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # value-production 1133s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1133s # valuenick: user 1133s # valuenum: 4 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # value-tail 1133s # EnumName: GDBusServerFlags 1133s # enum_name: g_dbus_server_flags 1133s # ENUMNAME: G_DBUS_SERVER_FLAGS 1133s # ENUMSHORT: DBUS_SERVER_FLAGS 1133s # ENUMPREFIX: G 1133s # enumsince: 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # file-tail 1133s # 1133s # comment 1133s # comment: Generated data ends here 1133s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1133s # tmpdir: /tmp/tmpyp_39u7a 1133s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmpyp_39u7a/tmpc0h86van.h: 1133s # typedef enum { 1133s # 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) 1133s # } GDBusServerFlags; 1133s # 1133s # /tmp/tmpyp_39u7a/tmp2f7q5rgv.template: 1133s # /*** BEGIN file-header ***/ 1133s # file-header 1133s # /*** END file-header ***/ 1133s # 1133s # /*** BEGIN file-production ***/ 1133s # file-production 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-production ***/ 1133s # 1133s # /*** BEGIN enumeration-production ***/ 1133s # enumeration-production 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END enumeration-production ***/ 1133s # 1133s # /*** BEGIN value-header ***/ 1133s # value-header 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-header ***/ 1133s # 1133s # /*** BEGIN value-production ***/ 1133s # value-production 1133s # VALUENAME: @VALUENAME@ 1133s # valuenick: @valuenick@ 1133s # valuenum: @valuenum@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-production ***/ 1133s # 1133s # /*** BEGIN value-tail ***/ 1133s # value-tail 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-tail ***/ 1133s # 1133s # /*** BEGIN comment ***/ 1133s # comment 1133s # comment: @comment@ 1133s # /*** END comment ***/ 1133s # 1133s # /*** BEGIN file-tail ***/ 1133s # file-tail 1133s # /*** END file-tail ***/ 1133s # 1133s # Response file contains: --template /tmp/tmpyp_39u7a/tmp2f7q5rgv.template /tmp/tmpyp_39u7a/tmpc0h86van.h 1133s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpyp_39u7a/tmpvgjo8cb5'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: comment 1133s # 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. 1133s # 1133s # 1133s # file-header 1133s # file-production 1133s # filename: /tmp/tmpyp_39u7a/tmpc0h86van.h 1133s # basename: tmpc0h86van.h 1133s # enumeration-production 1133s # EnumName: GDBusServerFlags 1133s # enum_name: g_dbus_server_flags 1133s # ENUMNAME: G_DBUS_SERVER_FLAGS 1133s # ENUMSHORT: DBUS_SERVER_FLAGS 1133s # ENUMPREFIX: G 1133s # enumsince: 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # value-header 1133s # EnumName: GDBusServerFlags 1133s # enum_name: g_dbus_server_flags 1133s # ENUMNAME: G_DBUS_SERVER_FLAGS 1133s # ENUMSHORT: DBUS_SERVER_FLAGS 1133s # ENUMPREFIX: G 1133s # enumsince: 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # value-production 1133s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1133s # valuenick: user 1133s # valuenum: 4 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # value-tail 1133s # EnumName: GDBusServerFlags 1133s # enum_name: g_dbus_server_flags 1133s # ENUMNAME: G_DBUS_SERVER_FLAGS 1133s # ENUMSHORT: DBUS_SERVER_FLAGS 1133s # ENUMPREFIX: G 1133s # enumsince: 1133s # type: flags 1133s # Type: Flags 1133s # TYPE: FLAGS 1133s # file-tail 1133s # 1133s # comment 1133s # comment: Generated data ends here 1133s ok 23 __main__.TestRspMkenums.test_empty_header 1133s # tmpdir: /tmp/tmp0gxnri0u 1133s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmp0gxnri0u/tmpxul9m65a.h: 1133s # /tmp/tmp0gxnri0u/tmpkggk70nd.template: 1133s # /*** BEGIN file-header ***/ 1133s # file-header 1133s # /*** END file-header ***/ 1133s # 1133s # /*** BEGIN file-production ***/ 1133s # file-production 1133s # filename: @filename@ 1133s # basename: @basename@ 1133s # /*** END file-production ***/ 1133s # 1133s # /*** BEGIN enumeration-production ***/ 1133s # enumeration-production 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END enumeration-production ***/ 1133s # 1133s # /*** BEGIN value-header ***/ 1133s # value-header 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-header ***/ 1133s # 1133s # /*** BEGIN value-production ***/ 1133s # value-production 1133s # VALUENAME: @VALUENAME@ 1133s # valuenick: @valuenick@ 1133s # valuenum: @valuenum@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-production ***/ 1133s # 1133s # /*** BEGIN value-tail ***/ 1133s # value-tail 1133s # EnumName: @EnumName@ 1133s # enum_name: @enum_name@ 1133s # ENUMNAME: @ENUMNAME@ 1133s # ENUMSHORT: @ENUMSHORT@ 1133s # ENUMPREFIX: @ENUMPREFIX@ 1133s # enumsince: @enumsince@ 1133s # type: @type@ 1133s # Type: @Type@ 1133s # TYPE: @TYPE@ 1133s # /*** END value-tail ***/ 1133s # 1133s # /*** BEGIN comment ***/ 1133s # comment 1133s # comment: @comment@ 1133s # /*** END comment ***/ 1133s # 1133s # /*** BEGIN file-tail ***/ 1133s # file-tail 1133s # /*** END file-tail ***/ 1133s # 1133s # Response file contains: --template /tmp/tmp0gxnri0u/tmpkggk70nd.template /tmp/tmp0gxnri0u/tmpxul9m65a.h 1133s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0gxnri0u/tmpsbyv6__m'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # Output: comment 1133s # 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. 1133s # 1133s # 1133s # file-header 1133s # file-tail 1133s # 1133s # comment 1133s # comment: Generated data ends here 1133s ok 24 __main__.TestRspMkenums.test_empty_template 1133s # tmpdir: /tmp/tmpp0ih7jaz 1133s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1133s # /tmp/tmpp0ih7jaz/tmpnmb49qu3.template: 1133s # Response file contains: --template /tmp/tmpp0ih7jaz/tmpnmb49qu3.template 1133s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpp0ih7jaz/tmp6g_3sre9'] 1133s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1133s # 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. */ 1133s # 1133s # 1133s # /* Generated data ends here */ 1134s ok 25 __main__.TestRspMkenums.test_enum_name 1134s # tmpdir: /tmp/tmpsh4tvzh2 1134s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1134s # /tmp/tmpsh4tvzh2/tmpob2lo6mg.h: 1134s # typedef enum _SomeEnumIdentifier { 1134s # ENUM_VALUE 1134s # } SomeEnumIdentifier; 1134s # 1134s # /tmp/tmpsh4tvzh2/tmpk7g51672.template: 1134s # /*** BEGIN file-header ***/ 1134s # file-header 1134s # /*** END file-header ***/ 1134s # 1134s # /*** BEGIN file-production ***/ 1134s # file-production 1134s # filename: @filename@ 1134s # basename: @basename@ 1134s # /*** END file-production ***/ 1134s # 1134s # /*** BEGIN enumeration-production ***/ 1134s # enumeration-production 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END enumeration-production ***/ 1134s # 1134s # /*** BEGIN value-header ***/ 1134s # value-header 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-header ***/ 1134s # 1134s # /*** BEGIN value-production ***/ 1134s # value-production 1134s # VALUENAME: @VALUENAME@ 1134s # valuenick: @valuenick@ 1134s # valuenum: @valuenum@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-production ***/ 1134s # 1134s # /*** BEGIN value-tail ***/ 1134s # value-tail 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-tail ***/ 1134s # 1134s # /*** BEGIN comment ***/ 1134s # comment 1134s # comment: @comment@ 1134s # /*** END comment ***/ 1134s # 1134s # /*** BEGIN file-tail ***/ 1134s # file-tail 1134s # /*** END file-tail ***/ 1134s # 1134s # Response file contains: --template /tmp/tmpsh4tvzh2/tmpk7g51672.template /tmp/tmpsh4tvzh2/tmpob2lo6mg.h 1134s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsh4tvzh2/tmp1tya7ykn'] 1134s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1134s # Output: comment 1134s # 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. 1134s # 1134s # 1134s # file-header 1134s # file-production 1134s # filename: /tmp/tmpsh4tvzh2/tmpob2lo6mg.h 1134s # basename: tmpob2lo6mg.h 1134s # enumeration-production 1134s # EnumName: SomeEnumIdentifier 1134s # enum_name: some_enum_identifier 1134s # ENUMNAME: SOME_ENUM_IDENTIFIER 1134s # ENUMSHORT: ENUM_IDENTIFIER 1134s # ENUMPREFIX: SOME 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-header 1134s # EnumName: SomeEnumIdentifier 1134s # enum_name: some_enum_identifier 1134s # ENUMNAME: SOME_ENUM_IDENTIFIER 1134s # ENUMSHORT: ENUM_IDENTIFIER 1134s # ENUMPREFIX: SOME 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-production 1134s # VALUENAME: ENUM_VALUE 1134s # valuenick: value 1134s # valuenum: 0 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-tail 1134s # EnumName: SomeEnumIdentifier 1134s # enum_name: some_enum_identifier 1134s # ENUMNAME: SOME_ENUM_IDENTIFIER 1134s # ENUMSHORT: ENUM_IDENTIFIER 1134s # ENUMPREFIX: SOME 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # file-tail 1134s # 1134s # comment 1134s # comment: Generated data ends here 1134s ok 26 __main__.TestRspMkenums.test_enum_private_public 1134s # tmpdir: /tmp/tmptipsz4bw 1134s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1134s # /tmp/tmptipsz4bw/tmpox0yl9qx.h: 1134s # typedef enum { 1134s # ENUM_VALUE_PUBLIC1, 1134s # /*< private >*/ 1134s # ENUM_VALUE_PRIVATE, 1134s # } SomeEnumA 1134s # 1134s # /tmp/tmptipsz4bw/tmph4xm46s5.template: 1134s # /*** BEGIN file-header ***/ 1134s # file-header 1134s # /*** END file-header ***/ 1134s # 1134s # /*** BEGIN file-production ***/ 1134s # file-production 1134s # filename: @filename@ 1134s # basename: @basename@ 1134s # /*** END file-production ***/ 1134s # 1134s # /*** BEGIN enumeration-production ***/ 1134s # enumeration-production 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END enumeration-production ***/ 1134s # 1134s # /*** BEGIN value-header ***/ 1134s # value-header 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-header ***/ 1134s # 1134s # /*** BEGIN value-production ***/ 1134s # value-production 1134s # VALUENAME: @VALUENAME@ 1134s # valuenick: @valuenick@ 1134s # valuenum: @valuenum@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-production ***/ 1134s # 1134s # /*** BEGIN value-tail ***/ 1134s # value-tail 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-tail ***/ 1134s # 1134s # /*** BEGIN comment ***/ 1134s # comment 1134s # comment: @comment@ 1134s # /*** END comment ***/ 1134s # 1134s # /*** BEGIN file-tail ***/ 1134s # file-tail 1134s # /*** END file-tail ***/ 1134s # 1134s # Response file contains: --template /tmp/tmptipsz4bw/tmph4xm46s5.template /tmp/tmptipsz4bw/tmpox0yl9qx.h 1134s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmptipsz4bw/tmpw8biw2wj'] 1134s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1134s # Output: comment 1134s # 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. 1134s # 1134s # 1134s # file-header 1134s # file-production 1134s # filename: /tmp/tmptipsz4bw/tmpox0yl9qx.h 1134s # basename: tmpox0yl9qx.h 1134s # enumeration-production 1134s # EnumName: SomeEnumA 1134s # enum_name: some_enum_a 1134s # ENUMNAME: SOME_ENUM_A 1134s # ENUMSHORT: ENUM_A 1134s # ENUMPREFIX: SOME 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-header 1134s # EnumName: SomeEnumA 1134s # enum_name: some_enum_a 1134s # ENUMNAME: SOME_ENUM_A 1134s # ENUMSHORT: ENUM_A 1134s # ENUMPREFIX: SOME 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-production 1134s # VALUENAME: ENUM_VALUE_PUBLIC1 1134s # valuenick: public1 1134s # valuenum: 0 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-tail 1134s # EnumName: SomeEnumA 1134s # enum_name: some_enum_a 1134s # ENUMNAME: SOME_ENUM_A 1134s # ENUMSHORT: ENUM_A 1134s # ENUMPREFIX: SOME 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # file-tail 1134s # 1134s # comment 1134s # comment: Generated data ends here 1134s # /tmp/tmptipsz4bw/tmpjq21uecc.h: 1134s # typedef enum { 1134s # /*< private >*/ 1134s # ENUM_VALUE_PRIVATE, 1134s # /*< public >*/ 1134s # ENUM_VALUE_PUBLIC2, 1134s # } SomeEnumB; 1134s # 1134s # /tmp/tmptipsz4bw/tmpjwj8ccr4.template: 1134s # /*** BEGIN file-header ***/ 1134s # file-header 1134s # /*** END file-header ***/ 1134s # 1134s # /*** BEGIN file-production ***/ 1134s # file-production 1134s # filename: @filename@ 1134s # basename: @basename@ 1134s # /*** END file-production ***/ 1134s # 1134s # /*** BEGIN enumeration-production ***/ 1134s # enumeration-production 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END enumeration-production ***/ 1134s # 1134s # /*** BEGIN value-header ***/ 1134s # value-header 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-header ***/ 1134s # 1134s # /*** BEGIN value-production ***/ 1134s # value-production 1134s # VALUENAME: @VALUENAME@ 1134s # valuenick: @valuenick@ 1134s # valuenum: @valuenum@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-production ***/ 1134s # 1134s # /*** BEGIN value-tail ***/ 1134s # value-tail 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-tail ***/ 1134s # 1134s # /*** BEGIN comment ***/ 1134s # comment 1134s # comment: @comment@ 1134s # /*** END comment ***/ 1134s # 1134s # /*** BEGIN file-tail ***/ 1134s # file-tail 1134s # /*** END file-tail ***/ 1134s # 1134s # Response file contains: --template /tmp/tmptipsz4bw/tmpjwj8ccr4.template /tmp/tmptipsz4bw/tmpjq21uecc.h 1134s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmptipsz4bw/tmp2xu183rp'] 1134s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1134s # Output: comment 1134s # 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. 1134s # 1134s # 1134s # file-header 1134s # file-production 1134s # filename: /tmp/tmptipsz4bw/tmpjq21uecc.h 1134s # basename: tmpjq21uecc.h 1134s # enumeration-production 1134s # EnumName: SomeEnumB 1134s # enum_name: some_enum_b 1134s # ENUMNAME: SOME_ENUM_B 1134s # ENUMSHORT: ENUM_B 1134s # ENUMPREFIX: SOME 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-header 1134s # EnumName: SomeEnumB 1134s # enum_name: some_enum_b 1134s # ENUMNAME: SOME_ENUM_B 1134s # ENUMSHORT: ENUM_B 1134s # ENUMPREFIX: SOME 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-production 1134s # VALUENAME: ENUM_VALUE_PUBLIC2 1134s # valuenick: public2 1134s # valuenum: 1 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-tail 1134s # EnumName: SomeEnumB 1134s # enum_name: some_enum_b 1134s # ENUMNAME: SOME_ENUM_B 1134s # ENUMSHORT: ENUM_B 1134s # ENUMPREFIX: SOME 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # file-tail 1134s # 1134s # comment 1134s # comment: Generated data ends here 1134s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1134s # tmpdir: /tmp/tmpgnfea3ts 1134s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1134s # /tmp/tmpgnfea3ts/tmpo01de0dl.h: 1134s # typedef enum { 1134s # /*< private >*/ 1134s # ENUM_VALUE_PRIVATE = 5, 1134s # /*< public >*/ 1134s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1134s # } TestSymbolicEnum; 1134s # 1134s # /tmp/tmpgnfea3ts/tmpen0u3xea.template: 1134s # /*** BEGIN file-header ***/ 1134s # file-header 1134s # /*** END file-header ***/ 1134s # 1134s # /*** BEGIN file-production ***/ 1134s # file-production 1134s # filename: @filename@ 1134s # basename: @basename@ 1134s # /*** END file-production ***/ 1134s # 1134s # /*** BEGIN enumeration-production ***/ 1134s # enumeration-production 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END enumeration-production ***/ 1134s # 1134s # /*** BEGIN value-header ***/ 1134s # value-header 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-header ***/ 1134s # 1134s # /*** BEGIN value-production ***/ 1134s # value-production 1134s # VALUENAME: @VALUENAME@ 1134s # valuenick: @valuenick@ 1134s # valuenum: @valuenum@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-production ***/ 1134s # 1134s # /*** BEGIN value-tail ***/ 1134s # value-tail 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-tail ***/ 1134s # 1134s # /*** BEGIN comment ***/ 1134s # comment 1134s # comment: @comment@ 1134s # /*** END comment ***/ 1134s # 1134s # /*** BEGIN file-tail ***/ 1134s # file-tail 1134s # /*** END file-tail ***/ 1134s # 1134s # Response file contains: --template /tmp/tmpgnfea3ts/tmpen0u3xea.template /tmp/tmpgnfea3ts/tmpo01de0dl.h 1134s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgnfea3ts/tmp31945p7n'] 1134s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1134s # Output: comment 1134s # 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. 1134s # 1134s # 1134s # file-header 1134s # file-production 1134s # filename: /tmp/tmpgnfea3ts/tmpo01de0dl.h 1134s # basename: tmpo01de0dl.h 1134s # enumeration-production 1134s # EnumName: TestSymbolicEnum 1134s # enum_name: test_symbolic_enum 1134s # ENUMNAME: TEST_SYMBOLIC_ENUM 1134s # ENUMSHORT: SYMBOLIC_ENUM 1134s # ENUMPREFIX: TEST 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-header 1134s # EnumName: TestSymbolicEnum 1134s # enum_name: test_symbolic_enum 1134s # ENUMNAME: TEST_SYMBOLIC_ENUM 1134s # ENUMSHORT: SYMBOLIC_ENUM 1134s # ENUMPREFIX: TEST 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-production 1134s # VALUENAME: ENUM_VALUE_PUBLIC 1134s # valuenick: public 1134s # valuenum: 7 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-tail 1134s # EnumName: TestSymbolicEnum 1134s # enum_name: test_symbolic_enum 1134s # ENUMNAME: TEST_SYMBOLIC_ENUM 1134s # ENUMSHORT: SYMBOLIC_ENUM 1134s # ENUMPREFIX: TEST 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # file-tail 1134s # 1134s # comment 1134s # comment: Generated data ends here 1134s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1134s # tmpdir: /tmp/tmpagyp_3lm 1134s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1134s # /tmp/tmpagyp_3lm/tmpk3ayl2kb.template: 1134s # /*** BEGIN file-header ***/ 1134s # file-header 1134s # filename: @filename@ 1134s # basename: @basename@ 1134s # /*** END file-header ***/ 1134s # 1134s # /*** BEGIN comment ***/ 1134s # comment 1134s # comment: @comment@ 1134s # /*** END comment ***/ 1134s # 1134s # /*** BEGIN file-tail ***/ 1134s # file-tail 1134s # filename: @filename@ 1134s # basename: @basename@ 1134s # /*** END file-tail ***/ 1134s # Response file contains: --template /tmp/tmpagyp_3lm/tmpk3ayl2kb.template 1134s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpagyp_3lm/tmpr1bnhxio'] 1134s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1134s # Output: comment 1134s # 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. 1134s # 1134s # 1134s # file-header 1134s # filename: @filename@ 1134s # basename: @basename@ 1134s # file-tail 1134s # filename: @filename@ 1134s # basename: @basename@ 1134s # 1134s # comment 1134s # comment: Generated data ends here 1134s ok 29 __main__.TestRspMkenums.test_help 1134s # tmpdir: /tmp/tmpfjv85m_1 1134s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1134s # Response file contains: --help 1134s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfjv85m_1/tmpco39oghf'] 1134s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1134s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1134s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1134s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1134s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1134s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1134s # [--output OUTPUT] [--version] 1134s # [args ...] 1134s # 1134s # positional arguments: 1134s # args One or more input files, or a single argument 1134s # @rspfile_path pointing to a file that contains the 1134s # actual arguments 1134s # 1134s # options: 1134s # -h, --help show this help message and exit 1134s # --identifier-prefix IDPREFIX 1134s # Identifier prefix 1134s # --symbol-prefix SYMPREFIX 1134s # Symbol prefix 1134s # --fhead FHEAD Output file header 1134s # --ftail FTAIL Output file footer 1134s # --fprod FPROD Put out TEXT every time a new input file is being 1134s # processed. 1134s # --eprod EPROD Per enum text, produced prior to value iterations 1134s # --vhead VHEAD Value header, produced before iterating over enum 1134s # values 1134s # --vprod VPROD Value text, produced for each enum value. 1134s # --vtail VTAIL Value tail, produced after iterating over enum values 1134s # --comments COMMENT_TMPL 1134s # Comment structure 1134s # --template TEMPLATE Template file 1134s # --output OUTPUT 1134s # --version, -v Print version information 1134s # 1134s # Production text substitutions: 1134s # @EnumName@ PrefixTheXEnum 1134s # @enum_name@ prefix_the_xenum 1134s # @ENUMNAME@ PREFIX_THE_XENUM 1134s # @ENUMSHORT@ THE_XENUM 1134s # @ENUMPREFIX@ PREFIX 1134s # @enumsince@ the user-provided since value given 1134s # @VALUENAME@ PREFIX_THE_XVALUE 1134s # @valuenick@ the-xvalue 1134s # @valuenum@ the integer value (limited support, Since: 2.26) 1134s # @type@ either enum or flags 1134s # @Type@ either Enum or Flags 1134s # @TYPE@ either ENUM or FLAGS 1134s # @filename@ name of current input file 1134s # @basename@ base name of the current input file (Since: 2.22) 1134s ok 30 __main__.TestRspMkenums.test_no_args 1134s # tmpdir: /tmp/tmpw_ofzv8t 1134s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1134s # Response file contains: 1134s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpw_ofzv8t/tmprgr89qmh'] 1134s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1134s # 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. */ 1134s # 1134s # 1134s # /* Generated data ends here */ 1134s ok 31 __main__.TestRspMkenums.test_no_headers 1134s # tmpdir: /tmp/tmpe71uzsvy 1134s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1134s # /tmp/tmpe71uzsvy/tmpyp4t28td.template: 1134s # /*** BEGIN file-header ***/ 1134s # file-header 1134s # /*** END file-header ***/ 1134s # 1134s # /*** BEGIN file-production ***/ 1134s # file-production 1134s # filename: @filename@ 1134s # basename: @basename@ 1134s # /*** END file-production ***/ 1134s # 1134s # /*** BEGIN enumeration-production ***/ 1134s # enumeration-production 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END enumeration-production ***/ 1134s # 1134s # /*** BEGIN value-header ***/ 1134s # value-header 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-header ***/ 1134s # 1134s # /*** BEGIN value-production ***/ 1134s # value-production 1134s # VALUENAME: @VALUENAME@ 1134s # valuenick: @valuenick@ 1134s # valuenum: @valuenum@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-production ***/ 1134s # 1134s # /*** BEGIN value-tail ***/ 1134s # value-tail 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-tail ***/ 1134s # 1134s # /*** BEGIN comment ***/ 1134s # comment 1134s # comment: @comment@ 1134s # /*** END comment ***/ 1134s # 1134s # /*** BEGIN file-tail ***/ 1134s # file-tail 1134s # /*** END file-tail ***/ 1134s # 1134s # Response file contains: --template /tmp/tmpe71uzsvy/tmpyp4t28td.template 1134s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpe71uzsvy/tmp1lloung3'] 1134s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1134s # Output: comment 1134s # 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. 1134s # 1134s # 1134s # file-header 1134s # file-tail 1134s # 1134s # comment 1134s # comment: Generated data ends here 1134s ok 32 __main__.TestRspMkenums.test_no_nick 1134s # tmpdir: /tmp/tmpyfp230cu 1134s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1134s # /tmp/tmpyfp230cu/tmpcgu2khqb.h: 1134s # typedef enum { 1134s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1134s # } GeglSamplerType; 1134s # 1134s # /tmp/tmpyfp230cu/tmpwvlvymlg.template: 1134s # /*** BEGIN file-header ***/ 1134s # file-header 1134s # /*** END file-header ***/ 1134s # 1134s # /*** BEGIN file-production ***/ 1134s # file-production 1134s # filename: @filename@ 1134s # basename: @basename@ 1134s # /*** END file-production ***/ 1134s # 1134s # /*** BEGIN enumeration-production ***/ 1134s # enumeration-production 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END enumeration-production ***/ 1134s # 1134s # /*** BEGIN value-header ***/ 1134s # value-header 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-header ***/ 1134s # 1134s # /*** BEGIN value-production ***/ 1134s # value-production 1134s # VALUENAME: @VALUENAME@ 1134s # valuenick: @valuenick@ 1134s # valuenum: @valuenum@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-production ***/ 1134s # 1134s # /*** BEGIN value-tail ***/ 1134s # value-tail 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-tail ***/ 1134s # 1134s # /*** BEGIN comment ***/ 1134s # comment 1134s # comment: @comment@ 1134s # /*** END comment ***/ 1134s # 1134s # /*** BEGIN file-tail ***/ 1134s # file-tail 1134s # /*** END file-tail ***/ 1134s # 1134s # Response file contains: --template /tmp/tmpyfp230cu/tmpwvlvymlg.template /tmp/tmpyfp230cu/tmpcgu2khqb.h 1134s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpyfp230cu/tmpgpwfnx6a'] 1134s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1134s # Output: comment 1134s # 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. 1134s # 1134s # 1134s # file-header 1134s # file-production 1134s # filename: /tmp/tmpyfp230cu/tmpcgu2khqb.h 1134s # basename: tmpcgu2khqb.h 1134s # enumeration-production 1134s # EnumName: GeglSamplerType 1134s # enum_name: gegl_sampler_type 1134s # ENUMNAME: GEGL_SAMPLER_TYPE 1134s # ENUMSHORT: SAMPLER_TYPE 1134s # ENUMPREFIX: GEGL 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-header 1134s # EnumName: GeglSamplerType 1134s # enum_name: gegl_sampler_type 1134s # ENUMNAME: GEGL_SAMPLER_TYPE 1134s # ENUMSHORT: SAMPLER_TYPE 1134s # ENUMPREFIX: GEGL 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-production 1134s # VALUENAME: GEGL_SAMPLER_NEAREST 1134s # valuenick: nearest 1134s # valuenum: 0 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-tail 1134s # EnumName: GeglSamplerType 1134s # enum_name: gegl_sampler_type 1134s # ENUMNAME: GEGL_SAMPLER_TYPE 1134s # ENUMSHORT: SAMPLER_TYPE 1134s # ENUMPREFIX: GEGL 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # file-tail 1134s # 1134s # comment 1134s # comment: Generated data ends here 1134s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1134s # tmpdir: /tmp/tmp_wbwzbxu 1134s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1134s # /tmp/tmp_wbwzbxu/tmpryi917mm.h: 1134s # /* Copyright © La Peña */ 1134s # typedef enum { 1134s # ENUM_VALUE 1134s # } SomeEnumIdentifier; 1134s # 1134s # /tmp/tmp_wbwzbxu/tmp5ji1c0wt.template: 1134s # /*** BEGIN file-header ***/ 1134s # file-header 1134s # /*** END file-header ***/ 1134s # 1134s # /*** BEGIN file-production ***/ 1134s # file-production 1134s # filename: @filename@ 1134s # basename: @basename@ 1134s # /*** END file-production ***/ 1134s # 1134s # /*** BEGIN enumeration-production ***/ 1134s # enumeration-production 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END enumeration-production ***/ 1134s # 1134s # /*** BEGIN value-header ***/ 1134s # value-header 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-header ***/ 1134s # 1134s # /*** BEGIN value-production ***/ 1134s # value-production 1134s # VALUENAME: @VALUENAME@ 1134s # valuenick: @valuenick@ 1134s # valuenum: @valuenum@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-production ***/ 1134s # 1134s # /*** BEGIN value-tail ***/ 1134s # value-tail 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-tail ***/ 1134s # 1134s # /*** BEGIN comment ***/ 1134s # comment 1134s # comment: @comment@ 1134s # /*** END comment ***/ 1134s # 1134s # /*** BEGIN file-tail ***/ 1134s # file-tail 1134s # /*** END file-tail ***/ 1134s # 1134s # Response file contains: --template /tmp/tmp_wbwzbxu/tmp5ji1c0wt.template /tmp/tmp_wbwzbxu/tmpryi917mm.h 1134s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_wbwzbxu/tmpp9jy4xre'] 1134s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1134s # Output: comment 1134s # 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. 1134s # 1134s # 1134s # file-header 1134s # file-production 1134s # filename: /tmp/tmp_wbwzbxu/tmpryi917mm.h 1134s # basename: tmpryi917mm.h 1134s # enumeration-production 1134s # EnumName: SomeEnumIdentifier 1134s # enum_name: some_enum_identifier 1134s # ENUMNAME: SOME_ENUM_IDENTIFIER 1134s # ENUMSHORT: ENUM_IDENTIFIER 1134s # ENUMPREFIX: SOME 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-header 1134s # EnumName: SomeEnumIdentifier 1134s # enum_name: some_enum_identifier 1134s # ENUMNAME: SOME_ENUM_IDENTIFIER 1134s # ENUMSHORT: ENUM_IDENTIFIER 1134s # ENUMPREFIX: SOME 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-production 1134s # VALUENAME: ENUM_VALUE 1134s # valuenick: value 1134s # valuenum: 0 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-tail 1134s # EnumName: SomeEnumIdentifier 1134s # enum_name: some_enum_identifier 1134s # ENUMNAME: SOME_ENUM_IDENTIFIER 1134s # ENUMSHORT: ENUM_IDENTIFIER 1134s # ENUMPREFIX: SOME 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # file-tail 1134s # 1134s # comment 1134s # comment: Generated data ends here 1134s ok 34 __main__.TestRspMkenums.test_reproducible 1134s # tmpdir: /tmp/tmp6eg7l64k 1134s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1134s # /tmp/tmp6eg7l64k/tmp2s7utgzp.template: template 1134s # Response file contains: --template /tmp/tmp6eg7l64k/tmp2s7utgzp.template /tmp/tmp6eg7l64k/tmp7a2c05uo1.h /tmp/tmp6eg7l64k/tmpy_i4azx82.h 1134s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6eg7l64k/tmp7dlpoudu'] 1134s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1134s # 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. */ 1134s # 1134s # 1134s # /* Generated data ends here */ 1134s # /tmp/tmp6eg7l64k/tmptap9hib6.template: template 1134s # Response file contains: --template /tmp/tmp6eg7l64k/tmptap9hib6.template /tmp/tmp6eg7l64k/tmpy_i4azx82.h /tmp/tmp6eg7l64k/tmp7a2c05uo1.h 1134s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6eg7l64k/tmpk0qs5l_v'] 1134s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1134s # 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. */ 1134s # 1134s # 1134s # /* Generated data ends here */ 1134s ok 35 __main__.TestRspMkenums.test_since 1134s # tmpdir: /tmp/tmpxsq5mj2j 1134s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1134s # /tmp/tmpxsq5mj2j/tmprosz07_o.h: 1134s # typedef enum { /*< since=1.0 >*/ 1134s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1134s # } QmiWmsMessageProtocol; 1134s # 1134s # /tmp/tmpxsq5mj2j/tmplc0wuju3.template: 1134s # /*** BEGIN file-header ***/ 1134s # file-header 1134s # /*** END file-header ***/ 1134s # 1134s # /*** BEGIN file-production ***/ 1134s # file-production 1134s # filename: @filename@ 1134s # basename: @basename@ 1134s # /*** END file-production ***/ 1134s # 1134s # /*** BEGIN enumeration-production ***/ 1134s # enumeration-production 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END enumeration-production ***/ 1134s # 1134s # /*** BEGIN value-header ***/ 1134s # value-header 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-header ***/ 1134s # 1134s # /*** BEGIN value-production ***/ 1134s # value-production 1134s # VALUENAME: @VALUENAME@ 1134s # valuenick: @valuenick@ 1134s # valuenum: @valuenum@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-production ***/ 1134s # 1134s # /*** BEGIN value-tail ***/ 1134s # value-tail 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-tail ***/ 1134s # 1134s # /*** BEGIN comment ***/ 1134s # comment 1134s # comment: @comment@ 1134s # /*** END comment ***/ 1134s # 1134s # /*** BEGIN file-tail ***/ 1134s # file-tail 1134s # /*** END file-tail ***/ 1134s # 1134s # Response file contains: --template /tmp/tmpxsq5mj2j/tmplc0wuju3.template /tmp/tmpxsq5mj2j/tmprosz07_o.h 1134s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpxsq5mj2j/tmpq32atpdc'] 1134s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1134s # Output: comment 1134s # 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. 1134s # 1134s # 1134s # file-header 1134s # file-production 1134s # filename: /tmp/tmpxsq5mj2j/tmprosz07_o.h 1134s # basename: tmprosz07_o.h 1134s # enumeration-production 1134s # EnumName: QmiWmsMessageProtocol 1134s # enum_name: qmi_wms_message_protocol 1134s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1134s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1134s # ENUMPREFIX: QMI 1134s # enumsince: 1.0 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-header 1134s # EnumName: QmiWmsMessageProtocol 1134s # enum_name: qmi_wms_message_protocol 1134s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1134s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1134s # ENUMPREFIX: QMI 1134s # enumsince: 1.0 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-production 1134s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1134s # valuenick: cdma 1134s # valuenum: 0 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-tail 1134s # EnumName: QmiWmsMessageProtocol 1134s # enum_name: qmi_wms_message_protocol 1134s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1134s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1134s # ENUMPREFIX: QMI 1134s # enumsince: 1.0 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # file-tail 1134s # 1134s # comment 1134s # comment: Generated data ends here 1134s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1134s # tmpdir: /tmp/tmpbbvv0nuz 1134s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1134s # /tmp/tmpbbvv0nuz/tmpdesmavku.h: 1134s # typedef enum { 1134s # FOO_VALUE /*< nick="eek, a comma" >*/ 1134s # } Foo; 1134s # 1134s # /tmp/tmpbbvv0nuz/tmppswitrk7.template: 1134s # /*** BEGIN file-header ***/ 1134s # file-header 1134s # /*** END file-header ***/ 1134s # 1134s # /*** BEGIN file-production ***/ 1134s # file-production 1134s # filename: @filename@ 1134s # basename: @basename@ 1134s # /*** END file-production ***/ 1134s # 1134s # /*** BEGIN enumeration-production ***/ 1134s # enumeration-production 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END enumeration-production ***/ 1134s # 1134s # /*** BEGIN value-header ***/ 1134s # value-header 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-header ***/ 1134s # 1134s # /*** BEGIN value-production ***/ 1134s # value-production 1134s # VALUENAME: @VALUENAME@ 1134s # valuenick: @valuenick@ 1134s # valuenum: @valuenum@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-production ***/ 1134s # 1134s # /*** BEGIN value-tail ***/ 1134s # value-tail 1134s # EnumName: @EnumName@ 1134s # enum_name: @enum_name@ 1134s # ENUMNAME: @ENUMNAME@ 1134s # ENUMSHORT: @ENUMSHORT@ 1134s # ENUMPREFIX: @ENUMPREFIX@ 1134s # enumsince: @enumsince@ 1134s # type: @type@ 1134s # Type: @Type@ 1134s # TYPE: @TYPE@ 1134s # /*** END value-tail ***/ 1134s # 1134s # /*** BEGIN comment ***/ 1134s # comment 1134s # comment: @comment@ 1134s # /*** END comment ***/ 1134s # 1134s # /*** BEGIN file-tail ***/ 1134s # file-tail 1134s # /*** END file-tail ***/ 1134s # 1134s # Response file contains: --template /tmp/tmpbbvv0nuz/tmppswitrk7.template /tmp/tmpbbvv0nuz/tmpdesmavku.h 1134s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbbvv0nuz/tmpy95vsm5t'] 1134s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'xorg-server/2:21.1.15-2ubuntu2', 'AUTOPKGTEST_TEST_ARCH': 'amd64', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-q8lmuIF2hU,guid=b5c35e75bd324c7ed5f0eb4d678a9328', 'AUTOPKGTEST_TESTBED_ARCH': 'amd64', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.OFvodc/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.7SmNNhEBF2', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.Or9sdI/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.OFvodc/wrapper.sh --artifacts=/tmp/autopkgtest.OFvodc/installed-tests-artifacts --chdir=/tmp/autopkgtest.OFvodc/build.MEp/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.OFvodc/installed-tests-stderr --stdout=/tmp/autopkgtest.OFvodc/installed-tests-stdout --tmp=/tmp/autopkgtest.OFvodc/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=xorg-server/2:21.1.15-2ubuntu2 --make-executable=/tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests -- /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.OFvodc/build.MEp/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.OFvodc/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1134s # Output: comment 1134s # 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. 1134s # 1134s # 1134s # file-header 1134s # file-production 1134s # filename: /tmp/tmpbbvv0nuz/tmpdesmavku.h 1134s # basename: tmpdesmavku.h 1134s # enumeration-production 1134s # EnumName: Foo 1134s # enum_name: foo_ 1134s # ENUMNAME: FOO_ 1134s # ENUMSHORT: 1134s # ENUMPREFIX: FOO 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-header 1134s # EnumName: Foo 1134s # enum_name: foo_ 1134s # ENUMNAME: FOO_ 1134s # ENUMSHORT: 1134s # ENUMPREFIX: FOO 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-production 1134s # VALUENAME: FOO_VALUE 1134s # valuenick: eek, a comma 1134s # valuenum: 0 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # value-tail 1134s # EnumName: Foo 1134s # enum_name: foo_ 1134s # ENUMNAME: FOO_ 1134s # ENUMSHORT: 1134s # ENUMPREFIX: FOO 1134s # enumsince: 1134s # type: enum 1134s # Type: Enum 1134s # TYPE: ENUM 1134s # file-tail 1134s # 1134s # comment 1134s # comment: Generated data ends here 1134s 1..36 1134s ok - glib/mkenums.py.test 1134s # Running test: glib/g-icon.test 1134s TAP version 14 1134s # random seed: R02Sdeb9b0034eb1eacc8fd6517e674ab84f 1134s 1..6 1134s # Start of icons tests 1134s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1134s ok 1 /icons/to-string 1134s ok 2 /icons/serialize 1134s ok 3 /icons/themed 1134s ok 4 /icons/emblemed 1134s ok 5 /icons/file 1134s ok 6 /icons/bytes 1134s # End of icons tests 1134s ok - glib/g-icon.test 1134s TAP version 14 1134s # random seed: R02S26a6d518cd53a85755ef943300cf9786 1134s 1..9 1134s # Start of glib tests 1134s # Start of testing tests 1134s # Start of protocol tests 1134s ok 1 /glib/testing/protocol/debug 1134s ok 2 /glib/testing/protocol/info 1134s ok 3 /glib/testing/protocol/message 1134s ok 4 /glib/testing/protocol/warning 1134s ok 5 /glib/testing/protocol/critical 1134s ok 6 /glib/testing/protocol/error 1134s ok 7 /glib/testing/protocol/gtest-message 1134s ok 8 /glib/testing/protocol/test-message 1134s # Running test: glib/protocol.test 1134s ok 9 /glib/testing/protocol/test-error 1134s # End of protocol tests 1134s # End of testing tests 1134s # End of glib tests 1134s TAP version 14 1134s # random seed: R02S7bdc15d9641f617f4f8227a768d0a688 1134s 1..5 1134s # Start of buffered-output-stream tests 1134s ok 1 /buffered-output-stream/write 1134s ok 2 /buffered-output-stream/grow 1134s ok 3 /buffered-output-stream/seek 1134s ok 4 /buffered-output-stream/truncate 1134s # End of buffered-output-stream tests 1134s # Start of filter-output-stream tests 1134s ok 5 /filter-output-stream/close 1134s # End of filter-output-stream tests 1134s ok - glib/protocol.test 1134s # Running test: glib/buffered-output-stream.test 1134s ok - glib/buffered-output-stream.test 1134s # Running test: glib/memory-monitor-dbus.test 1134s TAP version 13 1134s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1134s 1..1 1134s ok - glib/memory-monitor-dbus.test 1134s # Running test: glib/utils-isolated.test 1134s TAP version 14 1134s # random seed: R02S62e7327c18796be4ed35f0ff42d0fc29 1134s 1..11 1134s # Start of utils-isolated tests 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/tmp-dir/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/tmp-dir/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/tmp-dir/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/tmp-dir/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/tmp-dir/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/tmp-dir/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/tmp-dir/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/tmp-dir/.dirs/runtime 1134s ok 1 /utils-isolated/tmp-dir 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/home-dir/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/home-dir/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/home-dir/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/home-dir/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/home-dir/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/home-dir/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/home-dir/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/home-dir/.dirs/runtime 1134s ok 2 /utils-isolated/home-dir 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-cache-dir/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-cache-dir/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-cache-dir/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-cache-dir/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-cache-dir/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-cache-dir/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-cache-dir/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-cache-dir/.dirs/runtime 1134s ok 3 /utils-isolated/user-cache-dir 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/system-config-dirs/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/system-config-dirs/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/system-config-dirs/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/system-config-dirs/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/system-config-dirs/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/system-config-dirs/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/system-config-dirs/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/system-config-dirs/.dirs/runtime 1134s ok 4 /utils-isolated/system-config-dirs 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-config-dir/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-config-dir/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-config-dir/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-config-dir/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-config-dir/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-config-dir/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-config-dir/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-config-dir/.dirs/runtime 1134s ok 5 /utils-isolated/user-config-dir 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/system-data-dirs/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/system-data-dirs/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/system-data-dirs/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/system-data-dirs/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/system-data-dirs/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/system-data-dirs/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/system-data-dirs/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/system-data-dirs/.dirs/runtime 1134s ok 6 /utils-isolated/system-data-dirs 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-data-dir/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-data-dir/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-data-dir/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-data-dir/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-data-dir/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-data-dir/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-data-dir/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-data-dir/.dirs/runtime 1134s ok 7 /utils-isolated/user-data-dir 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-state-dir/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-state-dir/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-state-dir/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-state-dir/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-state-dir/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-state-dir/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-state-dir/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-state-dir/.dirs/runtime 1134s ok 8 /utils-isolated/user-state-dir 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-runtime-dir/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-runtime-dir/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-runtime-dir/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-runtime-dir/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-runtime-dir/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-runtime-dir/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-runtime-dir/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/user-runtime-dir/.dirs/runtime 1134s ok 9 /utils-isolated/user-runtime-dir 1134s # Start of cleanup tests 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/handles-errors/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/handles-errors/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/handles-errors/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/handles-errors/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/handles-errors/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/handles-errors/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/handles-errors/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/handles-errors/.dirs/runtime 1134s Unable to clean up temporary directory /tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 1134s Unable to clean up temporary directory /tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 1134s Unable to clean up temporary directory /tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/handles-errors: Directory not empty 1134s ok 10 /utils-isolated/cleanup/handles-errors 1134s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 1134s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 1134s Unable to clean up temporary directory /tmp/test_utils-isolated_UIS4Z2/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 1134s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 1134s # End of cleanup tests 1134s # End of utils-isolated tests 1134s ok - glib/utils-isolated.test 1134s # Running test: glib/macros-c-11.test 1134s TAP version 14 1134s # random seed: R02S32e4083648d6a7dd9118f12e51d72720 1134s 1..4 1134s # Start of C tests 1134s ok 1 /C/standard-11 1134s # End of C tests 1134s # Start of alignof tests 1134s ok 2 /alignof/fallback 1134s # End of alignof tests 1134s # Start of assert tests 1134s ok 3 /assert/static 1134s # End of assert tests 1134s # Start of struct tests 1134s ok 4 /struct/sizeof_member 1134s # End of struct tests 1134s ok - glib/macros-c-11.test 1134s # Running test: glib/array-test.test 1134s TAP version 14 1134s # random seed: R02Sa42ff620a6e1e910952ebc6725cc12b2 1134s 1..113 1134s # Start of array tests 1134s ok 1 /array/ref-count 1134s ok 2 /array/steal 1134s ok 3 /array/clear-func 1134s ok 4 /array/binary-search 1134s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 1134s ok 5 /array/copy-sized 1134s ok 6 /array/overflow-append-vals 1134s ok 7 /array/overflow-set-size 1134s # Start of new tests 1134s ok 8 /array/new/zero-terminated 1134s ok 9 /array/new/take 1134s ok 10 /array/new/take-zero-terminated 1134s # Start of take tests 1134s ok 11 /array/new/take/empty 1134s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1134s # End of take tests 1134s # End of new tests 1134s # Start of set-size tests 1134s ok 13 /array/set-size/non-zero-terminated-no-clear 1134s ok 14 /array/set-size/non-zero-terminated-clear 1134s ok 15 /array/set-size/zero-terminated-no-clear 1134s ok 16 /array/set-size/zero-terminated-clear 1134s # Start of sized tests 1134s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 1134s ok 18 /array/set-size/sized/non-zero-terminated-clear 1134s ok 19 /array/set-size/sized/zero-terminated-no-clear 1134s ok 20 /array/set-size/sized/zero-terminated-clear 1134s # End of sized tests 1134s # End of set-size tests 1134s # Start of append-val tests 1134s ok 21 /array/append-val/non-zero-terminated-no-clear 1134s ok 22 /array/append-val/non-zero-terminated-clear 1134s ok 23 /array/append-val/zero-terminated-no-clear 1134s ok 24 /array/append-val/zero-terminated-clear 1134s # End of append-val tests 1134s # Start of prepend-val tests 1134s ok 25 /array/prepend-val/non-zero-terminated-no-clear 1134s ok 26 /array/prepend-val/non-zero-terminated-clear 1134s ok 27 /array/prepend-val/zero-terminated-no-clear 1134s ok 28 /array/prepend-val/zero-terminated-clear 1134s # End of prepend-val tests 1134s # Start of prepend-vals tests 1134s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 1134s ok 30 /array/prepend-vals/non-zero-terminated-clear 1134s ok 31 /array/prepend-vals/zero-terminated-no-clear 1134s ok 32 /array/prepend-vals/zero-terminated-clear 1134s # End of prepend-vals tests 1134s # Start of insert-vals tests 1134s ok 33 /array/insert-vals/non-zero-terminated-no-clear 1134s ok 34 /array/insert-vals/non-zero-terminated-clear 1134s ok 35 /array/insert-vals/zero-terminated-no-clear 1134s ok 36 /array/insert-vals/zero-terminated-clear 1134s # End of insert-vals tests 1134s # Start of remove-index tests 1134s ok 37 /array/remove-index/non-zero-terminated-no-clear 1134s ok 38 /array/remove-index/non-zero-terminated-clear 1134s ok 39 /array/remove-index/zero-terminated-no-clear 1134s ok 40 /array/remove-index/zero-terminated-clear 1134s # End of remove-index tests 1134s # Start of remove-index-fast tests 1134s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 1134s ok 42 /array/remove-index-fast/non-zero-terminated-clear 1134s ok 43 /array/remove-index-fast/zero-terminated-no-clear 1134s ok 44 /array/remove-index-fast/zero-terminated-clear 1134s # End of remove-index-fast tests 1134s # Start of remove-range tests 1134s ok 45 /array/remove-range/non-zero-terminated-no-clear 1134s ok 46 /array/remove-range/non-zero-terminated-clear 1134s ok 47 /array/remove-range/zero-terminated-no-clear 1134s ok 48 /array/remove-range/zero-terminated-clear 1134s # End of remove-range tests 1134s # Start of copy tests 1134s ok 49 /array/copy/non-zero-terminated-no-clear 1134s ok 50 /array/copy/non-zero-terminated-clear 1134s ok 51 /array/copy/zero-terminated-no-clear 1134s ok 52 /array/copy/zero-terminated-clear 1134s # End of copy tests 1134s # Start of sort tests 1134s ok 53 /array/sort/non-zero-terminated-no-clear 1134s ok 54 /array/sort/non-zero-terminated-clear 1134s ok 55 /array/sort/zero-terminated-no-clear 1134s ok 56 /array/sort/zero-terminated-clear 1134s # End of sort tests 1134s # Start of sort-with-data tests 1134s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 1134s ok 58 /array/sort-with-data/non-zero-terminated-clear 1134s ok 59 /array/sort-with-data/zero-terminated-no-clear 1134s ok 60 /array/sort-with-data/zero-terminated-clear 1134s # End of sort-with-data tests 1134s # End of array tests 1134s # Start of pointerarray tests 1134s ok 61 /pointerarray/add 1134s ok 62 /pointerarray/insert 1134s ok 63 /pointerarray/new-take 1134s ok 64 /pointerarray/new-take-null-terminated 1134s ok 65 /pointerarray/new-from-array 1134s ok 66 /pointerarray/new-from-null-terminated-array 1134s ok 67 /pointerarray/free-func 1134s ok 68 /pointerarray/array_extend_and_steal 1134s ok 69 /pointerarray/sort 1134s ok 70 /pointerarray/sort-with-data 1134s ok 71 /pointerarray/sort-values 1134s ok 72 /pointerarray/sort-values-with-data 1134s ok 73 /pointerarray/remove-range 1134s ok 74 /pointerarray/steal 1134s # Start of free tests 1134s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1134s ok 75 /pointerarray/free/null-terminated 1134s # End of free tests 1134s # Start of new-take tests 1134s ok 76 /pointerarray/new-take/empty 1134s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1134s ok 78 /pointerarray/new-take/with-free-func 1134s # End of new-take tests 1134s # Start of new-take-null-terminated tests 1134s ok 79 /pointerarray/new-take-null-terminated/empty 1134s ok 80 /pointerarray/new-take-null-terminated/with-free-func 1134s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 1134s # End of new-take-null-terminated tests 1134s # Start of new-from-array tests 1134s ok 82 /pointerarray/new-from-array/empty 1134s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1134s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 1134s # End of new-from-array tests 1134s # Start of new-from-null-terminated-array tests 1134s ok 85 /pointerarray/new-from-null-terminated-array/empty 1134s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1134s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 1134s # End of new-from-null-terminated-array tests 1134s # Start of ref-count tests 1134s ok 88 /pointerarray/ref-count/not-null-terminated 1134s ok 89 /pointerarray/ref-count/null-terminated 1134s # End of ref-count tests 1134s # Start of array_copy tests 1134s # /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 1134s ok 90 /pointerarray/array_copy/not-null-terminated 1134s # /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 1134s ok 91 /pointerarray/array_copy/null-terminated 1134s # End of array_copy tests 1134s # Start of array_extend tests 1134s ok 92 /pointerarray/array_extend/not-null-terminated 1134s ok 93 /pointerarray/array_extend/null-terminated 1134s # End of array_extend tests 1134s # Start of sort tests 1134s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1134s ok 94 /pointerarray/sort/example 1134s # End of sort tests 1134s # Start of sort-with-data tests 1134s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1134s ok 95 /pointerarray/sort-with-data/example 1134s # End of sort-with-data tests 1134s # Start of sort-values tests 1134s ok 96 /pointerarray/sort-values/example 1134s # End of sort-values tests 1134s # Start of sort-values-with-data tests 1134s ok 97 /pointerarray/sort-values-with-data/example 1134s # End of sort-values-with-data tests 1134s # Start of find tests 1134s ok 98 /pointerarray/find/empty 1134s ok 99 /pointerarray/find/non-empty 1134s # End of find tests 1134s # Start of steal_index tests 1134s ok 100 /pointerarray/steal_index/not-null-terminated 1134s ok 101 /pointerarray/steal_index/null-terminated 1134s # End of steal_index tests 1134s # End of pointerarray tests 1134s # Start of bytearray tests 1134s ok 102 /bytearray/steal 1134s ok 103 /bytearray/append 1134s ok 104 /bytearray/prepend 1134s ok 105 /bytearray/remove 1134s ok 106 /bytearray/remove-fast 1134s ok 107 /bytearray/remove-range 1134s ok 108 /bytearray/ref-count 1134s ok 109 /bytearray/sort 1134s ok 110 /bytearray/sort-with-data 1134s ok 111 /bytearray/new-take 1134s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 1134s ok 113 /bytearray/free-to-bytes 1134s # End of bytearray tests 1134s TAP version 14 1134s # random seed: R02S22d63a0c7a6d33038cc7ac20b7ae014e 1134s 1..34 1134s # Start of hash tests 1134s ok - glib/array-test.test 1134s # Running test: glib/hash.test 1134s ok - glib/hash.test 1134s # Running test: glib/testfilemonitor.test 1134s ok - glib/testfilemonitor.test 1134s # Running test: glib/thread-deprecated.test 1134s ok 1 /hash/misc 1134s ok 2 /hash/one 1134s ok 3 /hash/honeyman 1134s ok 4 /hash/direct 1134s ok 5 /hash/direct2 1134s ok 6 /hash/int 1134s ok 7 /hash/int64 1134s ok 8 /hash/double 1134s ok 9 /hash/string 1134s ok 10 /hash/set 1134s ok 11 /hash/set-ref 1134s ok 12 /hash/ref 1134s ok 13 /hash/remove-all 1134s ok 14 /hash/recursive-remove-all 1134s ok 15 /hash/find 1134s ok 16 /hash/foreach 1134s ok 17 /hash/foreach-steal 1134s ok 18 /hash/steal-extended 1134s ok 19 /hash/steal-all-keys 1134s ok 20 /hash/steal-all-values 1134s ok 21 /hash/lookup-extended 1134s ok 22 /hash/new-similar 1134s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1134s ok 23 /hash/lookup-null-key 1134s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1134s ok 24 /hash/destroy-modify 1134s ok 25 /hash/consistency 1134s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1134s ok 26 /hash/iter-replace 1134s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1134s ok 27 /hash/set-insert-corruption 1134s ok 28 /hash/set-to-strv 1134s ok 29 /hash/get-keys-as-ptr-array 1134s ok 30 /hash/get-values-as-ptr-array 1134s ok 31 /hash/primes 1134s # Start of int64 tests 1134s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1134s ok 32 /hash/int64/collisions 1134s # End of int64 tests 1134s # Start of double tests 1134s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1134s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1134s ok 33 /hash/double/collisions 1134s # End of double tests 1134s # Start of recursive-remove-all tests 1134s # End of recursive-remove-all tests 1134s # Start of steal-extended tests 1134s ok 34 /hash/steal-extended/optional 1134s # End of steal-extended tests 1134s # End of hash tests 1134s TAP version 14 1134s # random seed: R02S499d5c27489070c6737d715cd931af39 1134s 1..8 1134s # Start of monitor tests 1134s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1134s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1134s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1134s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1134s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1134s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1134s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1134s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1134s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1134s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1134s # Start of file tests 1134s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1134s # End of file tests 1134s # End of monitor tests 1134s TAP version 14 1134s # random seed: R02Sa5565cfcc4d0038c864712234e276708 1134s 1..6 1134s # Start of thread tests 1135s ok 1 /thread/mutex 1135s ok 2 /thread/static-rec-mutex 1136s # Executing: glib/thread-deprecated.test 1140s ok 3 /thread/static-private 1140s # slow test /thread/static-private executed in 4.40 secs 1141s # Executing: glib/thread-deprecated.test 1144s ok 4 /thread/static-rw-lock 1144s # slow test /thread/static-rw-lock executed in 5.00 secs 1144s ok 5 /thread/once 1146s # Executing: glib/thread-deprecated.test 1151s # Executing: glib/thread-deprecated.test 1154s ok 6 /thread/rerun-all 1154s ok - glib/thread-deprecated.test 1154s # Running test: glib/properties-refcount2.test 1154s # slow test /thread/rerun-all executed in 10.02 secs 1154s # End of thread tests 1154s TAP version 14 1154s # random seed: R02Sccdc18375c9e883eaf72df543c9331f1 1154s 1..1 1154s # Start of gobject tests 1154s # Start of refcount tests 1154s # init 0x57018801f770 1154s # 1154s # . 1154s # . 1154s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # . 1155s # dispose 0x57018801f770! 1155s # 1155s ok 1 /gobject/refcount/properties-2 1155s # slow test /gobject/refcount/properties-2 executed in 0.58 secs 1155s # End of refcount tests 1155s # End of gobject tests 1155s ok - glib/properties-refcount2.test 1155s # Running test: glib/module-test-library.test 1155s TAP version 14 1155s # random seed: R02S5010ef5a23be92da455e171885cba51a 1155s 1..3 1155s # Start of module tests 1155s ok 1 /module/basics 1155s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1155s ok 2 /module/invalid-libtool-archive 1155s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1155s ok 3 /module/local-binding 1155s # End of module tests 1155s TAP version 14 1155s # random seed: R02Sc8956d92c2cbec969cc545685aa1c481 1155s 1..2 1155s # Start of gdbus tests 1155s # Start of peer-object-manager tests 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_68BM02/gdbus/peer-object-manager/normal/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_68BM02/gdbus/peer-object-manager/normal/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_68BM02/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_68BM02/gdbus/peer-object-manager/normal/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_68BM02/gdbus/peer-object-manager/normal/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_68BM02/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_68BM02/gdbus/peer-object-manager/normal/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_68BM02/gdbus/peer-object-manager/normal/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_68BM02/gdbus/peer-object-manager/normal/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_68BM02/gdbus/peer-object-manager/normal/.dirs/runtime 1155s ok - glib/module-test-library.test 1155s # Running test: glib/gdbus-peer-object-manager.test 1155s ok 1 /gdbus/peer-object-manager/normal 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_68BM02/gdbus/peer-object-manager/root/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_68BM02/gdbus/peer-object-manager/root/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_68BM02/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_68BM02/gdbus/peer-object-manager/root/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_68BM02/gdbus/peer-object-manager/root/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_68BM02/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_68BM02/gdbus/peer-object-manager/root/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_68BM02/gdbus/peer-object-manager/root/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_68BM02/gdbus/peer-object-manager/root/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_68BM02/gdbus/peer-object-manager/root/.dirs/runtime 1155s ok 2 /gdbus/peer-object-manager/root 1155s # End of peer-object-manager tests 1155s # End of gdbus tests 1155s TAP version 14 1155s # random seed: R02Se3f86df0a5e9db6f6687762ad1e8e02a 1155s 1..13 1155s # Start of live-g-file tests 1155s # Cleaning target testing structure in 'testdir_live-g-file'... 1155s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1155s ok 1 /live-g-file/prep_clean_structure 1155s # 1155s # Going to create testing structure in 'testdir_live-g-file'... 1155s # Creating directory 'dir1'... 1155s # Creating directory 'dir1/subdir'... 1155s # Creating directory 'dir2'... 1155s # Creating directory 'dir-target'... 1155s # Creating directory 'dir_no-access'... 1155s # Creating directory 'dir_no-write'... 1155s # Creating file 'target-file'... 1155s # Creating file 'normal_file'... 1155s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1155s # Creating file 'executable_file'... 1155s # Creating file 'private_file'... 1155s # Creating file 'normal_file2'... 1155s # Creating file 'readonly_file'... 1155s # Creating file 'UTF_pr?i?lis? z'... 1155s # Creating directory 'dir_pr?i?lis? z'... 1155s # Creating symlink 'lost_symlink' --> 'nowhere'... 1155s # Creating directory 'dir_hidden'... 1155s # Creating file 'dir_hidden/.a-hidden-file'... 1155s # Creating file 'dir_hidden/file-in-.hidden1'... 1155s # Creating file 'dir_hidden/file-in-.hidden2'... 1155s # Creating pattern file... 1155s ok - glib/gdbus-peer-object-manager.test 1155s # Running test: glib/live-g-file.test 1155s # done. 1155s ok 2 /live-g-file/create_structure 1155s # Testing sample structure in 'testdir_live-g-file'... 1155s # Testing file 'dir1'... 1155s # Testing file 'dir1/subdir'... 1155s # Testing file 'dir2'... 1155s # Testing file 'dir-target'... 1155s # Testing file 'dir_no-access'... 1155s # Testing file 'dir_no-write'... 1155s # Testing file 'target-file'... 1155s # Testing file 'normal_file'... 1155s # Testing file 'normal_file-symlink'... 1155s # Testing file 'executable_file'... 1155s # Testing file 'private_file'... 1155s # Testing file 'normal_file2'... 1155s # Testing file 'readonly_file'... 1155s # Testing file 'UTF_pr?i?lis? z'... 1155s # Testing file 'dir_pr?i?lis? z'... 1155s # Testing file 'lost_symlink'... 1155s # Testing file 'dir_hidden'... 1155s # Testing file 'dir_hidden/.a-hidden-file'... 1155s # Testing file 'dir_hidden/file-in-.hidden1'... 1155s # Testing file 'dir_hidden/file-in-.hidden2'... 1155s # Testing pattern file... 1155s # read 65536 bytes, total = 65536 of 65536. 1155s ok 3 /live-g-file/test_initial_structure 1155s # Traversing through the sample structure in 'testdir_live-g-file'... 1155s # Found file dir1, relative to root: dir1 1155s # Found file subdir, relative to root: dir1/subdir 1155s # Found file dir2, relative to root: dir2 1155s # Found file dir-target, relative to root: dir-target 1155s # Found file dir_no-access, relative to root: dir_no-access 1155s # Found file dir_no-write, relative to root: dir_no-write 1155s # Found file target-file, relative to root: target-file 1155s # Found file normal_file, relative to root: normal_file 1155s # Found file normal_file-symlink, relative to root: normal_file-symlink 1155s # Found file executable_file, relative to root: executable_file 1155s # Found file private_file, relative to root: private_file 1155s # Found file normal_file2, relative to root: normal_file2 1155s # Found file readonly_file, relative to root: readonly_file 1155s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1155s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1155s # Found file lost_symlink, relative to root: lost_symlink 1155s # Found file dir_hidden, relative to root: dir_hidden 1155s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1155s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1155s # Found file .hidden, relative to root: dir_hidden/.hidden 1155s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1155s # Found file pattern_file, relative to root: pattern_file 1155s ok 4 /live-g-file/test_traverse_structure 1155s # Test enumerate 'testdir_live-g-file'... 1155s # Testing file 'dir_no-access' 1155s # Testing file 'normal_file' 1155s # Testing file 'normal_file-symlink' 1155s # Testing file 'not_exists' 1155s # Testing file 'not_exists' 1155s # Testing file 'not_exists2' 1155s # Testing file 'not_exists3' 1155s # Testing file 'not_exists4' 1155s # Testing file 'dir_no-execute/file' 1155s ok 5 /live-g-file/test_enumerate 1155s # test_open: 'dir1' 1155s # test_open: 'dir_no-access' 1155s # test_open: 'target-file' 1155s # test_open: 'normal_file-symlink' 1155s # test_open: 'executable_file' 1155s # test_open: 'private_file' 1155s # test_open: 'readonly_file' 1155s # test_open: 'UTF_pr?i?lis? z' 1155s # test_open: 'pattern_file' 1155s # test_open: 'not_exists' 1155s # test_open: 'dir_no-execute/file' 1155s # test_open: 'lost_symlink' 1155s ok 6 /live-g-file/test_open 1155s # test_create: 'dir1' 1155s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir1?: Is a directory 1155s # test_create: 'dir1/subdir' 1155s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir1/subdir?: Is a directory 1155s # test_create: 'dir2' 1155s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir2?: File exists 1155s # test_create: 'normal_file' 1155s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/normal_file?: File exists 1155s # test_create: 'executable_file' 1155s # test_create: 'private_file' 1155s # test_create: 'normal_file2' 1155s # test_create: 'UTF_pr?i?lis? z' 1155s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1155s # test_create: 'dir_pr?i?lis? z' 1155s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1155s # test_create: 'pattern_file' 1155s # test_create: 'not_exists2' 1155s # test_create: 'not_exists3' 1155s # test_create: 'not_exists4' 1155s ok 7 /live-g-file/test_create 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1155s # res = 0, error code 25 = Can?t recursively copy directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'dir1/subdir' --> '.' 1155s # res = 0, error code 2 = Target file exists 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'dir1/subdir' --> 'target-file' 1155s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1155s # res = 0, error code 25 = Can?t recursively copy directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1155s # res = 0, error code 25 = Can?t recursively copy directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1155s # res = 0, error code 25 = Can?t recursively copy directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'dir2' --> 'dir-target' 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'dir-target' --> 'dir-target' 1155s # res = 0, error code 25 = Can?t recursively copy directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'dir-target' --> '.' 1155s # res = 0, error code 2 = Target file exists 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'dir-target' --> 'target-file' 1155s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/target-file/dir-target?: Not a directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'dir-target' --> 'not_exists' 1155s # res = 0, error code 25 = Can?t recursively copy directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'dir-target' --> 'dir_no-access' 1155s # res = 0, error code 25 = Can?t recursively copy directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'dir-target' --> 'dir_no-write' 1155s # res = 0, error code 25 = Can?t recursively copy directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'target-file' --> 'dir-target' 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'target-file' --> '.' 1155s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/target-file?: File exists 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'target-file' --> 'target-file' 1155s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/target-file/target-file?: Not a directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'target-file' --> 'not_exists' 1155s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/not_exists/target-file?: No such file or directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'target-file' --> 'dir_no-access' 1155s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'target-file' --> 'dir_no-write' 1155s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'normal_file-symlink' --> '.' 1155s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/normal_file-symlink: File exists 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1155s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1155s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1155s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1155s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'executable_file' --> 'dir-target' 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'executable_file' --> 'dir-target' 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'executable_file' --> '.' 1155s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/executable_file?: File exists 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'executable_file' --> 'target-file' 1155s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/target-file/executable_file?: Not a directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'executable_file' --> 'not_exists' 1155s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'executable_file' --> 'dir_no-access' 1155s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'executable_file' --> 'dir_no-write' 1155s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'private_file' --> 'dir-target' 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'private_file' --> 'dir-target' 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'private_file' --> '.' 1155s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/private_file?: File exists 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'private_file' --> 'target-file' 1155s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/target-file/private_file?: Not a directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'private_file' --> 'not_exists' 1155s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/not_exists/private_file?: No such file or directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'private_file' --> 'dir_no-access' 1155s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'private_file' --> 'dir_no-write' 1155s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'normal_file2' --> 'dir-target' 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'normal_file2' --> 'dir-target' 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'normal_file2' --> '.' 1155s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/normal_file2?: File exists 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'normal_file2' --> 'target-file' 1155s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/target-file/normal_file2?: Not a directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'normal_file2' --> 'not_exists' 1155s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1155s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1155s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1155s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1155s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1155s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1155s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1155s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'pattern_file' --> 'dir-target' 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'pattern_file' --> '.' 1155s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/pattern_file?: File exists 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'pattern_file' --> 'target-file' 1155s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/target-file/pattern_file?: Not a directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'pattern_file' --> 'not_exists' 1155s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1155s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1155s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'not_exists' --> 'dir-target' 1155s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/not_exists?: No such file or directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'not_exists' --> '.' 1155s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/not_exists?: No such file or directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'not_exists' --> 'target-file' 1155s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/not_exists?: No such file or directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'not_exists' --> 'not_exists' 1155s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/not_exists?: No such file or directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'not_exists' --> 'dir_no-access' 1155s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/not_exists?: No such file or directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'not_exists' --> 'dir_no-write' 1155s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/not_exists?: No such file or directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'not_exists' --> 'dir-target' 1155s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/not_exists: No such file or directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'lost_symlink' --> 'dir-target' 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'lost_symlink' --> '.' 1155s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/lost_symlink: File exists 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'lost_symlink' --> 'target-file' 1155s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/target-file/lost_symlink: Not a directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'lost_symlink' --> 'not_exists' 1155s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1155s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1155s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1155s ok 8 /live-g-file/test_copy_move 1155s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir1 1155s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir1: Directory not empty 1155s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir2 1155s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir2: No such file or directory 1155s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/executable_file 1155s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/readonly_file 1155s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir_pr?i?lis? z 1155s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/not_exists 1155s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/not_exists: No such file or directory 1155s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/not_exists 1155s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/not_exists: No such file or directory 1155s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir_no-execute/file 1155s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/dir_no-execute/file: No such file or directory 1155s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-II8L02/testdir_live-g-file/lost_symlink 1155s ok 9 /live-g-file/test_delete 1155s # We do not have CAP_DAC_OVERRIDE or equivalent 1155s ok 10 /live-g-file/test_make_directory_with_parents 1155s # Cleaning target testing structure in 'testdir_live-g-file'... 1155s # deleting 'dir1' 1155s # deleting 'subdir' 1155s # deleting 'dir-target' 1155s # deleting 'dir2' 1155s # deleting 'target-file' 1155s # deleting 'normal_file-symlink' 1155s # deleting 'pattern_file' 1155s # deleting 'executable_file' 1155s # deleting 'private_file' 1155s # deleting 'normal_file2' 1155s # deleting 'UTF_pr?i?lis? z' 1155s # deleting 'lost_symlink' 1155s # deleting 'dir_no-access' 1155s # deleting 'dir_no-write' 1155s # deleting 'target-file' 1155s # deleting 'normal_file' 1155s # deleting 'normal_file-symlink' 1155s # deleting 'executable_file~' 1155s # deleting 'private_file' 1155s # deleting 'normal_file2~' 1155s # deleting 'a' 1155s # deleting 'UTF_pr?i?lis? z' 1155s # deleting 'dir_hidden' 1155s # deleting '.a-hidden-file' 1155s # deleting 'file-in-.hidden1' 1155s # deleting '.hidden' 1155s # deleting 'file-in-.hidden2' 1155s # deleting 'pattern_file' 1155s # deleting 'normal_file2' 1155s # deleting 'not_exists2' 1155s # deleting 'not_exists3' 1155s # deleting 'not_exists4' 1155s ok 11 /live-g-file/final_clean 1155s # Start of test_unix_is_mountpoint tests 1155s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1155s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1155s # End of test_unix_is_mountpoint tests 1155s # End of live-g-file tests 1155s TAP version 14 1155s # random seed: R02Sc28874b62e614f22613f11a7f7f7faf2 1155s 1..11 1155s # Start of proxy tests 1155s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1155s ok 1 /proxy/direct_sync 1155s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1155s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x610d0f58f9c0 and GSocketClientAsyncConnectData 0x610d0f585260 1155s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1155s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x610d0f5903d0 for GSocketClientAsyncConnectData 0x610d0f585260 1155s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1155s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1155s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1155s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1155s ok 2 /proxy/direct_async 1155s ok 3 /proxy/single_sync 1155s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1155s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x610d0f591cd0 and GSocketClientAsyncConnectData 0x610d0f590e20 1155s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1155s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x610d0f592830 for GSocketClientAsyncConnectData 0x610d0f590e20 1155s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1155s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1155s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1155s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1155s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1155s ok 4 /proxy/single_async 1155s ok 5 /proxy/multiple_sync 1155s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1155s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x610d0f592560 and GSocketClientAsyncConnectData 0x610d0f592330 1155s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1155s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x610d0f592eb0 for GSocketClientAsyncConnectData 0x610d0f592330 1155s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1155s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1155s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1155s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1155s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1155s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x610d0f5928c0 for GSocketClientAsyncConnectData 0x610d0f592330 1155s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1155s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1155s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1155s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1155s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1155s ok 6 /proxy/multiple_async 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1155s ok 7 /proxy/invalid-uris-sync 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1155s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1155s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x610d0f592c40 and GSocketClientAsyncConnectData 0x610d0f592140 1155s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1155s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1155s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1155s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x610d0f591cd0 and GSocketClientAsyncConnectData 0x610d0f592140 1155s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1155s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1155s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1155s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x610d0f591cd0 and GSocketClientAsyncConnectData 0x610d0f592140 1155s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1155s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x610d0f590930 for GSocketClientAsyncConnectData 0x610d0f592140 1155s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1155s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1155s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1155s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1155s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1155s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x610d0f592560 and GSocketClientAsyncConnectData 0x610d0f592620 1155s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1155s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x610d0f590be0 for GSocketClientAsyncConnectData 0x610d0f592620 1155s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1155s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1155s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1155s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1155s ok 8 /proxy/invalid-uris-async 1155s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1155s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x610d0f591cd0 and GSocketClientAsyncConnectData 0x610d0f5922b0 1155s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1155s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1155s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1155s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1155s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1155s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x610d0f5922b0 and GSocketClientAsyncConnectData 0x610d0f592620 1155s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1155s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x610d0f5935e0 for GSocketClientAsyncConnectData 0x610d0f592620 1155s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1155s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1155s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1155s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1155s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1155s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1155s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1155s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x610d0f591cd0 and GSocketClientAsyncConnectData 0x610d0f592140 1155s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1155s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x610d0f592310 for GSocketClientAsyncConnectData 0x610d0f592140 1155s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1155s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1155s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1155s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1155s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1155s ok 9 /proxy/dns 1155s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1155s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x610d0f590810 and GSocketClientAsyncConnectData 0x610d0f592900 1155s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1155s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x610d0f5935e0 for GSocketClientAsyncConnectData 0x610d0f592900 1155s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1155s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1155s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1155s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1155s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1155s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1155s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1155s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x610d0f5919e0 and GSocketClientAsyncConnectData 0x610d0f591c10 1155s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1155s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x610d0f590be0 for GSocketClientAsyncConnectData 0x610d0f591c10 1155s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1155s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1155s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1155s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1155s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1155s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1155s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x610d0f5922b0 and GSocketClientAsyncConnectData 0x610d0f592900 1155s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1155s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x610d0f593600 for GSocketClientAsyncConnectData 0x610d0f592900 1155s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1155s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1155s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1155s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1155s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1155s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1155s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1155s ok 10 /proxy/override 1155s ok 11 /proxy/enumerator-ports 1155s # End of proxy tests 1155s TAP version 14 1155s # random seed: R02S8e001dbbf59011530d4b7d085d4d8549 1155s 1..1 1155s # Start of properties tests 1155s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1155s ok 1 /properties/notify-in-init2 1155s # End of properties tests 1155s TAP version 14 1155s # random seed: R02S81512a240a98d6729a398af388793470 1155s 1..1 1155s # Start of null-settings-backend tests 1155s ok 1 /null-settings-backend/extension-point-registered 1155s # End of null-settings-backend tests 1155s TAP version 14 1155s # random seed: R02S9f830a53f9e9fcbbfe4d7910935a2881 1155s 1..40 1155s # Start of utils tests 1155s ok 1 /utils/language-names 1155s ok 2 /utils/locale-variants 1155s ok 3 /utils/version 1155s ok 4 /utils/appname 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1155s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1155s ok 5 /utils/prgname-thread-safety 1155s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1155s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1155s ok 6 /utils/tmpdir 1155s ok - glib/live-g-file.test 1155s # Running test: glib/proxy-test.test 1155s ok - glib/proxy-test.test 1155s # Running test: glib/notify-init2.test 1155s ok - glib/notify-init2.test 1155s # Running test: glib/null-settings-backend.test 1155s ok - glib/null-settings-backend.test 1155s # Running test: glib/utils-c-17.test 1155s ok 7 /utils/basic_bits 1155s ok 8 /utils/bits 1155s ok 9 /utils/swap 1155s ok 10 /utils/find-program 1155s ok 11 /utils/find-program-for-path 1155s ok 12 /utils/debug 1155s ok 13 /utils/codeset 1155s ok 14 /utils/codeset2 1155s ok 15 /utils/console-charset 1155s ok 16 /utils/gettext 1155s ok 17 /utils/username 1155s ok 18 /utils/realname 1155s ok 19 /utils/hostname 1155s ok 20 /utils/xdgdirs 1155s ok 21 /utils/specialdir 1155s # NAME: Ubuntu 1155s ok 22 /utils/os-info 1155s ok 23 /utils/clear-pointer 1155s ok 24 /utils/clear-pointer-cast 1155s ok 25 /utils/take-pointer 1155s ok 26 /utils/clear-source 1155s ok 27 /utils/misc-mem 1155s # /utils/aligned-mem summary: Aligned memory allocator 1155s # Alignment must not be zero 1155s # Alignment must be a power of two 1155s # Alignment must be a multiple of sizeof(void*) 1155s ok 28 /utils/aligned-mem 1155s # /utils/free-sized summary: Check that g_free_sized() works 1155s ok 29 /utils/free-sized 1155s ok 30 /utils/nullify 1155s ok 31 /utils/atexit 1155s ok 32 /utils/check-setuid 1155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1155s ok 33 /utils/int-limits 1155s ok 34 /utils/clear-list 1155s ok 35 /utils/clear-slist 1155s # Start of specialdir tests 1155s ok 36 /utils/specialdir/desktop 1155s # End of specialdir tests 1155s # Start of clear-pointer tests 1155s ok 37 /utils/clear-pointer/side-effects 1155s # End of clear-pointer tests 1155s # Start of aligned-mem tests 1155s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1155s ok 38 /utils/aligned-mem/alignment 1155s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1155s ok 39 /utils/aligned-mem/zeroed 1155s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1155s ok 40 /utils/aligned-mem/free-sized 1155s # Start of subprocess tests 1155s # End of subprocess tests 1155s # End of aligned-mem tests 1155s # End of utils tests 1155s TAP version 14 1155s # random seed: R02Se41cc647f045ff6e6979129be3eaf2d6 1155s 1..3 1155s # Start of hostutils tests 1155s ok 1 /hostutils/to_ascii 1155s ok 2 /hostutils/to_unicode 1155s ok 3 /hostutils/is_ip_addr 1155s # End of hostutils tests 1155s ok - glib/utils-c-17.test 1155s # Running test: glib/hostutils.test 1155s ok - glib/hostutils.test 1155s # Running test: glib/checksum.test 1155s TAP version 14 1155s # random seed: R02S106ce44b689e7b5416663d1ac3755d13 1155s 1..1851 1155s # Start of checksum tests 1155s ok 1 /checksum/unsupported 1155s # Start of MD5 tests 1155s ok 2 /checksum/MD5/0 1155s ok 3 /checksum/MD5/1 1155s ok 4 /checksum/MD5/2 1155s ok 5 /checksum/MD5/3 1155s ok 6 /checksum/MD5/4 1155s ok 7 /checksum/MD5/5 1155s ok 8 /checksum/MD5/6 1155s ok 9 /checksum/MD5/7 1155s ok 10 /checksum/MD5/8 1155s ok 11 /checksum/MD5/9 1155s ok 12 /checksum/MD5/10 1155s ok 13 /checksum/MD5/11 1155s ok 14 /checksum/MD5/12 1155s ok 15 /checksum/MD5/13 1155s ok 16 /checksum/MD5/14 1155s ok 17 /checksum/MD5/15 1155s ok 18 /checksum/MD5/16 1155s ok 19 /checksum/MD5/17 1155s ok 20 /checksum/MD5/18 1155s ok 21 /checksum/MD5/19 1155s ok 22 /checksum/MD5/20 1155s ok 23 /checksum/MD5/21 1155s ok 24 /checksum/MD5/22 1155s ok 25 /checksum/MD5/23 1155s ok 26 /checksum/MD5/24 1155s ok 27 /checksum/MD5/25 1155s ok 28 /checksum/MD5/26 1155s ok 29 /checksum/MD5/27 1155s ok 30 /checksum/MD5/28 1155s ok 31 /checksum/MD5/29 1155s ok 32 /checksum/MD5/30 1155s ok 33 /checksum/MD5/31 1155s ok 34 /checksum/MD5/32 1155s ok 35 /checksum/MD5/33 1155s ok 36 /checksum/MD5/34 1155s ok 37 /checksum/MD5/35 1155s ok 38 /checksum/MD5/36 1155s ok 39 /checksum/MD5/37 1155s ok 40 /checksum/MD5/38 1155s ok 41 /checksum/MD5/39 1155s ok 42 /checksum/MD5/40 1155s ok 43 /checksum/MD5/41 1155s ok 44 /checksum/MD5/42 1155s ok 45 /checksum/MD5/43 1155s ok 46 /checksum/MD5/44 1155s ok 47 /checksum/MD5/45 1155s ok 48 /checksum/MD5/46 1155s ok 49 /checksum/MD5/47 1155s ok 50 /checksum/MD5/48 1155s ok 51 /checksum/MD5/49 1155s ok 52 /checksum/MD5/50 1155s ok 53 /checksum/MD5/51 1155s ok 54 /checksum/MD5/52 1155s ok 55 /checksum/MD5/53 1155s ok 56 /checksum/MD5/54 1155s ok 57 /checksum/MD5/55 1155s ok 58 /checksum/MD5/56 1155s ok 59 /checksum/MD5/57 1155s ok 60 /checksum/MD5/58 1155s ok 61 /checksum/MD5/59 1155s ok 62 /checksum/MD5/60 1155s ok 63 /checksum/MD5/61 1155s ok 64 /checksum/MD5/62 1155s ok 65 /checksum/MD5/63 1155s ok 66 /checksum/MD5/64 1155s ok 67 /checksum/MD5/65 1155s ok 68 /checksum/MD5/66 1155s ok 69 /checksum/MD5/67 1155s ok 70 /checksum/MD5/68 1155s ok 71 /checksum/MD5/69 1155s ok 72 /checksum/MD5/70 1155s ok 73 /checksum/MD5/71 1155s ok 74 /checksum/MD5/72 1155s ok 75 /checksum/MD5/73 1155s ok 76 /checksum/MD5/74 1155s ok 77 /checksum/MD5/75 1155s ok 78 /checksum/MD5/76 1155s ok 79 /checksum/MD5/77 1155s ok 80 /checksum/MD5/78 1155s ok 81 /checksum/MD5/79 1155s ok 82 /checksum/MD5/80 1155s ok 83 /checksum/MD5/81 1155s ok 84 /checksum/MD5/82 1155s ok 85 /checksum/MD5/83 1155s ok 86 /checksum/MD5/84 1155s ok 87 /checksum/MD5/85 1155s ok 88 /checksum/MD5/86 1155s ok 89 /checksum/MD5/87 1155s ok 90 /checksum/MD5/88 1155s ok 91 /checksum/MD5/89 1155s ok 92 /checksum/MD5/90 1155s ok 93 /checksum/MD5/91 1155s ok 94 /checksum/MD5/92 1155s ok 95 /checksum/MD5/93 1155s ok 96 /checksum/MD5/94 1155s ok 97 /checksum/MD5/95 1155s ok 98 /checksum/MD5/96 1155s ok 99 /checksum/MD5/97 1155s ok 100 /checksum/MD5/98 1155s ok 101 /checksum/MD5/99 1155s ok 102 /checksum/MD5/100 1155s ok 103 /checksum/MD5/101 1155s ok 104 /checksum/MD5/102 1155s ok 105 /checksum/MD5/103 1155s ok 106 /checksum/MD5/104 1155s ok 107 /checksum/MD5/105 1155s ok 108 /checksum/MD5/106 1155s ok 109 /checksum/MD5/107 1155s ok 110 /checksum/MD5/108 1155s ok 111 /checksum/MD5/109 1155s ok 112 /checksum/MD5/110 1155s ok 113 /checksum/MD5/111 1155s ok 114 /checksum/MD5/112 1155s ok 115 /checksum/MD5/113 1155s ok 116 /checksum/MD5/114 1155s ok 117 /checksum/MD5/115 1155s ok 118 /checksum/MD5/116 1155s ok 119 /checksum/MD5/117 1155s ok 120 /checksum/MD5/118 1155s ok 121 /checksum/MD5/119 1155s ok 122 /checksum/MD5/120 1155s ok 123 /checksum/MD5/121 1155s ok 124 /checksum/MD5/122 1155s ok 125 /checksum/MD5/123 1155s ok 126 /checksum/MD5/124 1155s ok 127 /checksum/MD5/125 1155s ok 128 /checksum/MD5/126 1155s ok 129 /checksum/MD5/127 1155s ok 130 /checksum/MD5/128 1155s ok 131 /checksum/MD5/129 1155s ok 132 /checksum/MD5/130 1155s ok 133 /checksum/MD5/131 1155s ok 134 /checksum/MD5/132 1155s ok 135 /checksum/MD5/133 1155s ok 136 /checksum/MD5/134 1155s ok 137 /checksum/MD5/135 1155s ok 138 /checksum/MD5/136 1155s ok 139 /checksum/MD5/137 1155s ok 140 /checksum/MD5/138 1155s ok 141 /checksum/MD5/139 1155s ok 142 /checksum/MD5/140 1155s ok 143 /checksum/MD5/141 1155s ok 144 /checksum/MD5/142 1155s ok 145 /checksum/MD5/143 1155s ok 146 /checksum/MD5/144 1155s ok 147 /checksum/MD5/145 1155s ok 148 /checksum/MD5/146 1155s ok 149 /checksum/MD5/147 1155s ok 150 /checksum/MD5/148 1155s ok 151 /checksum/MD5/149 1155s ok 152 /checksum/MD5/150 1155s ok 153 /checksum/MD5/151 1155s ok 154 /checksum/MD5/152 1155s ok 155 /checksum/MD5/153 1155s ok 156 /checksum/MD5/154 1155s ok 157 /checksum/MD5/155 1155s ok 158 /checksum/MD5/156 1155s ok 159 /checksum/MD5/157 1155s ok 160 /checksum/MD5/158 1155s ok 161 /checksum/MD5/159 1155s ok 162 /checksum/MD5/160 1155s ok 163 /checksum/MD5/161 1155s ok 164 /checksum/MD5/162 1155s ok 165 /checksum/MD5/163 1155s ok 166 /checksum/MD5/164 1155s ok 167 /checksum/MD5/165 1155s ok 168 /checksum/MD5/166 1155s ok 169 /checksum/MD5/167 1155s ok 170 /checksum/MD5/168 1155s ok 171 /checksum/MD5/169 1155s ok 172 /checksum/MD5/170 1155s ok 173 /checksum/MD5/171 1155s ok 174 /checksum/MD5/172 1155s ok 175 /checksum/MD5/173 1155s ok 176 /checksum/MD5/174 1155s ok 177 /checksum/MD5/175 1155s ok 178 /checksum/MD5/176 1155s ok 179 /checksum/MD5/177 1155s ok 180 /checksum/MD5/178 1155s ok 181 /checksum/MD5/179 1155s ok 182 /checksum/MD5/180 1155s ok 183 /checksum/MD5/181 1155s ok 184 /checksum/MD5/182 1155s ok 185 /checksum/MD5/183 1155s ok 186 /checksum/MD5/string 1155s ok 187 /checksum/MD5/bytes 1155s # Start of reset tests 1155s ok 188 /checksum/MD5/reset/0 1155s ok 189 /checksum/MD5/reset/1 1155s ok 190 /checksum/MD5/reset/2 1155s ok 191 /checksum/MD5/reset/3 1155s ok 192 /checksum/MD5/reset/4 1155s ok 193 /checksum/MD5/reset/5 1155s ok 194 /checksum/MD5/reset/6 1155s ok 195 /checksum/MD5/reset/7 1155s ok 196 /checksum/MD5/reset/8 1155s ok 197 /checksum/MD5/reset/9 1155s ok 198 /checksum/MD5/reset/10 1155s ok 199 /checksum/MD5/reset/11 1155s ok 200 /checksum/MD5/reset/12 1155s ok 201 /checksum/MD5/reset/13 1155s ok 202 /checksum/MD5/reset/14 1155s ok 203 /checksum/MD5/reset/15 1155s ok 204 /checksum/MD5/reset/16 1155s ok 205 /checksum/MD5/reset/17 1155s ok 206 /checksum/MD5/reset/18 1155s ok 207 /checksum/MD5/reset/19 1155s ok 208 /checksum/MD5/reset/20 1155s ok 209 /checksum/MD5/reset/21 1155s ok 210 /checksum/MD5/reset/22 1155s ok 211 /checksum/MD5/reset/23 1155s ok 212 /checksum/MD5/reset/24 1155s ok 213 /checksum/MD5/reset/25 1155s ok 214 /checksum/MD5/reset/26 1155s ok 215 /checksum/MD5/reset/27 1155s ok 216 /checksum/MD5/reset/28 1155s ok 217 /checksum/MD5/reset/29 1155s ok 218 /checksum/MD5/reset/30 1155s ok 219 /checksum/MD5/reset/31 1155s ok 220 /checksum/MD5/reset/32 1155s ok 221 /checksum/MD5/reset/33 1155s ok 222 /checksum/MD5/reset/34 1155s ok 223 /checksum/MD5/reset/35 1155s ok 224 /checksum/MD5/reset/36 1155s ok 225 /checksum/MD5/reset/37 1155s ok 226 /checksum/MD5/reset/38 1155s ok 227 /checksum/MD5/reset/39 1155s ok 228 /checksum/MD5/reset/40 1155s ok 229 /checksum/MD5/reset/41 1155s ok 230 /checksum/MD5/reset/42 1155s ok 231 /checksum/MD5/reset/43 1155s ok 232 /checksum/MD5/reset/44 1155s ok 233 /checksum/MD5/reset/45 1155s ok 234 /checksum/MD5/reset/46 1155s ok 235 /checksum/MD5/reset/47 1155s ok 236 /checksum/MD5/reset/48 1155s ok 237 /checksum/MD5/reset/49 1155s ok 238 /checksum/MD5/reset/50 1155s ok 239 /checksum/MD5/reset/51 1155s ok 240 /checksum/MD5/reset/52 1155s ok 241 /checksum/MD5/reset/53 1155s ok 242 /checksum/MD5/reset/54 1155s ok 243 /checksum/MD5/reset/55 1155s ok 244 /checksum/MD5/reset/56 1155s ok 245 /checksum/MD5/reset/57 1155s ok 246 /checksum/MD5/reset/58 1155s ok 247 /checksum/MD5/reset/59 1155s ok 248 /checksum/MD5/reset/60 1155s ok 249 /checksum/MD5/reset/61 1155s ok 250 /checksum/MD5/reset/62 1155s ok 251 /checksum/MD5/reset/63 1155s ok 252 /checksum/MD5/reset/64 1155s ok 253 /checksum/MD5/reset/65 1155s ok 254 /checksum/MD5/reset/66 1155s ok 255 /checksum/MD5/reset/67 1155s ok 256 /checksum/MD5/reset/68 1155s ok 257 /checksum/MD5/reset/69 1155s ok 258 /checksum/MD5/reset/70 1155s ok 259 /checksum/MD5/reset/71 1155s ok 260 /checksum/MD5/reset/72 1155s ok 261 /checksum/MD5/reset/73 1155s ok 262 /checksum/MD5/reset/74 1155s ok 263 /checksum/MD5/reset/75 1155s ok 264 /checksum/MD5/reset/76 1155s ok 265 /checksum/MD5/reset/77 1155s ok 266 /checksum/MD5/reset/78 1155s ok 267 /checksum/MD5/reset/79 1155s ok 268 /checksum/MD5/reset/80 1155s ok 269 /checksum/MD5/reset/81 1155s ok 270 /checksum/MD5/reset/82 1155s ok 271 /checksum/MD5/reset/83 1155s ok 272 /checksum/MD5/reset/84 1155s ok 273 /checksum/MD5/reset/85 1155s ok 274 /checksum/MD5/reset/86 1155s ok 275 /checksum/MD5/reset/87 1155s ok 276 /checksum/MD5/reset/88 1155s ok 277 /checksum/MD5/reset/89 1155s ok 278 /checksum/MD5/reset/90 1155s ok 279 /checksum/MD5/reset/91 1155s ok 280 /checksum/MD5/reset/92 1155s ok 281 /checksum/MD5/reset/93 1155s ok 282 /checksum/MD5/reset/94 1155s ok 283 /checksum/MD5/reset/95 1155s ok 284 /checksum/MD5/reset/96 1155s ok 285 /checksum/MD5/reset/97 1155s ok 286 /checksum/MD5/reset/98 1155s ok 287 /checksum/MD5/reset/99 1155s ok 288 /checksum/MD5/reset/100 1155s ok 289 /checksum/MD5/reset/101 1155s ok 290 /checksum/MD5/reset/102 1155s ok 291 /checksum/MD5/reset/103 1155s ok 292 /checksum/MD5/reset/104 1155s ok 293 /checksum/MD5/reset/105 1155s ok 294 /checksum/MD5/reset/106 1155s ok 295 /checksum/MD5/reset/107 1155s ok 296 /checksum/MD5/reset/108 1155s ok 297 /checksum/MD5/reset/109 1155s ok 298 /checksum/MD5/reset/110 1155s ok 299 /checksum/MD5/reset/111 1155s ok 300 /checksum/MD5/reset/112 1155s ok 301 /checksum/MD5/reset/113 1155s ok 302 /checksum/MD5/reset/114 1155s ok 303 /checksum/MD5/reset/115 1155s ok 304 /checksum/MD5/reset/116 1155s ok 305 /checksum/MD5/reset/117 1155s ok 306 /checksum/MD5/reset/118 1155s ok 307 /checksum/MD5/reset/119 1155s ok 308 /checksum/MD5/reset/120 1155s ok 309 /checksum/MD5/reset/121 1155s ok 310 /checksum/MD5/reset/122 1155s ok 311 /checksum/MD5/reset/123 1155s ok 312 /checksum/MD5/reset/124 1155s ok 313 /checksum/MD5/reset/125 1155s ok 314 /checksum/MD5/reset/126 1155s ok 315 /checksum/MD5/reset/127 1155s ok 316 /checksum/MD5/reset/128 1155s ok 317 /checksum/MD5/reset/129 1155s ok 318 /checksum/MD5/reset/130 1155s ok 319 /checksum/MD5/reset/131 1155s ok 320 /checksum/MD5/reset/132 1155s ok 321 /checksum/MD5/reset/133 1155s ok 322 /checksum/MD5/reset/134 1155s ok 323 /checksum/MD5/reset/135 1155s ok 324 /checksum/MD5/reset/136 1155s ok 325 /checksum/MD5/reset/137 1155s ok 326 /checksum/MD5/reset/138 1155s ok 327 /checksum/MD5/reset/139 1155s ok 328 /checksum/MD5/reset/140 1155s ok 329 /checksum/MD5/reset/141 1155s ok 330 /checksum/MD5/reset/142 1155s ok 331 /checksum/MD5/reset/143 1155s ok 332 /checksum/MD5/reset/144 1155s ok 333 /checksum/MD5/reset/145 1155s ok 334 /checksum/MD5/reset/146 1155s ok 335 /checksum/MD5/reset/147 1155s ok 336 /checksum/MD5/reset/148 1155s ok 337 /checksum/MD5/reset/149 1155s ok 338 /checksum/MD5/reset/150 1155s ok 339 /checksum/MD5/reset/151 1155s ok 340 /checksum/MD5/reset/152 1155s ok 341 /checksum/MD5/reset/153 1155s ok 342 /checksum/MD5/reset/154 1155s ok 343 /checksum/MD5/reset/155 1155s ok 344 /checksum/MD5/reset/156 1155s ok 345 /checksum/MD5/reset/157 1155s ok 346 /checksum/MD5/reset/158 1155s ok 347 /checksum/MD5/reset/159 1155s ok 348 /checksum/MD5/reset/160 1155s ok 349 /checksum/MD5/reset/161 1155s ok 350 /checksum/MD5/reset/162 1155s ok 351 /checksum/MD5/reset/163 1155s ok 352 /checksum/MD5/reset/164 1155s ok 353 /checksum/MD5/reset/165 1155s ok 354 /checksum/MD5/reset/166 1155s ok 355 /checksum/MD5/reset/167 1155s ok 356 /checksum/MD5/reset/168 1155s ok 357 /checksum/MD5/reset/169 1155s ok 358 /checksum/MD5/reset/170 1155s ok 359 /checksum/MD5/reset/171 1155s ok 360 /checksum/MD5/reset/172 1155s ok 361 /checksum/MD5/reset/173 1155s ok 362 /checksum/MD5/reset/174 1155s ok 363 /checksum/MD5/reset/175 1155s ok 364 /checksum/MD5/reset/176 1155s ok 365 /checksum/MD5/reset/177 1155s ok 366 /checksum/MD5/reset/178 1155s ok 367 /checksum/MD5/reset/179 1155s ok 368 /checksum/MD5/reset/180 1155s ok 369 /checksum/MD5/reset/181 1155s ok 370 /checksum/MD5/reset/182 1155s ok 371 /checksum/MD5/reset/183 1155s # End of reset tests 1155s # End of MD5 tests 1155s # Start of SHA1 tests 1155s ok 372 /checksum/SHA1/0 1155s ok 373 /checksum/SHA1/1 1155s ok 374 /checksum/SHA1/2 1155s ok 375 /checksum/SHA1/3 1155s ok 376 /checksum/SHA1/4 1155s ok 377 /checksum/SHA1/5 1155s ok 378 /checksum/SHA1/6 1155s ok 379 /checksum/SHA1/7 1155s ok 380 /checksum/SHA1/8 1155s ok 381 /checksum/SHA1/9 1155s ok 382 /checksum/SHA1/10 1155s ok 383 /checksum/SHA1/11 1155s ok 384 /checksum/SHA1/12 1155s ok 385 /checksum/SHA1/13 1155s ok 386 /checksum/SHA1/14 1155s ok 387 /checksum/SHA1/15 1155s ok 388 /checksum/SHA1/16 1155s ok 389 /checksum/SHA1/17 1155s ok 390 /checksum/SHA1/18 1155s ok 391 /checksum/SHA1/19 1155s ok 392 /checksum/SHA1/20 1155s ok 393 /checksum/SHA1/21 1155s ok 394 /checksum/SHA1/22 1155s ok 395 /checksum/SHA1/23 1155s ok 396 /checksum/SHA1/24 1155s ok 397 /checksum/SHA1/25 1155s ok 398 /checksum/SHA1/26 1155s ok 399 /checksum/SHA1/27 1155s ok 400 /checksum/SHA1/28 1155s ok 401 /checksum/SHA1/29 1155s ok 402 /checksum/SHA1/30 1155s ok 403 /checksum/SHA1/31 1155s ok 404 /checksum/SHA1/32 1155s ok 405 /checksum/SHA1/33 1155s ok 406 /checksum/SHA1/34 1155s ok 407 /checksum/SHA1/35 1155s ok 408 /checksum/SHA1/36 1155s ok 409 /checksum/SHA1/37 1155s ok 410 /checksum/SHA1/38 1155s ok 411 /checksum/SHA1/39 1155s ok 412 /checksum/SHA1/40 1155s ok 413 /checksum/SHA1/41 1155s ok 414 /checksum/SHA1/42 1155s ok 415 /checksum/SHA1/43 1155s ok 416 /checksum/SHA1/44 1155s ok 417 /checksum/SHA1/45 1155s ok 418 /checksum/SHA1/46 1155s ok 419 /checksum/SHA1/47 1155s ok 420 /checksum/SHA1/48 1155s ok 421 /checksum/SHA1/49 1155s ok 422 /checksum/SHA1/50 1155s ok 423 /checksum/SHA1/51 1155s ok 424 /checksum/SHA1/52 1155s ok 425 /checksum/SHA1/53 1155s ok 426 /checksum/SHA1/54 1155s ok 427 /checksum/SHA1/55 1155s ok 428 /checksum/SHA1/56 1155s ok 429 /checksum/SHA1/57 1155s ok 430 /checksum/SHA1/58 1155s ok 431 /checksum/SHA1/59 1155s ok 432 /checksum/SHA1/60 1155s ok 433 /checksum/SHA1/61 1155s ok 434 /checksum/SHA1/62 1155s ok 435 /checksum/SHA1/63 1155s ok 436 /checksum/SHA1/64 1155s ok 437 /checksum/SHA1/65 1155s ok 438 /checksum/SHA1/66 1155s ok 439 /checksum/SHA1/67 1155s ok 440 /checksum/SHA1/68 1155s ok 441 /checksum/SHA1/69 1155s ok 442 /checksum/SHA1/70 1155s ok 443 /checksum/SHA1/71 1155s ok 444 /checksum/SHA1/72 1155s ok 445 /checksum/SHA1/73 1155s ok 446 /checksum/SHA1/74 1155s ok 447 /checksum/SHA1/75 1155s ok 448 /checksum/SHA1/76 1155s ok 449 /checksum/SHA1/77 1155s ok 450 /checksum/SHA1/78 1155s ok 451 /checksum/SHA1/79 1155s ok 452 /checksum/SHA1/80 1155s ok 453 /checksum/SHA1/81 1155s ok 454 /checksum/SHA1/82 1155s ok 455 /checksum/SHA1/83 1155s ok 456 /checksum/SHA1/84 1155s ok 457 /checksum/SHA1/85 1155s ok 458 /checksum/SHA1/86 1155s ok 459 /checksum/SHA1/87 1155s ok 460 /checksum/SHA1/88 1155s ok 461 /checksum/SHA1/89 1155s ok 462 /checksum/SHA1/90 1155s ok 463 /checksum/SHA1/91 1155s ok 464 /checksum/SHA1/92 1155s ok 465 /checksum/SHA1/93 1155s ok 466 /checksum/SHA1/94 1155s ok 467 /checksum/SHA1/95 1155s ok 468 /checksum/SHA1/96 1155s ok 469 /checksum/SHA1/97 1155s ok 470 /checksum/SHA1/98 1155s ok 471 /checksum/SHA1/99 1155s ok 472 /checksum/SHA1/100 1155s ok 473 /checksum/SHA1/101 1155s ok 474 /checksum/SHA1/102 1155s ok 475 /checksum/SHA1/103 1155s ok 476 /checksum/SHA1/104 1155s ok 477 /checksum/SHA1/105 1155s ok 478 /checksum/SHA1/106 1155s ok 479 /checksum/SHA1/107 1155s ok 480 /checksum/SHA1/108 1155s ok 481 /checksum/SHA1/109 1155s ok 482 /checksum/SHA1/110 1155s ok 483 /checksum/SHA1/111 1155s ok 484 /checksum/SHA1/112 1155s ok 485 /checksum/SHA1/113 1155s ok 486 /checksum/SHA1/114 1155s ok 487 /checksum/SHA1/115 1155s ok 488 /checksum/SHA1/116 1155s ok 489 /checksum/SHA1/117 1155s ok 490 /checksum/SHA1/118 1155s ok 491 /checksum/SHA1/119 1155s ok 492 /checksum/SHA1/120 1155s ok 493 /checksum/SHA1/121 1155s ok 494 /checksum/SHA1/122 1155s ok 495 /checksum/SHA1/123 1155s ok 496 /checksum/SHA1/124 1155s ok 497 /checksum/SHA1/125 1155s ok 498 /checksum/SHA1/126 1155s ok 499 /checksum/SHA1/127 1155s ok 500 /checksum/SHA1/128 1155s ok 501 /checksum/SHA1/129 1155s ok 502 /checksum/SHA1/130 1155s ok 503 /checksum/SHA1/131 1155s ok 504 /checksum/SHA1/132 1155s ok 505 /checksum/SHA1/133 1155s ok 506 /checksum/SHA1/134 1155s ok 507 /checksum/SHA1/135 1155s ok 508 /checksum/SHA1/136 1155s ok 509 /checksum/SHA1/137 1155s ok 510 /checksum/SHA1/138 1155s ok 511 /checksum/SHA1/139 1155s ok 512 /checksum/SHA1/140 1155s ok 513 /checksum/SHA1/141 1155s ok 514 /checksum/SHA1/142 1155s ok 515 /checksum/SHA1/143 1155s ok 516 /checksum/SHA1/144 1155s ok 517 /checksum/SHA1/145 1155s ok 518 /checksum/SHA1/146 1155s ok 519 /checksum/SHA1/147 1155s ok 520 /checksum/SHA1/148 1155s ok 521 /checksum/SHA1/149 1155s ok 522 /checksum/SHA1/150 1155s ok 523 /checksum/SHA1/151 1155s ok 524 /checksum/SHA1/152 1155s ok 525 /checksum/SHA1/153 1155s ok 526 /checksum/SHA1/154 1155s ok 527 /checksum/SHA1/155 1155s ok 528 /checksum/SHA1/156 1155s ok 529 /checksum/SHA1/157 1155s ok 530 /checksum/SHA1/158 1155s ok 531 /checksum/SHA1/159 1155s ok 532 /checksum/SHA1/160 1155s ok 533 /checksum/SHA1/161 1155s ok 534 /checksum/SHA1/162 1155s ok 535 /checksum/SHA1/163 1155s ok 536 /checksum/SHA1/164 1155s ok 537 /checksum/SHA1/165 1155s ok 538 /checksum/SHA1/166 1155s ok 539 /checksum/SHA1/167 1155s ok 540 /checksum/SHA1/168 1155s ok 541 /checksum/SHA1/169 1155s ok 542 /checksum/SHA1/170 1155s ok 543 /checksum/SHA1/171 1155s ok 544 /checksum/SHA1/172 1155s ok 545 /checksum/SHA1/173 1155s ok 546 /checksum/SHA1/174 1155s ok 547 /checksum/SHA1/175 1155s ok 548 /checksum/SHA1/176 1155s ok 549 /checksum/SHA1/177 1155s ok 550 /checksum/SHA1/178 1155s ok 551 /checksum/SHA1/179 1155s ok 552 /checksum/SHA1/180 1155s ok 553 /checksum/SHA1/181 1155s ok 554 /checksum/SHA1/182 1155s ok 555 /checksum/SHA1/183 1155s ok 556 /checksum/SHA1/string 1155s ok 557 /checksum/SHA1/bytes 1155s # Start of reset tests 1155s ok 558 /checksum/SHA1/reset/0 1155s ok 559 /checksum/SHA1/reset/1 1155s ok 560 /checksum/SHA1/reset/2 1155s ok 561 /checksum/SHA1/reset/3 1155s ok 562 /checksum/SHA1/reset/4 1155s ok 563 /checksum/SHA1/reset/5 1155s ok 564 /checksum/SHA1/reset/6 1155s ok 565 /checksum/SHA1/reset/7 1155s ok 566 /checksum/SHA1/reset/8 1155s ok 567 /checksum/SHA1/reset/9 1155s ok 568 /checksum/SHA1/reset/10 1155s ok 569 /checksum/SHA1/reset/11 1155s ok 570 /checksum/SHA1/reset/12 1155s ok 571 /checksum/SHA1/reset/13 1155s ok 572 /checksum/SHA1/reset/14 1155s ok 573 /checksum/SHA1/reset/15 1155s ok 574 /checksum/SHA1/reset/16 1155s ok 575 /checksum/SHA1/reset/17 1155s ok 576 /checksum/SHA1/reset/18 1155s ok 577 /checksum/SHA1/reset/19 1155s ok 578 /checksum/SHA1/reset/20 1155s ok 579 /checksum/SHA1/reset/21 1155s ok 580 /checksum/SHA1/reset/22 1155s ok 581 /checksum/SHA1/reset/23 1155s ok 582 /checksum/SHA1/reset/24 1155s ok 583 /checksum/SHA1/reset/25 1155s ok 584 /checksum/SHA1/reset/26 1155s ok 585 /checksum/SHA1/reset/27 1155s ok 586 /checksum/SHA1/reset/28 1155s ok 587 /checksum/SHA1/reset/29 1155s ok 588 /checksum/SHA1/reset/30 1155s ok 589 /checksum/SHA1/reset/31 1155s ok 590 /checksum/SHA1/reset/32 1155s ok 591 /checksum/SHA1/reset/33 1155s ok 592 /checksum/SHA1/reset/34 1155s ok 593 /checksum/SHA1/reset/35 1155s ok 594 /checksum/SHA1/reset/36 1155s ok 595 /checksum/SHA1/reset/37 1155s ok 596 /checksum/SHA1/reset/38 1155s ok 597 /checksum/SHA1/reset/39 1155s ok 598 /checksum/SHA1/reset/40 1155s ok 599 /checksum/SHA1/reset/41 1155s ok 600 /checksum/SHA1/reset/42 1155s ok 601 /checksum/SHA1/reset/43 1155s ok 602 /checksum/SHA1/reset/44 1155s ok 603 /checksum/SHA1/reset/45 1155s ok 604 /checksum/SHA1/reset/46 1155s ok 605 /checksum/SHA1/reset/47 1155s ok 606 /checksum/SHA1/reset/48 1155s ok 607 /checksum/SHA1/reset/49 1155s ok 608 /checksum/SHA1/reset/50 1155s ok 609 /checksum/SHA1/reset/51 1155s ok 610 /checksum/SHA1/reset/52 1155s ok 611 /checksum/SHA1/reset/53 1155s ok 612 /checksum/SHA1/reset/54 1155s ok 613 /checksum/SHA1/reset/55 1155s ok 614 /checksum/SHA1/reset/56 1155s ok 615 /checksum/SHA1/reset/57 1155s ok 616 /checksum/SHA1/reset/58 1155s ok 617 /checksum/SHA1/reset/59 1155s ok 618 /checksum/SHA1/reset/60 1155s ok 619 /checksum/SHA1/reset/61 1155s ok 620 /checksum/SHA1/reset/62 1155s ok 621 /checksum/SHA1/reset/63 1155s ok 622 /checksum/SHA1/reset/64 1155s ok 623 /checksum/SHA1/reset/65 1155s ok 624 /checksum/SHA1/reset/66 1155s ok 625 /checksum/SHA1/reset/67 1155s ok 626 /checksum/SHA1/reset/68 1155s ok 627 /checksum/SHA1/reset/69 1155s ok 628 /checksum/SHA1/reset/70 1155s ok 629 /checksum/SHA1/reset/71 1155s ok 630 /checksum/SHA1/reset/72 1155s ok 631 /checksum/SHA1/reset/73 1155s ok 632 /checksum/SHA1/reset/74 1155s ok 633 /checksum/SHA1/reset/75 1155s ok 634 /checksum/SHA1/reset/76 1155s ok 635 /checksum/SHA1/reset/77 1155s ok 636 /checksum/SHA1/reset/78 1155s ok 637 /checksum/SHA1/reset/79 1155s ok 638 /checksum/SHA1/reset/80 1155s ok 639 /checksum/SHA1/reset/81 1155s ok 640 /checksum/SHA1/reset/82 1155s ok 641 /checksum/SHA1/reset/83 1155s ok 642 /checksum/SHA1/reset/84 1155s ok 643 /checksum/SHA1/reset/85 1155s ok 644 /checksum/SHA1/reset/86 1155s ok 645 /checksum/SHA1/reset/87 1155s ok 646 /checksum/SHA1/reset/88 1155s ok 647 /checksum/SHA1/reset/89 1155s ok 648 /checksum/SHA1/reset/90 1155s ok 649 /checksum/SHA1/reset/91 1155s ok 650 /checksum/SHA1/reset/92 1155s ok 651 /checksum/SHA1/reset/93 1155s ok 652 /checksum/SHA1/reset/94 1155s ok 653 /checksum/SHA1/reset/95 1155s ok 654 /checksum/SHA1/reset/96 1155s ok 655 /checksum/SHA1/reset/97 1155s ok 656 /checksum/SHA1/reset/98 1155s ok 657 /checksum/SHA1/reset/99 1155s ok 658 /checksum/SHA1/reset/100 1155s ok 659 /checksum/SHA1/reset/101 1155s ok 660 /checksum/SHA1/reset/102 1155s ok 661 /checksum/SHA1/reset/103 1155s ok 662 /checksum/SHA1/reset/104 1155s ok 663 /checksum/SHA1/reset/105 1155s ok 664 /checksum/SHA1/reset/106 1155s ok 665 /checksum/SHA1/reset/107 1155s ok 666 /checksum/SHA1/reset/108 1155s ok 667 /checksum/SHA1/reset/109 1155s ok 668 /checksum/SHA1/reset/110 1155s ok 669 /checksum/SHA1/reset/111 1155s ok 670 /checksum/SHA1/reset/112 1155s ok 671 /checksum/SHA1/reset/113 1155s ok 672 /checksum/SHA1/reset/114 1155s ok 673 /checksum/SHA1/reset/115 1155s ok 674 /checksum/SHA1/reset/116 1155s ok 675 /checksum/SHA1/reset/117 1155s ok 676 /checksum/SHA1/reset/118 1155s ok 677 /checksum/SHA1/reset/119 1155s ok 678 /checksum/SHA1/reset/120 1155s ok 679 /checksum/SHA1/reset/121 1155s ok 680 /checksum/SHA1/reset/122 1155s ok 681 /checksum/SHA1/reset/123 1155s ok 682 /checksum/SHA1/reset/124 1155s ok 683 /checksum/SHA1/reset/125 1155s ok 684 /checksum/SHA1/reset/126 1155s ok 685 /checksum/SHA1/reset/127 1155s ok 686 /checksum/SHA1/reset/128 1155s ok 687 /checksum/SHA1/reset/129 1155s ok 688 /checksum/SHA1/reset/130 1155s ok 689 /checksum/SHA1/reset/131 1155s ok 690 /checksum/SHA1/reset/132 1155s ok 691 /checksum/SHA1/reset/133 1155s ok 692 /checksum/SHA1/reset/134 1155s ok 693 /checksum/SHA1/reset/135 1155s ok 694 /checksum/SHA1/reset/136 1155s ok 695 /checksum/SHA1/reset/137 1155s ok 696 /checksum/SHA1/reset/138 1155s ok 697 /checksum/SHA1/reset/139 1155s ok 698 /checksum/SHA1/reset/140 1155s ok 699 /checksum/SHA1/reset/141 1155s ok 700 /checksum/SHA1/reset/142 1155s ok 701 /checksum/SHA1/reset/143 1155s ok 702 /checksum/SHA1/reset/144 1155s ok 703 /checksum/SHA1/reset/145 1155s ok 704 /checksum/SHA1/reset/146 1155s ok 705 /checksum/SHA1/reset/147 1155s ok 706 /checksum/SHA1/reset/148 1155s ok 707 /checksum/SHA1/reset/149 1155s ok 708 /checksum/SHA1/reset/150 1155s ok 709 /checksum/SHA1/reset/151 1155s ok 710 /checksum/SHA1/reset/152 1155s ok 711 /checksum/SHA1/reset/153 1155s ok 712 /checksum/SHA1/reset/154 1155s ok 713 /checksum/SHA1/reset/155 1155s ok 714 /checksum/SHA1/reset/156 1155s ok 715 /checksum/SHA1/reset/157 1155s ok 716 /checksum/SHA1/reset/158 1155s ok 717 /checksum/SHA1/reset/159 1155s ok 718 /checksum/SHA1/reset/160 1155s ok 719 /checksum/SHA1/reset/161 1155s ok 720 /checksum/SHA1/reset/162 1155s ok 721 /checksum/SHA1/reset/163 1155s ok 722 /checksum/SHA1/reset/164 1155s ok 723 /checksum/SHA1/reset/165 1155s ok 724 /checksum/SHA1/reset/166 1155s ok 725 /checksum/SHA1/reset/167 1155s ok 726 /checksum/SHA1/reset/168 1155s ok 727 /checksum/SHA1/reset/169 1155s ok 728 /checksum/SHA1/reset/170 1155s ok 729 /checksum/SHA1/reset/171 1155s ok 730 /checksum/SHA1/reset/172 1155s ok 731 /checksum/SHA1/reset/173 1155s ok 732 /checksum/SHA1/reset/174 1155s ok 733 /checksum/SHA1/reset/175 1155s ok 734 /checksum/SHA1/reset/176 1155s ok 735 /checksum/SHA1/reset/177 1155s ok 736 /checksum/SHA1/reset/178 1155s ok 737 /checksum/SHA1/reset/179 1155s ok 738 /checksum/SHA1/reset/180 1155s ok 739 /checksum/SHA1/reset/181 1155s ok 740 /checksum/SHA1/reset/182 1155s ok 741 /checksum/SHA1/reset/183 1155s # End of reset tests 1155s # End of SHA1 tests 1155s # Start of SHA256 tests 1155s ok 742 /checksum/SHA256/0 1155s ok 743 /checksum/SHA256/1 1155s ok 744 /checksum/SHA256/2 1155s ok 745 /checksum/SHA256/3 1155s ok 746 /checksum/SHA256/4 1155s ok 747 /checksum/SHA256/5 1155s ok 748 /checksum/SHA256/6 1155s ok 749 /checksum/SHA256/7 1155s ok 750 /checksum/SHA256/8 1155s ok 751 /checksum/SHA256/9 1155s ok 752 /checksum/SHA256/10 1155s ok 753 /checksum/SHA256/11 1155s ok 754 /checksum/SHA256/12 1155s ok 755 /checksum/SHA256/13 1155s ok 756 /checksum/SHA256/14 1155s ok 757 /checksum/SHA256/15 1155s ok 758 /checksum/SHA256/16 1155s ok 759 /checksum/SHA256/17 1155s ok 760 /checksum/SHA256/18 1155s ok 761 /checksum/SHA256/19 1155s ok 762 /checksum/SHA256/20 1155s ok 763 /checksum/SHA256/21 1155s ok 764 /checksum/SHA256/22 1155s ok 765 /checksum/SHA256/23 1155s ok 766 /checksum/SHA256/24 1155s ok 767 /checksum/SHA256/25 1155s ok 768 /checksum/SHA256/26 1155s ok 769 /checksum/SHA256/27 1155s ok 770 /checksum/SHA256/28 1155s ok 771 /checksum/SHA256/29 1155s ok 772 /checksum/SHA256/30 1155s ok 773 /checksum/SHA256/31 1155s ok 774 /checksum/SHA256/32 1155s ok 775 /checksum/SHA256/33 1155s ok 776 /checksum/SHA256/34 1155s ok 777 /checksum/SHA256/35 1155s ok 778 /checksum/SHA256/36 1155s ok 779 /checksum/SHA256/37 1155s ok 780 /checksum/SHA256/38 1155s ok 781 /checksum/SHA256/39 1155s ok 782 /checksum/SHA256/40 1155s ok 783 /checksum/SHA256/41 1155s ok 784 /checksum/SHA256/42 1155s ok 785 /checksum/SHA256/43 1155s ok 786 /checksum/SHA256/44 1155s ok 787 /checksum/SHA256/45 1155s ok 788 /checksum/SHA256/46 1155s ok 789 /checksum/SHA256/47 1155s ok 790 /checksum/SHA256/48 1155s ok 791 /checksum/SHA256/49 1155s ok 792 /checksum/SHA256/50 1155s ok 793 /checksum/SHA256/51 1155s ok 794 /checksum/SHA256/52 1155s ok 795 /checksum/SHA256/53 1155s ok 796 /checksum/SHA256/54 1155s ok 797 /checksum/SHA256/55 1155s ok 798 /checksum/SHA256/56 1155s ok 799 /checksum/SHA256/57 1155s ok 800 /checksum/SHA256/58 1155s ok 801 /checksum/SHA256/59 1155s ok 802 /checksum/SHA256/60 1155s ok 803 /checksum/SHA256/61 1155s ok 804 /checksum/SHA256/62 1155s ok 805 /checksum/SHA256/63 1155s ok 806 /checksum/SHA256/64 1155s ok 807 /checksum/SHA256/65 1155s ok 808 /checksum/SHA256/66 1155s ok 809 /checksum/SHA256/67 1155s ok 810 /checksum/SHA256/68 1155s ok 811 /checksum/SHA256/69 1155s ok 812 /checksum/SHA256/70 1155s ok 813 /checksum/SHA256/71 1155s ok 814 /checksum/SHA256/72 1155s ok 815 /checksum/SHA256/73 1155s ok 816 /checksum/SHA256/74 1155s ok 817 /checksum/SHA256/75 1155s ok 818 /checksum/SHA256/76 1155s ok 819 /checksum/SHA256/77 1155s ok 820 /checksum/SHA256/78 1155s ok 821 /checksum/SHA256/79 1155s ok 822 /checksum/SHA256/80 1155s ok 823 /checksum/SHA256/81 1155s ok 824 /checksum/SHA256/82 1155s ok 825 /checksum/SHA256/83 1155s ok 826 /checksum/SHA256/84 1155s ok 827 /checksum/SHA256/85 1155s ok 828 /checksum/SHA256/86 1155s ok 829 /checksum/SHA256/87 1155s ok 830 /checksum/SHA256/88 1155s ok 831 /checksum/SHA256/89 1155s ok 832 /checksum/SHA256/90 1155s ok 833 /checksum/SHA256/91 1155s ok 834 /checksum/SHA256/92 1155s ok 835 /checksum/SHA256/93 1155s ok 836 /checksum/SHA256/94 1155s ok 837 /checksum/SHA256/95 1155s ok 838 /checksum/SHA256/96 1155s ok 839 /checksum/SHA256/97 1155s ok 840 /checksum/SHA256/98 1155s ok 841 /checksum/SHA256/99 1155s ok 842 /checksum/SHA256/100 1155s ok 843 /checksum/SHA256/101 1155s ok 844 /checksum/SHA256/102 1155s ok 845 /checksum/SHA256/103 1155s ok 846 /checksum/SHA256/104 1155s ok 847 /checksum/SHA256/105 1155s ok 848 /checksum/SHA256/106 1155s ok 849 /checksum/SHA256/107 1155s ok 850 /checksum/SHA256/108 1155s ok 851 /checksum/SHA256/109 1155s ok 852 /checksum/SHA256/110 1155s ok 853 /checksum/SHA256/111 1155s ok 854 /checksum/SHA256/112 1155s ok 855 /checksum/SHA256/113 1155s ok 856 /checksum/SHA256/114 1155s ok 857 /checksum/SHA256/115 1155s ok 858 /checksum/SHA256/116 1155s ok 859 /checksum/SHA256/117 1155s ok 860 /checksum/SHA256/118 1155s ok 861 /checksum/SHA256/119 1155s ok 862 /checksum/SHA256/120 1155s ok 863 /checksum/SHA256/121 1155s ok 864 /checksum/SHA256/122 1155s ok 865 /checksum/SHA256/123 1155s ok 866 /checksum/SHA256/124 1155s ok 867 /checksum/SHA256/125 1155s ok 868 /checksum/SHA256/126 1155s ok 869 /checksum/SHA256/127 1155s ok 870 /checksum/SHA256/128 1155s ok 871 /checksum/SHA256/129 1155s ok 872 /checksum/SHA256/130 1155s ok 873 /checksum/SHA256/131 1155s ok 874 /checksum/SHA256/132 1155s ok 875 /checksum/SHA256/133 1155s ok 876 /checksum/SHA256/134 1155s ok 877 /checksum/SHA256/135 1155s ok 878 /checksum/SHA256/136 1155s ok 879 /checksum/SHA256/137 1155s ok 880 /checksum/SHA256/138 1155s ok 881 /checksum/SHA256/139 1155s ok 882 /checksum/SHA256/140 1155s ok 883 /checksum/SHA256/141 1155s ok 884 /checksum/SHA256/142 1155s ok 885 /checksum/SHA256/143 1155s ok 886 /checksum/SHA256/144 1155s ok 887 /checksum/SHA256/145 1155s ok 888 /checksum/SHA256/146 1155s ok 889 /checksum/SHA256/147 1155s ok 890 /checksum/SHA256/148 1155s ok 891 /checksum/SHA256/149 1155s ok 892 /checksum/SHA256/150 1155s ok 893 /checksum/SHA256/151 1155s ok 894 /checksum/SHA256/152 1155s ok 895 /checksum/SHA256/153 1155s ok 896 /checksum/SHA256/154 1155s ok 897 /checksum/SHA256/155 1155s ok 898 /checksum/SHA256/156 1155s ok 899 /checksum/SHA256/157 1155s ok 900 /checksum/SHA256/158 1155s ok 901 /checksum/SHA256/159 1155s ok 902 /checksum/SHA256/160 1155s ok 903 /checksum/SHA256/161 1155s ok 904 /checksum/SHA256/162 1155s ok 905 /checksum/SHA256/163 1155s ok 906 /checksum/SHA256/164 1155s ok 907 /checksum/SHA256/165 1155s ok 908 /checksum/SHA256/166 1155s ok 909 /checksum/SHA256/167 1155s ok 910 /checksum/SHA256/168 1155s ok 911 /checksum/SHA256/169 1155s ok 912 /checksum/SHA256/170 1155s ok 913 /checksum/SHA256/171 1155s ok 914 /checksum/SHA256/172 1155s ok 915 /checksum/SHA256/173 1155s ok 916 /checksum/SHA256/174 1155s ok 917 /checksum/SHA256/175 1155s ok 918 /checksum/SHA256/176 1155s ok 919 /checksum/SHA256/177 1155s ok 920 /checksum/SHA256/178 1155s ok 921 /checksum/SHA256/179 1155s ok 922 /checksum/SHA256/180 1155s ok 923 /checksum/SHA256/181 1155s ok 924 /checksum/SHA256/182 1155s ok 925 /checksum/SHA256/183 1155s ok 926 /checksum/SHA256/string 1155s ok 927 /checksum/SHA256/bytes 1155s # Start of reset tests 1155s ok 928 /checksum/SHA256/reset/0 1155s ok 929 /checksum/SHA256/reset/1 1155s ok 930 /checksum/SHA256/reset/2 1155s ok 931 /checksum/SHA256/reset/3 1155s ok 932 /checksum/SHA256/reset/4 1155s ok 933 /checksum/SHA256/reset/5 1155s ok 934 /checksum/SHA256/reset/6 1155s ok 935 /checksum/SHA256/reset/7 1155s ok 936 /checksum/SHA256/reset/8 1155s ok 937 /checksum/SHA256/reset/9 1155s ok 938 /checksum/SHA256/reset/10 1155s ok 939 /checksum/SHA256/reset/11 1155s ok 940 /checksum/SHA256/reset/12 1155s ok 941 /checksum/SHA256/reset/13 1155s ok 942 /checksum/SHA256/reset/14 1155s ok 943 /checksum/SHA256/reset/15 1155s ok 944 /checksum/SHA256/reset/16 1155s ok 945 /checksum/SHA256/reset/17 1155s ok 946 /checksum/SHA256/reset/18 1155s ok 947 /checksum/SHA256/reset/19 1155s ok 948 /checksum/SHA256/reset/20 1155s ok 949 /checksum/SHA256/reset/21 1155s ok 950 /checksum/SHA256/reset/22 1155s ok 951 /checksum/SHA256/reset/23 1155s ok 952 /checksum/SHA256/reset/24 1155s ok 953 /checksum/SHA256/reset/25 1155s ok 954 /checksum/SHA256/reset/26 1155s ok 955 /checksum/SHA256/reset/27 1155s ok 956 /checksum/SHA256/reset/28 1155s ok 957 /checksum/SHA256/reset/29 1155s ok 958 /checksum/SHA256/reset/30 1155s ok 959 /checksum/SHA256/reset/31 1155s ok 960 /checksum/SHA256/reset/32 1155s ok 961 /checksum/SHA256/reset/33 1155s ok 962 /checksum/SHA256/reset/34 1155s ok 963 /checksum/SHA256/reset/35 1155s ok 964 /checksum/SHA256/reset/36 1155s ok 965 /checksum/SHA256/reset/37 1155s ok 966 /checksum/SHA256/reset/38 1155s ok 967 /checksum/SHA256/reset/39 1155s ok 968 /checksum/SHA256/reset/40 1155s ok 969 /checksum/SHA256/reset/41 1155s ok 970 /checksum/SHA256/reset/42 1155s ok 971 /checksum/SHA256/reset/43 1155s ok 972 /checksum/SHA256/reset/44 1155s ok 973 /checksum/SHA256/reset/45 1155s ok 974 /checksum/SHA256/reset/46 1155s ok 975 /checksum/SHA256/reset/47 1155s ok 976 /checksum/SHA256/reset/48 1155s ok 977 /checksum/SHA256/reset/49 1155s ok 978 /checksum/SHA256/reset/50 1155s ok 979 /checksum/SHA256/reset/51 1155s ok 980 /checksum/SHA256/reset/52 1155s ok 981 /checksum/SHA256/reset/53 1155s ok 982 /checksum/SHA256/reset/54 1155s ok 983 /checksum/SHA256/reset/55 1155s ok 984 /checksum/SHA256/reset/56 1155s ok 985 /checksum/SHA256/reset/57 1155s ok 986 /checksum/SHA256/reset/58 1155s ok 987 /checksum/SHA256/reset/59 1155s ok 988 /checksum/SHA256/reset/60 1155s ok 989 /checksum/SHA256/reset/61 1155s ok 990 /checksum/SHA256/reset/62 1155s ok 991 /checksum/SHA256/reset/63 1155s ok 992 /checksum/SHA256/reset/64 1155s ok 993 /checksum/SHA256/reset/65 1155s ok 994 /checksum/SHA256/reset/66 1155s ok 995 /checksum/SHA256/reset/67 1155s ok 996 /checksum/SHA256/reset/68 1155s ok 997 /checksum/SHA256/reset/69 1155s ok 998 /checksum/SHA256/reset/70 1155s ok 999 /checksum/SHA256/reset/71 1155s ok 1000 /checksum/SHA256/reset/72 1155s ok 1001 /checksum/SHA256/reset/73 1155s ok 1002 /checksum/SHA256/reset/74 1155s ok 1003 /checksum/SHA256/reset/75 1155s ok 1004 /checksum/SHA256/reset/76 1155s ok 1005 /checksum/SHA256/reset/77 1155s ok 1006 /checksum/SHA256/reset/78 1155s ok 1007 /checksum/SHA256/reset/79 1155s ok 1008 /checksum/SHA256/reset/80 1155s ok 1009 /checksum/SHA256/reset/81 1155s ok 1010 /checksum/SHA256/reset/82 1155s ok 1011 /checksum/SHA256/reset/83 1155s ok 1012 /checksum/SHA256/reset/84 1155s ok 1013 /checksum/SHA256/reset/85 1155s ok 1014 /checksum/SHA256/reset/86 1155s ok 1015 /checksum/SHA256/reset/87 1155s ok 1016 /checksum/SHA256/reset/88 1155s ok 1017 /checksum/SHA256/reset/89 1155s ok 1018 /checksum/SHA256/reset/90 1155s ok 1019 /checksum/SHA256/reset/91 1155s ok 1020 /checksum/SHA256/reset/92 1155s ok 1021 /checksum/SHA256/reset/93 1155s ok 1022 /checksum/SHA256/reset/94 1155s ok 1023 /checksum/SHA256/reset/95 1155s ok 1024 /checksum/SHA256/reset/96 1155s ok 1025 /checksum/SHA256/reset/97 1155s ok 1026 /checksum/SHA256/reset/98 1155s ok 1027 /checksum/SHA256/reset/99 1155s ok 1028 /checksum/SHA256/reset/100 1155s ok 1029 /checksum/SHA256/reset/101 1155s ok 1030 /checksum/SHA256/reset/102 1155s ok 1031 /checksum/SHA256/reset/103 1155s ok 1032 /checksum/SHA256/reset/104 1155s ok 1033 /checksum/SHA256/reset/105 1155s ok 1034 /checksum/SHA256/reset/106 1155s ok 1035 /checksum/SHA256/reset/107 1155s ok 1036 /checksum/SHA256/reset/108 1155s ok 1037 /checksum/SHA256/reset/109 1155s ok 1038 /checksum/SHA256/reset/110 1155s ok 1039 /checksum/SHA256/reset/111 1155s ok 1040 /checksum/SHA256/reset/112 1155s ok 1041 /checksum/SHA256/reset/113 1155s ok 1042 /checksum/SHA256/reset/114 1155s ok 1043 /checksum/SHA256/reset/115 1155s ok 1044 /checksum/SHA256/reset/116 1155s ok 1045 /checksum/SHA256/reset/117 1155s ok 1046 /checksum/SHA256/reset/118 1155s ok 1047 /checksum/SHA256/reset/119 1155s ok 1048 /checksum/SHA256/reset/120 1155s ok 1049 /checksum/SHA256/reset/121 1155s ok 1050 /checksum/SHA256/reset/122 1155s ok 1051 /checksum/SHA256/reset/123 1155s ok 1052 /checksum/SHA256/reset/124 1155s ok 1053 /checksum/SHA256/reset/125 1155s ok 1054 /checksum/SHA256/reset/126 1155s ok 1055 /checksum/SHA256/reset/127 1155s ok 1056 /checksum/SHA256/reset/128 1155s ok 1057 /checksum/SHA256/reset/129 1155s ok 1058 /checksum/SHA256/reset/130 1155s ok 1059 /checksum/SHA256/reset/131 1155s ok 1060 /checksum/SHA256/reset/132 1155s ok 1061 /checksum/SHA256/reset/133 1155s ok 1062 /checksum/SHA256/reset/134 1155s ok 1063 /checksum/SHA256/reset/135 1155s ok 1064 /checksum/SHA256/reset/136 1155s ok 1065 /checksum/SHA256/reset/137 1155s ok 1066 /checksum/SHA256/reset/138 1155s ok 1067 /checksum/SHA256/reset/139 1155s ok 1068 /checksum/SHA256/reset/140 1155s ok 1069 /checksum/SHA256/reset/141 1155s ok 1070 /checksum/SHA256/reset/142 1155s ok 1071 /checksum/SHA256/reset/143 1155s ok 1072 /checksum/SHA256/reset/144 1155s ok 1073 /checksum/SHA256/reset/145 1155s ok 1074 /checksum/SHA256/reset/146 1155s ok 1075 /checksum/SHA256/reset/147 1155s ok 1076 /checksum/SHA256/reset/148 1155s ok 1077 /checksum/SHA256/reset/149 1155s ok 1078 /checksum/SHA256/reset/150 1155s ok 1079 /checksum/SHA256/reset/151 1155s ok 1080 /checksum/SHA256/reset/152 1155s ok 1081 /checksum/SHA256/reset/153 1155s ok 1082 /checksum/SHA256/reset/154 1155s ok 1083 /checksum/SHA256/reset/155 1155s ok 1084 /checksum/SHA256/reset/156 1155s ok 1085 /checksum/SHA256/reset/157 1155s ok 1086 /checksum/SHA256/reset/158 1155s ok 1087 /checksum/SHA256/reset/159 1155s ok 1088 /checksum/SHA256/reset/160 1155s ok 1089 /checksum/SHA256/reset/161 1155s ok 1090 /checksum/SHA256/reset/162 1155s ok 1091 /checksum/SHA256/reset/163 1155s ok 1092 /checksum/SHA256/reset/164 1155s ok 1093 /checksum/SHA256/reset/165 1155s ok 1094 /checksum/SHA256/reset/166 1155s ok 1095 /checksum/SHA256/reset/167 1155s ok 1096 /checksum/SHA256/reset/168 1155s ok 1097 /checksum/SHA256/reset/169 1155s ok 1098 /checksum/SHA256/reset/170 1155s ok 1099 /checksum/SHA256/reset/171 1155s ok 1100 /checksum/SHA256/reset/172 1155s ok 1101 /checksum/SHA256/reset/173 1155s ok 1102 /checksum/SHA256/reset/174 1155s ok 1103 /checksum/SHA256/reset/175 1155s ok 1104 /checksum/SHA256/reset/176 1155s ok 1105 /checksum/SHA256/reset/177 1155s ok 1106 /checksum/SHA256/reset/178 1155s ok 1107 /checksum/SHA256/reset/179 1155s ok 1108 /checksum/SHA256/reset/180 1155s ok 1109 /checksum/SHA256/reset/181 1155s ok 1110 /checksum/SHA256/reset/182 1155s ok 1111 /checksum/SHA256/reset/183 1155s # End of reset tests 1155s # End of SHA256 tests 1155s # Start of SHA384 tests 1155s ok 1112 /checksum/SHA384/0 1155s ok 1113 /checksum/SHA384/1 1155s ok 1114 /checksum/SHA384/2 1155s ok 1115 /checksum/SHA384/3 1155s ok 1116 /checksum/SHA384/4 1155s ok 1117 /checksum/SHA384/5 1155s ok 1118 /checksum/SHA384/6 1155s ok 1119 /checksum/SHA384/7 1155s ok 1120 /checksum/SHA384/8 1155s ok 1121 /checksum/SHA384/9 1155s ok 1122 /checksum/SHA384/10 1155s ok 1123 /checksum/SHA384/11 1155s ok 1124 /checksum/SHA384/12 1155s ok 1125 /checksum/SHA384/13 1155s ok 1126 /checksum/SHA384/14 1155s ok 1127 /checksum/SHA384/15 1155s ok 1128 /checksum/SHA384/16 1155s ok 1129 /checksum/SHA384/17 1155s ok 1130 /checksum/SHA384/18 1155s ok 1131 /checksum/SHA384/19 1155s ok 1132 /checksum/SHA384/20 1155s ok 1133 /checksum/SHA384/21 1155s ok 1134 /checksum/SHA384/22 1155s ok 1135 /checksum/SHA384/23 1155s ok 1136 /checksum/SHA384/24 1155s ok 1137 /checksum/SHA384/25 1155s ok 1138 /checksum/SHA384/26 1155s ok 1139 /checksum/SHA384/27 1155s ok 1140 /checksum/SHA384/28 1155s ok 1141 /checksum/SHA384/29 1155s ok 1142 /checksum/SHA384/30 1155s ok 1143 /checksum/SHA384/31 1155s ok 1144 /checksum/SHA384/32 1155s ok 1145 /checksum/SHA384/33 1155s ok 1146 /checksum/SHA384/34 1155s ok 1147 /checksum/SHA384/35 1155s ok 1148 /checksum/SHA384/36 1155s ok 1149 /checksum/SHA384/37 1155s ok 1150 /checksum/SHA384/38 1155s ok 1151 /checksum/SHA384/39 1155s ok 1152 /checksum/SHA384/40 1155s ok 1153 /checksum/SHA384/41 1155s ok 1154 /checksum/SHA384/42 1155s ok 1155 /checksum/SHA384/43 1155s ok 1156 /checksum/SHA384/44 1155s ok 1157 /checksum/SHA384/45 1155s ok 1158 /checksum/SHA384/46 1155s ok 1159 /checksum/SHA384/47 1155s ok 1160 /checksum/SHA384/48 1155s ok 1161 /checksum/SHA384/49 1155s ok 1162 /checksum/SHA384/50 1155s ok 1163 /checksum/SHA384/51 1155s ok 1164 /checksum/SHA384/52 1155s ok 1165 /checksum/SHA384/53 1155s ok 1166 /checksum/SHA384/54 1155s ok 1167 /checksum/SHA384/55 1155s ok 1168 /checksum/SHA384/56 1155s ok 1169 /checksum/SHA384/57 1155s ok 1170 /checksum/SHA384/58 1155s ok 1171 /checksum/SHA384/59 1155s ok 1172 /checksum/SHA384/60 1155s ok 1173 /checksum/SHA384/61 1155s ok 1174 /checksum/SHA384/62 1155s ok 1175 /checksum/SHA384/63 1155s ok 1176 /checksum/SHA384/64 1155s ok 1177 /checksum/SHA384/65 1155s ok 1178 /checksum/SHA384/66 1155s ok 1179 /checksum/SHA384/67 1155s ok 1180 /checksum/SHA384/68 1155s ok 1181 /checksum/SHA384/69 1155s ok 1182 /checksum/SHA384/70 1155s ok 1183 /checksum/SHA384/71 1155s ok 1184 /checksum/SHA384/72 1155s ok 1185 /checksum/SHA384/73 1155s ok 1186 /checksum/SHA384/74 1155s ok 1187 /checksum/SHA384/75 1155s ok 1188 /checksum/SHA384/76 1155s ok 1189 /checksum/SHA384/77 1155s ok 1190 /checksum/SHA384/78 1155s ok 1191 /checksum/SHA384/79 1155s ok 1192 /checksum/SHA384/80 1155s ok 1193 /checksum/SHA384/81 1155s ok 1194 /checksum/SHA384/82 1155s ok 1195 /checksum/SHA384/83 1155s ok 1196 /checksum/SHA384/84 1155s ok 1197 /checksum/SHA384/85 1155s ok 1198 /checksum/SHA384/86 1155s ok 1199 /checksum/SHA384/87 1155s ok 1200 /checksum/SHA384/88 1155s ok 1201 /checksum/SHA384/89 1155s ok 1202 /checksum/SHA384/90 1155s ok 1203 /checksum/SHA384/91 1155s ok 1204 /checksum/SHA384/92 1155s ok 1205 /checksum/SHA384/93 1155s ok 1206 /checksum/SHA384/94 1155s ok 1207 /checksum/SHA384/95 1155s ok 1208 /checksum/SHA384/96 1155s ok 1209 /checksum/SHA384/97 1155s ok 1210 /checksum/SHA384/98 1155s ok 1211 /checksum/SHA384/99 1155s ok 1212 /checksum/SHA384/100 1155s ok 1213 /checksum/SHA384/101 1155s ok 1214 /checksum/SHA384/102 1155s ok 1215 /checksum/SHA384/103 1155s ok 1216 /checksum/SHA384/104 1155s ok 1217 /checksum/SHA384/105 1155s ok 1218 /checksum/SHA384/106 1155s ok 1219 /checksum/SHA384/107 1155s ok 1220 /checksum/SHA384/108 1155s ok 1221 /checksum/SHA384/109 1155s ok 1222 /checksum/SHA384/110 1155s ok 1223 /checksum/SHA384/111 1155s ok 1224 /checksum/SHA384/112 1155s ok 1225 /checksum/SHA384/113 1155s ok 1226 /checksum/SHA384/114 1155s ok 1227 /checksum/SHA384/115 1155s ok 1228 /checksum/SHA384/116 1155s ok 1229 /checksum/SHA384/117 1155s ok 1230 /checksum/SHA384/118 1155s ok 1231 /checksum/SHA384/119 1155s ok 1232 /checksum/SHA384/120 1155s ok 1233 /checksum/SHA384/121 1155s ok 1234 /checksum/SHA384/122 1155s ok 1235 /checksum/SHA384/123 1155s ok 1236 /checksum/SHA384/124 1155s ok 1237 /checksum/SHA384/125 1155s ok 1238 /checksum/SHA384/126 1155s ok 1239 /checksum/SHA384/127 1155s ok 1240 /checksum/SHA384/128 1155s ok 1241 /checksum/SHA384/129 1155s ok 1242 /checksum/SHA384/130 1155s ok 1243 /checksum/SHA384/131 1155s ok 1244 /checksum/SHA384/132 1155s ok 1245 /checksum/SHA384/133 1155s ok 1246 /checksum/SHA384/134 1155s ok 1247 /checksum/SHA384/135 1155s ok 1248 /checksum/SHA384/136 1155s ok 1249 /checksum/SHA384/137 1155s ok 1250 /checksum/SHA384/138 1155s ok 1251 /checksum/SHA384/139 1155s ok 1252 /checksum/SHA384/140 1155s ok 1253 /checksum/SHA384/141 1155s ok 1254 /checksum/SHA384/142 1155s ok 1255 /checksum/SHA384/143 1155s ok 1256 /checksum/SHA384/144 1155s ok 1257 /checksum/SHA384/145 1155s ok 1258 /checksum/SHA384/146 1155s ok 1259 /checksum/SHA384/147 1155s ok 1260 /checksum/SHA384/148 1155s ok 1261 /checksum/SHA384/149 1155s ok 1262 /checksum/SHA384/150 1155s ok 1263 /checksum/SHA384/151 1155s ok 1264 /checksum/SHA384/152 1155s ok 1265 /checksum/SHA384/153 1155s ok 1266 /checksum/SHA384/154 1155s ok 1267 /checksum/SHA384/155 1155s ok 1268 /checksum/SHA384/156 1155s ok 1269 /checksum/SHA384/157 1155s ok 1270 /checksum/SHA384/158 1155s ok 1271 /checksum/SHA384/159 1155s ok 1272 /checksum/SHA384/160 1155s ok 1273 /checksum/SHA384/161 1155s ok 1274 /checksum/SHA384/162 1155s ok 1275 /checksum/SHA384/163 1155s ok 1276 /checksum/SHA384/164 1155s ok 1277 /checksum/SHA384/165 1155s ok 1278 /checksum/SHA384/166 1155s ok 1279 /checksum/SHA384/167 1155s ok 1280 /checksum/SHA384/168 1155s ok 1281 /checksum/SHA384/169 1155s ok 1282 /checksum/SHA384/170 1155s ok 1283 /checksum/SHA384/171 1155s ok 1284 /checksum/SHA384/172 1155s ok 1285 /checksum/SHA384/173 1155s ok 1286 /checksum/SHA384/174 1155s ok 1287 /checksum/SHA384/175 1155s ok 1288 /checksum/SHA384/176 1155s ok 1289 /checksum/SHA384/177 1155s ok 1290 /checksum/SHA384/178 1155s ok 1291 /checksum/SHA384/179 1155s ok 1292 /checksum/SHA384/180 1155s ok 1293 /checksum/SHA384/181 1155s ok 1294 /checksum/SHA384/182 1155s ok 1295 /checksum/SHA384/183 1155s ok 1296 /checksum/SHA384/string 1155s ok 1297 /checksum/SHA384/bytes 1155s # Start of reset tests 1155s ok 1298 /checksum/SHA384/reset/0 1155s ok 1299 /checksum/SHA384/reset/1 1155s ok 1300 /checksum/SHA384/reset/2 1155s ok 1301 /checksum/SHA384/reset/3 1155s ok 1302 /checksum/SHA384/reset/4 1155s ok 1303 /checksum/SHA384/reset/5 1155s ok 1304 /checksum/SHA384/reset/6 1155s ok 1305 /checksum/SHA384/reset/7 1155s ok 1306 /checksum/SHA384/reset/8 1155s ok 1307 /checksum/SHA384/reset/9 1155s ok 1308 /checksum/SHA384/reset/10 1155s ok 1309 /checksum/SHA384/reset/11 1155s ok 1310 /checksum/SHA384/reset/12 1155s ok 1311 /checksum/SHA384/reset/13 1155s ok 1312 /checksum/SHA384/reset/14 1155s ok 1313 /checksum/SHA384/reset/15 1155s ok 1314 /checksum/SHA384/reset/16 1155s ok 1315 /checksum/SHA384/reset/17 1155s ok 1316 /checksum/SHA384/reset/18 1155s ok 1317 /checksum/SHA384/reset/19 1155s ok 1318 /checksum/SHA384/reset/20 1155s ok 1319 /checksum/SHA384/reset/21 1155s ok 1320 /checksum/SHA384/reset/22 1155s ok 1321 /checksum/SHA384/reset/23 1155s ok 1322 /checksum/SHA384/reset/24 1155s ok 1323 /checksum/SHA384/reset/25 1155s ok 1324 /checksum/SHA384/reset/26 1155s ok 1325 /checksum/SHA384/reset/27 1155s ok 1326 /checksum/SHA384/reset/28 1155s ok 1327 /checksum/SHA384/reset/29 1155s ok 1328 /checksum/SHA384/reset/30 1155s ok 1329 /checksum/SHA384/reset/31 1155s ok 1330 /checksum/SHA384/reset/32 1155s ok 1331 /checksum/SHA384/reset/33 1155s ok 1332 /checksum/SHA384/reset/34 1155s ok 1333 /checksum/SHA384/reset/35 1155s ok 1334 /checksum/SHA384/reset/36 1155s ok 1335 /checksum/SHA384/reset/37 1155s ok 1336 /checksum/SHA384/reset/38 1155s ok 1337 /checksum/SHA384/reset/39 1155s ok 1338 /checksum/SHA384/reset/40 1155s ok 1339 /checksum/SHA384/reset/41 1155s ok 1340 /checksum/SHA384/reset/42 1155s ok 1341 /checksum/SHA384/reset/43 1155s ok 1342 /checksum/SHA384/reset/44 1155s ok 1343 /checksum/SHA384/reset/45 1155s ok 1344 /checksum/SHA384/reset/46 1155s ok 1345 /checksum/SHA384/reset/47 1155s ok 1346 /checksum/SHA384/reset/48 1155s ok 1347 /checksum/SHA384/reset/49 1155s ok 1348 /checksum/SHA384/reset/50 1155s ok 1349 /checksum/SHA384/reset/51 1155s ok 1350 /checksum/SHA384/reset/52 1155s ok 1351 /checksum/SHA384/reset/53 1155s ok 1352 /checksum/SHA384/reset/54 1155s ok 1353 /checksum/SHA384/reset/55 1155s ok 1354 /checksum/SHA384/reset/56 1155s ok 1355 /checksum/SHA384/reset/57 1155s ok 1356 /checksum/SHA384/reset/58 1155s ok 1357 /checksum/SHA384/reset/59 1155s ok 1358 /checksum/SHA384/reset/60 1155s ok 1359 /checksum/SHA384/reset/61 1155s ok 1360 /checksum/SHA384/reset/62 1155s ok 1361 /checksum/SHA384/reset/63 1155s ok 1362 /checksum/SHA384/reset/64 1155s ok 1363 /checksum/SHA384/reset/65 1155s ok 1364 /checksum/SHA384/reset/66 1155s ok 1365 /checksum/SHA384/reset/67 1155s ok 1366 /checksum/SHA384/reset/68 1155s ok 1367 /checksum/SHA384/reset/69 1155s ok 1368 /checksum/SHA384/reset/70 1155s ok 1369 /checksum/SHA384/reset/71 1155s ok 1370 /checksum/SHA384/reset/72 1155s ok 1371 /checksum/SHA384/reset/73 1155s ok 1372 /checksum/SHA384/reset/74 1155s ok 1373 /checksum/SHA384/reset/75 1155s ok 1374 /checksum/SHA384/reset/76 1155s ok 1375 /checksum/SHA384/reset/77 1155s ok 1376 /checksum/SHA384/reset/78 1155s ok 1377 /checksum/SHA384/reset/79 1155s ok 1378 /checksum/SHA384/reset/80 1155s ok 1379 /checksum/SHA384/reset/81 1155s ok 1380 /checksum/SHA384/reset/82 1155s ok 1381 /checksum/SHA384/reset/83 1155s ok 1382 /checksum/SHA384/reset/84 1155s ok 1383 /checksum/SHA384/reset/85 1155s ok 1384 /checksum/SHA384/reset/86 1155s ok 1385 /checksum/SHA384/reset/87 1155s ok 1386 /checksum/SHA384/reset/88 1155s ok 1387 /checksum/SHA384/reset/89 1155s ok 1388 /checksum/SHA384/reset/90 1155s ok 1389 /checksum/SHA384/reset/91 1155s ok 1390 /checksum/SHA384/reset/92 1155s ok 1391 /checksum/SHA384/reset/93 1155s ok 1392 /checksum/SHA384/reset/94 1155s ok 1393 /checksum/SHA384/reset/95 1155s ok 1394 /checksum/SHA384/reset/96 1155s ok 1395 /checksum/SHA384/reset/97 1155s ok 1396 /checksum/SHA384/reset/98 1155s ok 1397 /checksum/SHA384/reset/99 1155s ok 1398 /checksum/SHA384/reset/100 1155s ok 1399 /checksum/SHA384/reset/101 1155s ok 1400 /checksum/SHA384/reset/102 1155s ok 1401 /checksum/SHA384/reset/103 1155s ok 1402 /checksum/SHA384/reset/104 1155s ok 1403 /checksum/SHA384/reset/105 1155s ok 1404 /checksum/SHA384/reset/106 1155s ok 1405 /checksum/SHA384/reset/107 1155s ok 1406 /checksum/SHA384/reset/108 1155s ok 1407 /checksum/SHA384/reset/109 1155s ok 1408 /checksum/SHA384/reset/110 1155s ok 1409 /checksum/SHA384/reset/111 1155s ok 1410 /checksum/SHA384/reset/112 1155s ok 1411 /checksum/SHA384/reset/113 1155s ok 1412 /checksum/SHA384/reset/114 1155s ok 1413 /checksum/SHA384/reset/115 1155s ok 1414 /checksum/SHA384/reset/116 1155s ok 1415 /checksum/SHA384/reset/117 1155s ok 1416 /checksum/SHA384/reset/118 1155s ok 1417 /checksum/SHA384/reset/119 1155s ok 1418 /checksum/SHA384/reset/120 1155s ok 1419 /checksum/SHA384/reset/121 1155s ok 1420 /checksum/SHA384/reset/122 1155s ok 1421 /checksum/SHA384/reset/123 1155s ok 1422 /checksum/SHA384/reset/124 1155s ok 1423 /checksum/SHA384/reset/125 1155s ok 1424 /checksum/SHA384/reset/126 1155s ok 1425 /checksum/SHA384/reset/127 1155s ok 1426 /checksum/SHA384/reset/128 1155s ok 1427 /checksum/SHA384/reset/129 1155s ok 1428 /checksum/SHA384/reset/130 1155s ok 1429 /checksum/SHA384/reset/131 1155s ok 1430 /checksum/SHA384/reset/132 1155s ok 1431 /checksum/SHA384/reset/133 1155s ok 1432 /checksum/SHA384/reset/134 1155s ok 1433 /checksum/SHA384/reset/135 1155s ok 1434 /checksum/SHA384/reset/136 1155s ok 1435 /checksum/SHA384/reset/137 1155s ok 1436 /checksum/SHA384/reset/138 1155s ok 1437 /checksum/SHA384/reset/139 1155s ok 1438 /checksum/SHA384/reset/140 1155s ok 1439 /checksum/SHA384/reset/141 1155s ok 1440 /checksum/SHA384/reset/142 1155s ok 1441 /checksum/SHA384/reset/143 1155s ok 1442 /checksum/SHA384/reset/144 1155s ok 1443 /checksum/SHA384/reset/145 1155s ok 1444 /checksum/SHA384/reset/146 1155s ok 1445 /checksum/SHA384/reset/147 1155s ok 1446 /checksum/SHA384/reset/148 1155s ok 1447 /checksum/SHA384/reset/149 1155s ok 1448 /checksum/SHA384/reset/150 1155s ok 1449 /checksum/SHA384/reset/151 1155s ok 1450 /checksum/SHA384/reset/152 1155s ok 1451 /checksum/SHA384/reset/153 1155s ok 1452 /checksum/SHA384/reset/154 1155s ok 1453 /checksum/SHA384/reset/155 1155s ok 1454 /checksum/SHA384/reset/156 1155s ok 1455 /checksum/SHA384/reset/157 1155s ok 1456 /checksum/SHA384/reset/158 1155s ok 1457 /checksum/SHA384/reset/159 1155s ok 1458 /checksum/SHA384/reset/160 1155s ok 1459 /checksum/SHA384/reset/161 1155s ok 1460 /checksum/SHA384/reset/162 1155s ok 1461 /checksum/SHA384/reset/163 1155s ok 1462 /checksum/SHA384/reset/164 1155s ok 1463 /checksum/SHA384/reset/165 1155s ok 1464 /checksum/SHA384/reset/166 1155s ok 1465 /checksum/SHA384/reset/167 1155s ok 1466 /checksum/SHA384/reset/168 1155s ok 1467 /checksum/SHA384/reset/169 1155s ok 1468 /checksum/SHA384/reset/170 1155s ok 1469 /checksum/SHA384/reset/171 1155s ok 1470 /checksum/SHA384/reset/172 1155s ok 1471 /checksum/SHA384/reset/173 1155s ok 1472 /checksum/SHA384/reset/174 1155s ok 1473 /checksum/SHA384/reset/175 1155s ok 1474 /checksum/SHA384/reset/176 1155s ok 1475 /checksum/SHA384/reset/177 1155s ok 1476 /checksum/SHA384/reset/178 1155s ok 1477 /checksum/SHA384/reset/179 1155s ok 1478 /checksum/SHA384/reset/180 1155s ok 1479 /checksum/SHA384/reset/181 1155s ok 1480 /checksum/SHA384/reset/182 1155s ok 1481 /checksum/SHA384/reset/183 1155s # End of reset tests 1155s # End of SHA384 tests 1155s # Start of SHA512 tests 1155s ok 1482 /checksum/SHA512/0 1155s ok 1483 /checksum/SHA512/1 1155s ok 1484 /checksum/SHA512/2 1155s ok 1485 /checksum/SHA512/3 1155s ok 1486 /checksum/SHA512/4 1155s ok 1487 /checksum/SHA512/5 1155s ok 1488 /checksum/SHA512/6 1155s ok 1489 /checksum/SHA512/7 1155s ok 1490 /checksum/SHA512/8 1155s ok 1491 /checksum/SHA512/9 1155s ok 1492 /checksum/SHA512/10 1155s ok 1493 /checksum/SHA512/11 1155s ok 1494 /checksum/SHA512/12 1155s ok 1495 /checksum/SHA512/13 1155s ok 1496 /checksum/SHA512/14 1155s ok 1497 /checksum/SHA512/15 1155s ok 1498 /checksum/SHA512/16 1155s ok 1499 /checksum/SHA512/17 1155s ok 1500 /checksum/SHA512/18 1155s ok 1501 /checksum/SHA512/19 1155s ok 1502 /checksum/SHA512/20 1155s ok 1503 /checksum/SHA512/21 1155s ok 1504 /checksum/SHA512/22 1155s ok 1505 /checksum/SHA512/23 1155s ok 1506 /checksum/SHA512/24 1155s ok 1507 /checksum/SHA512/25 1155s ok 1508 /checksum/SHA512/26 1155s ok 1509 /checksum/SHA512/27 1155s ok 1510 /checksum/SHA512/28 1155s ok 1511 /checksum/SHA512/29 1155s ok 1512 /checksum/SHA512/30 1155s ok 1513 /checksum/SHA512/31 1155s ok 1514 /checksum/SHA512/32 1155s ok 1515 /checksum/SHA512/33 1155s ok 1516 /checksum/SHA512/34 1155s ok 1517 /checksum/SHA512/35 1155s ok 1518 /checksum/SHA512/36 1155s ok 1519 /checksum/SHA512/37 1155s ok 1520 /checksum/SHA512/38 1155s ok 1521 /checksum/SHA512/39 1155s ok 1522 /checksum/SHA512/40 1155s ok 1523 /checksum/SHA512/41 1155s ok 1524 /checksum/SHA512/42 1155s ok 1525 /checksum/SHA512/43 1155s ok 1526 /checksum/SHA512/44 1155s ok 1527 /checksum/SHA512/45 1155s ok 1528 /checksum/SHA512/46 1155s ok 1529 /checksum/SHA512/47 1155s ok 1530 /checksum/SHA512/48 1155s ok 1531 /checksum/SHA512/49 1155s ok 1532 /checksum/SHA512/50 1155s ok 1533 /checksum/SHA512/51 1155s ok 1534 /checksum/SHA512/52 1155s ok 1535 /checksum/SHA512/53 1155s ok 1536 /checksum/SHA512/54 1155s ok 1537 /checksum/SHA512/55 1155s ok 1538 /checksum/SHA512/56 1155s ok 1539 /checksum/SHA512/57 1155s ok 1540 /checksum/SHA512/58 1155s ok 1541 /checksum/SHA512/59 1155s ok 1542 /checksum/SHA512/60 1155s ok 1543 /checksum/SHA512/61 1155s ok 1544 /checksum/SHA512/62 1155s ok 1545 /checksum/SHA512/63 1155s ok 1546 /checksum/SHA512/64 1155s ok 1547 /checksum/SHA512/65 1155s ok 1548 /checksum/SHA512/66 1155s ok 1549 /checksum/SHA512/67 1155s ok 1550 /checksum/SHA512/68 1155s ok 1551 /checksum/SHA512/69 1155s ok 1552 /checksum/SHA512/70 1155s ok 1553 /checksum/SHA512/71 1155s ok 1554 /checksum/SHA512/72 1155s ok 1555 /checksum/SHA512/73 1155s ok 1556 /checksum/SHA512/74 1155s ok 1557 /checksum/SHA512/75 1155s ok 1558 /checksum/SHA512/76 1155s ok 1559 /checksum/SHA512/77 1155s ok 1560 /checksum/SHA512/78 1155s ok 1561 /checksum/SHA512/79 1155s ok 1562 /checksum/SHA512/80 1155s ok 1563 /checksum/SHA512/81 1155s ok 1564 /checksum/SHA512/82 1155s ok 1565 /checksum/SHA512/83 1155s ok 1566 /checksum/SHA512/84 1155s ok 1567 /checksum/SHA512/85 1155s ok 1568 /checksum/SHA512/86 1155s ok 1569 /checksum/SHA512/87 1155s ok 1570 /checksum/SHA512/88 1155s ok 1571 /checksum/SHA512/89 1155s ok 1572 /checksum/SHA512/90 1155s ok 1573 /checksum/SHA512/91 1155s ok 1574 /checksum/SHA512/92 1155s ok 1575 /checksum/SHA512/93 1155s ok 1576 /checksum/SHA512/94 1155s ok 1577 /checksum/SHA512/95 1155s ok 1578 /checksum/SHA512/96 1155s ok 1579 /checksum/SHA512/97 1155s ok 1580 /checksum/SHA512/98 1155s ok 1581 /checksum/SHA512/99 1155s ok 1582 /checksum/SHA512/100 1155s ok 1583 /checksum/SHA512/101 1155s ok 1584 /checksum/SHA512/102 1155s ok 1585 /checksum/SHA512/103 1155s ok 1586 /checksum/SHA512/104 1155s ok 1587 /checksum/SHA512/105 1155s ok 1588 /checksum/SHA512/106 1155s ok 1589 /checksum/SHA512/107 1155s ok 1590 /checksum/SHA512/108 1155s ok 1591 /checksum/SHA512/109 1155s ok 1592 /checksum/SHA512/110 1155s ok 1593 /checksum/SHA512/111 1155s ok 1594 /checksum/SHA512/112 1155s ok 1595 /checksum/SHA512/113 1155s ok 1596 /checksum/SHA512/114 1155s ok 1597 /checksum/SHA512/115 1155s ok 1598 /checksum/SHA512/116 1155s ok 1599 /checksum/SHA512/117 1155s ok 1600 /checksum/SHA512/118 1155s ok 1601 /checksum/SHA512/119 1155s ok 1602 /checksum/SHA512/120 1155s ok 1603 /checksum/SHA512/121 1155s ok 1604 /checksum/SHA512/122 1155s ok 1605 /checksum/SHA512/123 1155s ok 1606 /checksum/SHA512/124 1155s ok 1607 /checksum/SHA512/125 1155s ok 1608 /checksum/SHA512/126 1155s ok 1609 /checksum/SHA512/127 1155s ok 1610 /checksum/SHA512/128 1155s ok 1611 /checksum/SHA512/129 1155s ok 1612 /checksum/SHA512/130 1155s ok 1613 /checksum/SHA512/131 1155s ok 1614 /checksum/SHA512/132 1155s ok 1615 /checksum/SHA512/133 1155s ok 1616 /checksum/SHA512/134 1155s ok 1617 /checksum/SHA512/135 1155s ok 1618 /checksum/SHA512/136 1155s ok 1619 /checksum/SHA512/137 1155s ok 1620 /checksum/SHA512/138 1155s ok 1621 /checksum/SHA512/139 1155s ok 1622 /checksum/SHA512/140 1155s ok 1623 /checksum/SHA512/141 1155s ok 1624 /checksum/SHA512/142 1155s ok 1625 /checksum/SHA512/143 1155s ok 1626 /checksum/SHA512/144 1155s ok 1627 /checksum/SHA512/145 1155s ok 1628 /checksum/SHA512/146 1155s ok 1629 /checksum/SHA512/147 1155s ok 1630 /checksum/SHA512/148 1155s ok 1631 /checksum/SHA512/149 1155s ok 1632 /checksum/SHA512/150 1155s ok 1633 /checksum/SHA512/151 1155s ok 1634 /checksum/SHA512/152 1155s ok 1635 /checksum/SHA512/153 1155s ok 1636 /checksum/SHA512/154 1155s ok 1637 /checksum/SHA512/155 1155s ok 1638 /checksum/SHA512/156 1155s ok 1639 /checksum/SHA512/157 1155s ok 1640 /checksum/SHA512/158 1155s ok 1641 /checksum/SHA512/159 1155s ok 1642 /checksum/SHA512/160 1155s ok 1643 /checksum/SHA512/161 1155s ok 1644 /checksum/SHA512/162 1155s ok 1645 /checksum/SHA512/163 1155s ok 1646 /checksum/SHA512/164 1155s ok 1647 /checksum/SHA512/165 1155s ok 1648 /checksum/SHA512/166 1155s ok 1649 /checksum/SHA512/167 1155s ok 1650 /checksum/SHA512/168 1155s ok 1651 /checksum/SHA512/169 1155s ok 1652 /checksum/SHA512/170 1155s ok 1653 /checksum/SHA512/171 1155s ok 1654 /checksum/SHA512/172 1155s ok 1655 /checksum/SHA512/173 1155s ok 1656 /checksum/SHA512/174 1155s ok 1657 /checksum/SHA512/175 1155s ok 1658 /checksum/SHA512/176 1155s ok 1659 /checksum/SHA512/177 1155s ok 1660 /checksum/SHA512/178 1155s ok 1661 /checksum/SHA512/179 1155s ok 1662 /checksum/SHA512/180 1155s ok 1663 /checksum/SHA512/181 1155s ok 1664 /checksum/SHA512/182 1155s ok 1665 /checksum/SHA512/183 1155s ok 1666 /checksum/SHA512/string 1155s ok 1667 /checksum/SHA512/bytes 1155s # Start of reset tests 1155s ok 1668 /checksum/SHA512/reset/0 1155s ok 1669 /checksum/SHA512/reset/1 1155s ok 1670 /checksum/SHA512/reset/2 1155s ok 1671 /checksum/SHA512/reset/3 1155s ok 1672 /checksum/SHA512/reset/4 1155s ok 1673 /checksum/SHA512/reset/5 1155s ok 1674 /checksum/SHA512/reset/6 1155s ok 1675 /checksum/SHA512/reset/7 1155s ok 1676 /checksum/SHA512/reset/8 1155s ok 1677 /checksum/SHA512/reset/9 1155s ok 1678 /checksum/SHA512/reset/10 1155s ok 1679 /checksum/SHA512/reset/11 1155s ok 1680 /checksum/SHA512/reset/12 1155s ok 1681 /checksum/SHA512/reset/13 1155s ok 1682 /checksum/SHA512/reset/14 1155s ok 1683 /checksum/SHA512/reset/15 1155s ok 1684 /checksum/SHA512/reset/16 1155s ok 1685 /checksum/SHA512/reset/17 1155s ok 1686 /checksum/SHA512/reset/18 1155s ok 1687 /checksum/SHA512/reset/19 1155s ok 1688 /checksum/SHA512/reset/20 1155s ok 1689 /checksum/SHA512/reset/21 1155s ok 1690 /checksum/SHA512/reset/22 1155s ok 1691 /checksum/SHA512/reset/23 1155s ok 1692 /checksum/SHA512/reset/24 1155s ok 1693 /checksum/SHA512/reset/25 1155s ok 1694 /checksum/SHA512/reset/26 1155s ok 1695 /checksum/SHA512/reset/27 1155s ok 1696 /checksum/SHA512/reset/28 1155s ok 1697 /checksum/SHA512/reset/29 1155s ok 1698 /checksum/SHA512/reset/30 1155s ok 1699 /checksum/SHA512/reset/31 1155s ok 1700 /checksum/SHA512/reset/32 1155s ok 1701 /checksum/SHA512/reset/33 1155s ok 1702 /checksum/SHA512/reset/34 1155s ok 1703 /checksum/SHA512/reset/35 1155s ok 1704 /checksum/SHA512/reset/36 1155s ok 1705 /checksum/SHA512/reset/37 1155s ok 1706 /checksum/SHA512/reset/38 1155s ok 1707 /checksum/SHA512/reset/39 1155s ok 1708 /checksum/SHA512/reset/40 1155s ok 1709 /checksum/SHA512/reset/41 1155s ok 1710 /checksum/SHA512/reset/42 1155s ok 1711 /checksum/SHA512/reset/43 1155s ok 1712 /checksum/SHA512/reset/44 1155s ok 1713 /checksum/SHA512/reset/45 1155s ok 1714 /checksum/SHA512/reset/46 1155s ok 1715 /checksum/SHA512/reset/47 1155s ok 1716 /checksum/SHA512/reset/48 1155s ok 1717 /checksum/SHA512/reset/49 1155s ok 1718 /checksum/SHA512/reset/50 1155s ok 1719 /checksum/SHA512/reset/51 1155s ok 1720 /checksum/SHA512/reset/52 1155s ok 1721 /checksum/SHA512/reset/53 1155s ok 1722 /checksum/SHA512/reset/54 1155s ok 1723 /checksum/SHA512/reset/55 1155s ok 1724 /checksum/SHA512/reset/56 1155s ok 1725 /checksum/SHA512/reset/57 1155s ok 1726 /checksum/SHA512/reset/58 1155s ok 1727 /checksum/SHA512/reset/59 1155s ok 1728 /checksum/SHA512/reset/60 1155s ok 1729 /checksum/SHA512/reset/61 1155s ok 1730 /checksum/SHA512/reset/62 1155s ok 1731 /checksum/SHA512/reset/63 1155s ok 1732 /checksum/SHA512/reset/64 1155s ok 1733 /checksum/SHA512/reset/65 1155s ok 1734 /checksum/SHA512/reset/66 1155s ok 1735 /checksum/SHA512/reset/67 1155s ok 1736 /checksum/SHA512/reset/68 1155s ok 1737 /checksum/SHA512/reset/69 1155s ok 1738 /checksum/SHA512/reset/70 1155s ok 1739 /checksum/SHA512/reset/71 1155s ok 1740 /checksum/SHA512/reset/72 1155s ok 1741 /checksum/SHA512/reset/73 1155s ok 1742 /checksum/SHA512/reset/74 1155s ok 1743 /checksum/SHA512/reset/75 1155s ok 1744 /checksum/SHA512/reset/76 1155s ok 1745 /checksum/SHA512/reset/77 1155s ok 1746 /checksum/SHA512/reset/78 1155s ok 1747 /checksum/SHA512/reset/79 1155s ok 1748 /checksum/SHA512/reset/80 1155s ok 1749 /checksum/SHA512/reset/81 1155s ok 1750 /checksum/SHA512/reset/82 1155s ok 1751 /checksum/SHA512/reset/83 1155s ok 1752 /checksum/SHA512/reset/84 1155s ok 1753 /checksum/SHA512/reset/85 1155s ok 1754 /checksum/SHA512/reset/86 1155s ok 1755 /checksum/SHA512/reset/87 1155s ok 1756 /checksum/SHA512/reset/88 1155s ok 1757 /checksum/SHA512/reset/89 1155s ok 1758 /checksum/SHA512/reset/90 1155s ok 1759 /checksum/SHA512/reset/91 1155s ok 1760 /checksum/SHA512/reset/92 1155s ok 1761 /checksum/SHA512/reset/93 1155s ok 1762 /checksum/SHA512/reset/94 1155s ok 1763 /checksum/SHA512/reset/95 1155s ok 1764 /checksum/SHA512/reset/96 1155s ok 1765 /checksum/SHA512/reset/97 1155s ok 1766 /checksum/SHA512/reset/98 1155s ok 1767 /checksum/SHA512/reset/99 1155s ok 1768 /checksum/SHA512/reset/100 1155s ok 1769 /checksum/SHA512/reset/101 1155s ok 1770 /checksum/SHA512/reset/102 1155s ok 1771 /checksum/SHA512/reset/103 1155s ok 1772 /checksum/SHA512/reset/104 1155s ok 1773 /checksum/SHA512/reset/105 1155s ok 1774 /checksum/SHA512/reset/106 1155s ok 1775 /checksum/SHA512/reset/107 1155s ok 1776 /checksum/SHA512/reset/108 1155s ok 1777 /checksum/SHA512/reset/109 1155s ok 1778 /checksum/SHA512/reset/110 1155s ok 1779 /checksum/SHA512/reset/111 1155s ok 1780 /checksum/SHA512/reset/112 1155s ok 1781 /checksum/SHA512/reset/113 1155s ok 1782 /checksum/SHA512/reset/114 1155s ok 1783 /checksum/SHA512/reset/115 1155s ok 1784 /checksum/SHA512/reset/116 1155s ok 1785 /checksum/SHA512/reset/117 1155s ok 1786 /checksum/SHA512/reset/118 1155s ok 1787 /checksum/SHA512/reset/119 1155s ok 1788 /checksum/SHA512/reset/120 1155s ok 1789 /checksum/SHA512/reset/121 1155s ok 1790 /checksum/SHA512/reset/122 1155s ok 1791 /checksum/SHA512/reset/123 1155s ok 1792 /checksum/SHA512/reset/124 1155s ok 1793 /checksum/SHA512/reset/125 1155s ok 1794 /checksum/SHA512/reset/126 1155s ok 1795 /checksum/SHA512/reset/127 1155s ok 1796 /checksum/SHA512/reset/128 1155s ok 1797 /checksum/SHA512/reset/129 1155s ok 1798 /checksum/SHA512/reset/130 1155s ok 1799 /checksum/SHA512/reset/131 1155s ok 1800 /checksum/SHA512/reset/132 1155s ok 1801 /checksum/SHA512/reset/133 1155s ok 1802 /checksum/SHA512/reset/134 1155s ok 1803 /checksum/SHA512/reset/135 1155s ok 1804 /checksum/SHA512/reset/136 1155s ok 1805 /checksum/SHA512/reset/137 1155s ok 1806 /checksum/SHA512/reset/138 1155s ok 1807 /checksum/SHA512/reset/139 1155s ok 1808 /checksum/SHA512/reset/140 1155s ok 1809 /checksum/SHA512/reset/141 1155s ok 1810 /checksum/SHA512/reset/142 1155s ok 1811 /checksum/SHA512/reset/143 1155s ok 1812 /checksum/SHA512/reset/144 1155s ok 1813 /checksum/SHA512/reset/145 1155s ok 1814 /checksum/SHA512/reset/146 1155s ok 1815 /checksum/SHA512/reset/147 1155s ok 1816 /checksum/SHA512/reset/148 1155s ok 1817 /checksum/SHA512/reset/149 1155s ok 1818 /checksum/SHA512/reset/150 1155s ok 1819 /checksum/SHA512/reset/151 1155s ok 1820 /checksum/SHA512/reset/152 1155s ok 1821 /checksum/SHA512/reset/153 1155s ok 1822 /checksum/SHA512/reset/154 1155s ok 1823 /checksum/SHA512/reset/155 1155s ok 1824 /checksum/SHA512/reset/156 1155s ok 1825 /checksum/SHA512/reset/157 1155s ok 1826 /checksum/SHA512/reset/158 1155s ok 1827 /checksum/SHA512/reset/159 1155s ok 1828 /checksum/SHA512/reset/160 1155s ok 1829 /checksum/SHA512/reset/161 1155s ok 1830 /checksum/SHA512/reset/162 1155s ok 1831 /checksum/SHA512/reset/163 1155s ok 1832 /checksum/SHA512/reset/164 1155s ok 1833 /checksum/SHA512/reset/165 1155s ok 1834 /checksum/SHA512/reset/166 1155s ok 1835 /checksum/SHA512/reset/167 1155s ok 1836 /checksum/SHA512/reset/168 1155s ok 1837 /checksum/SHA512/reset/169 1155s ok 1838 /checksum/SHA512/reset/170 1155s ok 1839 /checksum/SHA512/reset/171 1155s ok 1840 /checksum/SHA512/reset/172 1155s ok 1841 /checksum/SHA512/reset/173 1155s ok 1842 /checksum/SHA512/reset/174 1155s ok 1843 /checksum/SHA512/reset/175 1155s ok 1844 /checksum/SHA512/reset/176 1155s ok 1845 /checksum/SHA512/reset/177 1155s ok 1846 /checksum/SHA512/reset/178 1155s ok 1847 /checksum/SHA512/reset/179 1155s ok 1848 /checksum/SHA512/reset/180 1155s ok 1849 /checksum/SHA512/reset/181 1155s ok 1850 /checksum/SHA512/reset/182 1155s ok 1851 /checksum/SHA512/reset/183 1155s # End of reset tests 1155s # End of SHA512 tests 1155s # End of checksum tests 1155s TAP version 14 1155s # random seed: R02Sfe3d07aad08cb0524cc430627ccb3c43 1155s 1..3 1155s # Start of stream tests 1155s # Start of read_all_async tests 1155s ok 1 /stream/read_all_async/memory 1155s # End of read_all_async tests 1155s # Start of write_all_async tests 1155s ok 2 /stream/write_all_async/memory 1155s # End of write_all_async tests 1155s # Start of read_write_all_async tests 1155s ok 3 /stream/read_write_all_async/pipe 1155s # End of read_write_all_async tests 1155s # End of stream tests 1155s TAP version 14 1155s # random seed: R02S0e07f22240ea62ffe4a00ab085f437cf 1155s 1..2 1155s # Start of qdata tests 1155s ok - glib/checksum.test 1155s # Running test: glib/stream-rw_all.test 1155s ok - glib/stream-rw_all.test 1155s # Running test: glib/qdata.test 1155s ok - glib/qdata.test 1155s # Running test: glib/error.test 1155s ok - glib/error.test 1155s # Running test: glib/application-command-line.test 1155s ok - glib/application-command-line.test 1155s ok 1 /qdata/threaded 1155s ok 2 /qdata/dup 1155s # End of qdata tests 1155s TAP version 14 1155s # random seed: R02Sddbe5dac0264faa5733c83f0de8bb7b0 1155s 1..3 1155s # Start of error tests 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_406C02/error/from-errno/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_406C02/error/from-errno/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_406C02/error/from-errno/.dirs/system-config1:/tmp/test_error_406C02/error/from-errno/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_406C02/error/from-errno/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_406C02/error/from-errno/.dirs/system-data1:/tmp/test_error_406C02/error/from-errno/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_406C02/error/from-errno/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_406C02/error/from-errno/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_406C02/error/from-errno/.dirs/runtime 1155s ok 1 /error/from-errno 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_406C02/error/from-file-error/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_406C02/error/from-file-error/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_406C02/error/from-file-error/.dirs/system-config1:/tmp/test_error_406C02/error/from-file-error/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_406C02/error/from-file-error/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_406C02/error/from-file-error/.dirs/system-data1:/tmp/test_error_406C02/error/from-file-error/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_406C02/error/from-file-error/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_406C02/error/from-file-error/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_406C02/error/from-file-error/.dirs/runtime 1155s ok 2 /error/from-file-error 1155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_406C02/error/from-win32-error/.dirs/home 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_406C02/error/from-win32-error/.dirs/cache 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_406C02/error/from-win32-error/.dirs/system-config1:/tmp/test_error_406C02/error/from-win32-error/.dirs/system-config2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_406C02/error/from-win32-error/.dirs/config 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_406C02/error/from-win32-error/.dirs/system-data1:/tmp/test_error_406C02/error/from-win32-error/.dirs/system-data2 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_406C02/error/from-win32-error/.dirs/data 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_406C02/error/from-win32-error/.dirs/state 1155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_406C02/error/from-win32-error/.dirs/runtime 1155s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1155s # End of error tests 1155s TAP version 14 1155s # random seed: R02S7a336d812a54e01159d4626f8e840b51 1155s 1..1 1155s # Start of application-command-line tests 1155s ok 1 /application-command-line/basic-properties 1155s # End of application-command-line tests 1155s # Running test: glib/power-profile-monitor.test 1155s ok - glib/power-profile-monitor.test 1155s # Running test: glib/utf8-misc.test 1155s ok - glib/utf8-misc.test 1155s # Running test: glib/mainloop.test 1155s TAP version 14 1155s # random seed: R02S797ce6f95f90ed5a0fd2d722922ca0bf 1155s 1..1 1155s # Start of power-profile-monitor tests 1155s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1155s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 1155s ok 1 /power-profile-monitor/default 1155s # End of power-profile-monitor tests 1155s TAP version 14 1155s # random seed: R02S1acae374d15e49da692ba465e4bc5b6c 1155s 1..7 1155s # Start of utf8 tests 1155s ok 1 /utf8/strlen 1155s ok 2 /utf8/strncpy 1155s ok 3 /utf8/strrchr 1155s ok 4 /utf8/reverse 1155s ok 5 /utf8/substring 1155s ok 6 /utf8/make-valid 1155s ok 7 /utf8/truncate-middle 1155s # End of utf8 tests 1155s TAP version 14 1155s # random seed: R02Sf6bc4d8ac02e4ebe06568b0f5d307e0f 1155s 1..45 1155s # Start of maincontext tests 1155s ok 1 /maincontext/basic 1155s # Add same-priority sources: 13 1155s # Find each source: 0 1155s # Remove in random order: 12 1155s ok 2 /maincontext/nsources_same_priority 1155s # Add different-priority sources: 11 1155s # Find each source: 0 1155s # Remove in random order: 16 1155s ok 3 /maincontext/nsources_different_priority 1156s # Add sources from threads: 22 1156s # Remove sources from threads: 99 1156s ok 4 /maincontext/nsources_threadpool 1156s ok 5 /maincontext/source_finalization 1156s # /maincontext/idle-once summary: Test g_idle_add_once() works 1156s ok 6 /maincontext/idle-once 1156s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1156s ok 7 /maincontext/timeout-once 1156s # Start of source_finalization_from_source tests 1156s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1156s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1156s ok 8 /maincontext/source_finalization_from_source/0 1156s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1156s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1156s ok 9 /maincontext/source_finalization_from_source/1 1156s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1156s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1156s ok 10 /maincontext/source_finalization_from_source/2 1156s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1156s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1156s ok 11 /maincontext/source_finalization_from_source/3 1156s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1156s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1156s ok 12 /maincontext/source_finalization_from_source/4 1156s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1156s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1156s ok 13 /maincontext/source_finalization_from_source/5 1156s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1156s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1156s ok 14 /maincontext/source_finalization_from_source/6 1156s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1156s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1156s ok 15 /maincontext/source_finalization_from_source/7 1156s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1156s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1156s ok 16 /maincontext/source_finalization_from_source/8 1156s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1156s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1156s ok 17 /maincontext/source_finalization_from_source/9 1156s # End of source_finalization_from_source tests 1156s # Start of source_finalization_from_dispatch tests 1156s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1156s ok 18 /maincontext/source_finalization_from_dispatch/0 1156s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1156s ok 19 /maincontext/source_finalization_from_dispatch/1 1156s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1156s ok 20 /maincontext/source_finalization_from_dispatch/2 1156s # End of source_finalization_from_dispatch tests 1156s # End of maincontext tests 1156s # Start of mainloop tests 1156s ok 21 /mainloop/basic 1156s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1156s ok 23 /mainloop/priorities 1156s # Executing: glib/mainloop.test 1156s ok 24 /mainloop/invoke 1156s # slow test /mainloop/invoke executed in 0.50 secs 1157s ok 25 /mainloop/child_sources 1157s # slow test /mainloop/child_sources executed in 1.18 secs 1160s ok 26 /mainloop/recursive_child_sources 1160s # slow test /mainloop/recursive_child_sources executed in 2.17 secs 1160s ok 27 /mainloop/recursive_loop_child_sources 1160s ok 28 /mainloop/swapping_child_sources 1160s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1160s ok 29 /mainloop/blocked_child_sources 1161s ok 30 /mainloop/source_time 1161s # slow test /mainloop/source_time executed in 1.00 secs 1161s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1161s ok 31 /mainloop/overflow 1161s # Executing: glib/mainloop.test 1161s ok 32 /mainloop/ready-time 1161s # slow test /mainloop/ready-time executed in 0.50 secs 1161s ok 33 /mainloop/wakeup 1161s ok 34 /mainloop/remove-invalid 1161s ok 35 /mainloop/unref-while-pending 1162s ok 36 /mainloop/unix-fd 1162s # slow test /mainloop/unix-fd executed in 0.78 secs 1162s ok 37 /mainloop/unix-fd-source 1162s ok 38 /mainloop/source-unix-fd-api 1162s ok 39 /mainloop/wait 1162s ok 40 /mainloop/unix-file-poll 1162s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1162s ok 41 /mainloop/unix-fd-priority 1162s ok 42 /mainloop/nfds 1162s ok 43 /mainloop/steal-fd 1162s # Start of ownerless-polling tests 1162s ok 44 /mainloop/ownerless-polling/attach-first 1162s ok 45 /mainloop/ownerless-polling/pop-first 1162s # End of ownerless-polling tests 1162s # End of mainloop tests 1162s ok - glib/mainloop.test 1162s # Running test: glib/gdbus-connection-flush.test 1162s TAP version 14 1162s # random seed: R02Sadf51533f1e5e106265582812249bd86 1162s 1..2 1162s # Start of gdbus tests 1162s # Start of connection tests 1162s # Start of flush tests 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_2D07Z2/gdbus/connection/flush/busy/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_2D07Z2/gdbus/connection/flush/busy/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_2D07Z2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_2D07Z2/gdbus/connection/flush/busy/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_2D07Z2/gdbus/connection/flush/busy/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_2D07Z2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_2D07Z2/gdbus/connection/flush/busy/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_2D07Z2/gdbus/connection/flush/busy/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_2D07Z2/gdbus/connection/flush/busy/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_2D07Z2/gdbus/connection/flush/busy/.dirs/runtime 1162s ok 1 /gdbus/connection/flush/busy 1162s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_2D07Z2/gdbus/connection/flush/idle/.dirs/home 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_2D07Z2/gdbus/connection/flush/idle/.dirs/cache 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_2D07Z2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_2D07Z2/gdbus/connection/flush/idle/.dirs/system-config2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_2D07Z2/gdbus/connection/flush/idle/.dirs/config 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_2D07Z2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_2D07Z2/gdbus/connection/flush/idle/.dirs/system-data2 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_2D07Z2/gdbus/connection/flush/idle/.dirs/data 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_2D07Z2/gdbus/connection/flush/idle/.dirs/state 1162s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_2D07Z2/gdbus/connection/flush/idle/.dirs/runtime 1162s ok - glib/gdbus-connection-flush.test 1162s # Running test: glib/io-channel-basic.test 1162s ok 2 /gdbus/connection/flush/idle 1162s # End of flush tests 1162s # End of connection tests 1162s # End of gdbus tests 1162s TAP version 14 1162s # random seed: R02S82343f41e2f9ff645ea3211a31052b8c 1162s 1..1 1162s # Start of gio tests 1162s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1162s # random seed: R02S49bae6fefbd1c6b8a552b55abeac7638 1162s # GLib-DEBUG: io-channel-basic: child writing 8+2343 bytes to 6 1162s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1162s # GLib-DEBUG: io-channel-basic: ...from 5: 2343 bytes 1162s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1163s # GLib-DEBUG: io-channel-basic: child writing 8+4624 bytes to 6 1163s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1163s # GLib-DEBUG: io-channel-basic: ...from 5: 4624 bytes 1163s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1163s # GLib-DEBUG: io-channel-basic: child writing 8+2993 bytes to 6 1163s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1163s # GLib-DEBUG: io-channel-basic: ...from 5: 2993 bytes 1163s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1163s # GLib-DEBUG: io-channel-basic: child writing 8+1980 bytes to 6 1163s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1163s # GLib-DEBUG: io-channel-basic: ...from 5: 1980 bytes 1163s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1163s # GLib-DEBUG: io-channel-basic: child writing 8+4388 bytes to 6 1163s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1163s # GLib-DEBUG: io-channel-basic: ...from 5: 4388 bytes 1163s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1164s # GLib-DEBUG: io-channel-basic: child writing 8+1574 bytes to 6 1164s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1164s # GLib-DEBUG: io-channel-basic: ...from 5: 1574 bytes 1164s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1164s # GLib-DEBUG: io-channel-basic: child writing 8+1578 bytes to 6 1164s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1164s # GLib-DEBUG: io-channel-basic: ...from 5: 1578 bytes 1164s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1164s # GLib-DEBUG: io-channel-basic: child writing 8+596 bytes to 6 1164s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1164s # GLib-DEBUG: io-channel-basic: ...from 5: 596 bytes 1164s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1164s # GLib-DEBUG: io-channel-basic: child writing 8+2104 bytes to 6 1164s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1164s # GLib-DEBUG: io-channel-basic: ...from 5: 2104 bytes 1164s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1165s # GLib-DEBUG: io-channel-basic: child writing 8+2212 bytes to 6 1165s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1165s # GLib-DEBUG: io-channel-basic: ...from 5: 2212 bytes 1165s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1165s # GLib-DEBUG: io-channel-basic: child writing 8+1774 bytes to 6 1165s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1165s # GLib-DEBUG: io-channel-basic: ...from 5: 1774 bytes 1165s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1165s # GLib-DEBUG: io-channel-basic: child writing 8+1666 bytes to 6 1165s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1165s # GLib-DEBUG: io-channel-basic: ...from 5: 1666 bytes 1165s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1166s # GLib-DEBUG: io-channel-basic: child writing 8+4779 bytes to 6 1166s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1166s # GLib-DEBUG: io-channel-basic: ...from 5: 4779 bytes 1166s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1166s # Executing: glib/io-channel-basic.test 1166s # GLib-DEBUG: io-channel-basic: child writing 8+1112 bytes to 6 1166s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1166s # GLib-DEBUG: io-channel-basic: ...from 5: 1112 bytes 1166s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1166s # GLib-DEBUG: io-channel-basic: child writing 8+3549 bytes to 6 1166s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1166s # GLib-DEBUG: io-channel-basic: ...from 5: 3549 bytes 1166s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1166s # GLib-DEBUG: io-channel-basic: child writing 8+2354 bytes to 6 1166s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1166s # GLib-DEBUG: io-channel-basic: ...from 5: 2354 bytes 1166s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1167s # GLib-DEBUG: io-channel-basic: child writing 8+1644 bytes to 6 1167s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1167s # GLib-DEBUG: io-channel-basic: ...from 5: 1644 bytes 1167s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1167s # GLib-DEBUG: io-channel-basic: child writing 8+214 bytes to 6 1167s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1167s # GLib-DEBUG: io-channel-basic: ...from 5: 214 bytes 1167s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1167s # GLib-DEBUG: io-channel-basic: child writing 8+2551 bytes to 6 1167s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1167s # GLib-DEBUG: io-channel-basic: ...from 5: 2551 bytes 1167s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1167s # GLib-DEBUG: io-channel-basic: child writing 8+4954 bytes to 6 1167s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1167s # GLib-DEBUG: io-channel-basic: ...from 5: 4954 bytes 1167s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1168s # GLib-DEBUG: io-channel-basic: child writing 8+1724 bytes to 6 1168s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1168s # GLib-DEBUG: io-channel-basic: ...from 5: 1724 bytes 1168s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1168s # GLib-DEBUG: io-channel-basic: child writing 8+881 bytes to 6 1168s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1168s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1168s # GLib-DEBUG: io-channel-basic: ...from 5: 881 bytes 1168s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1168s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1168s # random seed: R02S6e2da89b0c84a4621964fa068d9d1827 1168s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1168s # random seed: R02S40e77ce1082d5ffb20860aab700f07f2 1168s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1168s # random seed: R02Sc95ed872976a1c9e1cdceada4be0637c 1168s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1168s # random seed: R02S76f2ca1db7991475846129545c6b4325 1168s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1168s # random seed: R02S58957183d97adbeeae4b094dd3e8634d 1168s # GLib-DEBUG: io-channel-basic: child writing 8+1197 bytes to 13 1168s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1168s # GLib-DEBUG: io-channel-basic: ...from 12: 1197 bytes 1168s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1168s # GLib-DEBUG: io-channel-basic: child writing 8+3240 bytes to 15 1168s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1168s # GLib-DEBUG: io-channel-basic: ...from 14: 3240 bytes 1168s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1168s # GLib-DEBUG: io-channel-basic: child writing 8+197 bytes to 17 1168s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1168s # GLib-DEBUG: io-channel-basic: ...from 16: 197 bytes 1168s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1168s # GLib-DEBUG: io-channel-basic: child writing 8+1709 bytes to 9 1168s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1168s # GLib-DEBUG: io-channel-basic: ...from 8: 1709 bytes 1168s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1168s # GLib-DEBUG: io-channel-basic: child writing 8+383 bytes to 11 1168s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1168s # GLib-DEBUG: io-channel-basic: ...from 10: 383 bytes 1168s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1168s # GLib-DEBUG: io-channel-basic: child writing 8+4113 bytes to 13 1168s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1168s # GLib-DEBUG: io-channel-basic: ...from 12: 4113 bytes 1168s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1168s # GLib-DEBUG: io-channel-basic: child writing 8+3660 bytes to 15 1168s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1168s # GLib-DEBUG: io-channel-basic: ...from 14: 3660 bytes 1168s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1168s # GLib-DEBUG: io-channel-basic: child writing 8+69 bytes to 11 1168s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1168s # GLib-DEBUG: io-channel-basic: ...from 10: 69 bytes 1168s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1168s # GLib-DEBUG: io-channel-basic: child writing 8+2583 bytes to 17 1168s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1168s # GLib-DEBUG: io-channel-basic: ...from 16: 2583 bytes 1168s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1168s # GLib-DEBUG: io-channel-basic: child writing 8+2560 bytes to 9 1168s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1168s # GLib-DEBUG: io-channel-basic: ...from 8: 2560 bytes 1168s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1169s # GLib-DEBUG: io-channel-basic: child writing 8+2241 bytes to 13 1169s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1169s # GLib-DEBUG: io-channel-basic: ...from 12: 2241 bytes 1169s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1169s # GLib-DEBUG: io-channel-basic: child writing 8+4086 bytes to 15 1169s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1169s # GLib-DEBUG: io-channel-basic: ...from 14: 4086 bytes 1169s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1169s # GLib-DEBUG: io-channel-basic: child writing 8+3624 bytes to 9 1169s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1169s # GLib-DEBUG: io-channel-basic: ...from 8: 3624 bytes 1169s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1169s # GLib-DEBUG: io-channel-basic: child writing 8+3549 bytes to 17 1169s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1169s # GLib-DEBUG: io-channel-basic: ...from 16: 3549 bytes 1169s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1169s # GLib-DEBUG: io-channel-basic: child writing 8+157 bytes to 11 1169s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1169s # GLib-DEBUG: io-channel-basic: ...from 10: 157 bytes 1169s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1169s # GLib-DEBUG: io-channel-basic: child writing 8+4825 bytes to 13 1169s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1169s # GLib-DEBUG: io-channel-basic: ...from 12: 4825 bytes 1169s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1169s # GLib-DEBUG: io-channel-basic: child writing 8+2926 bytes to 15 1169s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1169s # GLib-DEBUG: io-channel-basic: ...from 14: 2926 bytes 1169s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1169s # GLib-DEBUG: io-channel-basic: child writing 8+402 bytes to 9 1169s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1169s # GLib-DEBUG: io-channel-basic: ...from 8: 402 bytes 1169s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1169s # GLib-DEBUG: io-channel-basic: child writing 8+2922 bytes to 17 1169s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1169s # GLib-DEBUG: io-channel-basic: ...from 16: 2922 bytes 1169s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1169s # GLib-DEBUG: io-channel-basic: child writing 8+2991 bytes to 11 1169s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1169s # GLib-DEBUG: io-channel-basic: ...from 10: 2991 bytes 1169s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1169s # GLib-DEBUG: io-channel-basic: child writing 8+4575 bytes to 13 1169s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1169s # GLib-DEBUG: io-channel-basic: ...from 12: 4575 bytes 1169s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1169s # GLib-DEBUG: io-channel-basic: child writing 8+2589 bytes to 9 1169s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1169s # GLib-DEBUG: io-channel-basic: ...from 8: 2589 bytes 1169s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1169s # GLib-DEBUG: io-channel-basic: child writing 8+3434 bytes to 17 1169s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1169s # GLib-DEBUG: io-channel-basic: ...from 16: 3434 bytes 1169s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1169s # GLib-DEBUG: io-channel-basic: child writing 8+2190 bytes to 15 1169s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1169s # GLib-DEBUG: io-channel-basic: ...from 14: 2190 bytes 1169s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1169s # GLib-DEBUG: io-channel-basic: child writing 8+3942 bytes to 11 1169s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1169s # GLib-DEBUG: io-channel-basic: ...from 10: 3942 bytes 1169s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1169s # GLib-DEBUG: io-channel-basic: child writing 8+108 bytes to 13 1169s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1169s # GLib-DEBUG: io-channel-basic: ...from 12: 108 bytes 1169s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1169s # GLib-DEBUG: io-channel-basic: child writing 8+951 bytes to 9 1169s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1169s # GLib-DEBUG: io-channel-basic: ...from 8: 951 bytes 1169s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1169s # GLib-DEBUG: io-channel-basic: child writing 8+805 bytes to 17 1169s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1169s # GLib-DEBUG: io-channel-basic: ...from 16: 805 bytes 1169s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1169s # GLib-DEBUG: io-channel-basic: child writing 8+1856 bytes to 15 1169s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1169s # GLib-DEBUG: io-channel-basic: ...from 14: 1856 bytes 1169s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1169s # GLib-DEBUG: io-channel-basic: child writing 8+555 bytes to 11 1169s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1169s # GLib-DEBUG: io-channel-basic: ...from 10: 555 bytes 1169s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1170s # GLib-DEBUG: io-channel-basic: child writing 8+1688 bytes to 13 1170s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1170s # GLib-DEBUG: io-channel-basic: ...from 12: 1688 bytes 1170s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1170s # GLib-DEBUG: io-channel-basic: child writing 8+4161 bytes to 9 1170s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1170s # GLib-DEBUG: io-channel-basic: ...from 8: 4161 bytes 1170s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1170s # GLib-DEBUG: io-channel-basic: child writing 8+808 bytes to 15 1170s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1170s # GLib-DEBUG: io-channel-basic: ...from 14: 808 bytes 1170s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1170s # GLib-DEBUG: io-channel-basic: child writing 8+848 bytes to 17 1170s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1170s # GLib-DEBUG: io-channel-basic: ...from 16: 848 bytes 1170s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1170s # GLib-DEBUG: io-channel-basic: child writing 8+4328 bytes to 11 1170s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1170s # GLib-DEBUG: io-channel-basic: ...from 10: 4328 bytes 1170s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1170s # GLib-DEBUG: io-channel-basic: child writing 8+274 bytes to 13 1170s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1170s # GLib-DEBUG: io-channel-basic: ...from 12: 274 bytes 1170s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1170s # GLib-DEBUG: io-channel-basic: child writing 8+4083 bytes to 17 1170s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1170s # GLib-DEBUG: io-channel-basic: ...from 16: 4083 bytes 1170s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1170s # GLib-DEBUG: io-channel-basic: child writing 8+2264 bytes to 9 1170s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1170s # GLib-DEBUG: io-channel-basic: ...from 8: 2264 bytes 1170s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1170s # GLib-DEBUG: io-channel-basic: child writing 8+1264 bytes to 15 1170s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1170s # GLib-DEBUG: io-channel-basic: ...from 14: 1264 bytes 1170s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1170s # GLib-DEBUG: io-channel-basic: child writing 8+275 bytes to 11 1170s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1170s # GLib-DEBUG: io-channel-basic: ...from 10: 275 bytes 1170s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1170s # GLib-DEBUG: io-channel-basic: child writing 8+4865 bytes to 13 1170s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1170s # GLib-DEBUG: io-channel-basic: ...from 12: 4865 bytes 1170s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1170s # GLib-DEBUG: io-channel-basic: child writing 8+3087 bytes to 17 1170s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1170s # GLib-DEBUG: io-channel-basic: ...from 16: 3087 bytes 1170s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1170s # GLib-DEBUG: io-channel-basic: child writing 8+3445 bytes to 15 1170s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1170s # GLib-DEBUG: io-channel-basic: ...from 14: 3445 bytes 1170s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1170s # GLib-DEBUG: io-channel-basic: child writing 8+2953 bytes to 9 1170s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1170s # GLib-DEBUG: io-channel-basic: ...from 8: 2953 bytes 1170s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1170s # GLib-DEBUG: io-channel-basic: child writing 8+2296 bytes to 11 1170s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1170s # GLib-DEBUG: io-channel-basic: ...from 10: 2296 bytes 1170s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1170s # GLib-DEBUG: io-channel-basic: child writing 8+4110 bytes to 13 1170s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1170s # GLib-DEBUG: io-channel-basic: ...from 12: 4110 bytes 1170s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1170s # GLib-DEBUG: io-channel-basic: child writing 8+4675 bytes to 15 1170s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1170s # GLib-DEBUG: io-channel-basic: ...from 14: 4675 bytes 1170s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1170s # GLib-DEBUG: io-channel-basic: child writing 8+2097 bytes to 17 1170s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1170s # GLib-DEBUG: io-channel-basic: ...from 16: 2097 bytes 1170s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1171s # GLib-DEBUG: io-channel-basic: child writing 8+3555 bytes to 9 1171s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1171s # GLib-DEBUG: io-channel-basic: ...from 8: 3555 bytes 1171s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1171s # GLib-DEBUG: io-channel-basic: child writing 8+2556 bytes to 11 1171s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1171s # GLib-DEBUG: io-channel-basic: ...from 10: 2556 bytes 1171s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1171s # GLib-DEBUG: io-channel-basic: child writing 8+2740 bytes to 13 1171s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1171s # GLib-DEBUG: io-channel-basic: ...from 12: 2740 bytes 1171s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1171s # GLib-DEBUG: io-channel-basic: child writing 8+1033 bytes to 17 1171s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1171s # GLib-DEBUG: io-channel-basic: ...from 16: 1033 bytes 1171s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1171s # GLib-DEBUG: io-channel-basic: child writing 8+549 bytes to 15 1171s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1171s # GLib-DEBUG: io-channel-basic: ...from 14: 549 bytes 1171s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1171s # Executing: glib/io-channel-basic.test 1171s # GLib-DEBUG: io-channel-basic: child writing 8+286 bytes to 9 1171s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1171s # GLib-DEBUG: io-channel-basic: ...from 8: 286 bytes 1171s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1171s # GLib-DEBUG: io-channel-basic: child writing 8+2685 bytes to 11 1171s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1171s # GLib-DEBUG: io-channel-basic: ...from 10: 2685 bytes 1171s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1171s # GLib-DEBUG: io-channel-basic: child writing 8+4644 bytes to 13 1171s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1171s # GLib-DEBUG: io-channel-basic: ...from 12: 4644 bytes 1171s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1171s # GLib-DEBUG: io-channel-basic: child writing 8+2930 bytes to 17 1171s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1171s # GLib-DEBUG: io-channel-basic: ...from 16: 2930 bytes 1171s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1171s # GLib-DEBUG: io-channel-basic: child writing 8+2961 bytes to 15 1171s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1171s # GLib-DEBUG: io-channel-basic: ...from 14: 2961 bytes 1171s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1171s # GLib-DEBUG: io-channel-basic: child writing 8+382 bytes to 9 1171s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1171s # GLib-DEBUG: io-channel-basic: ...from 8: 382 bytes 1171s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1171s # GLib-DEBUG: io-channel-basic: child writing 8+1889 bytes to 11 1171s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1171s # GLib-DEBUG: io-channel-basic: ...from 10: 1889 bytes 1171s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1171s # GLib-DEBUG: io-channel-basic: child writing 8+3863 bytes to 13 1171s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1171s # GLib-DEBUG: io-channel-basic: ...from 12: 3863 bytes 1171s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1171s # GLib-DEBUG: io-channel-basic: child writing 8+2638 bytes to 17 1171s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1171s # GLib-DEBUG: io-channel-basic: ...from 16: 2638 bytes 1171s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1171s # GLib-DEBUG: io-channel-basic: child writing 8+1732 bytes to 15 1171s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1171s # GLib-DEBUG: io-channel-basic: ...from 14: 1732 bytes 1171s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1171s # GLib-DEBUG: io-channel-basic: child writing 8+1177 bytes to 9 1171s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1171s # GLib-DEBUG: io-channel-basic: ...from 8: 1177 bytes 1171s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1171s # GLib-DEBUG: io-channel-basic: child writing 8+3238 bytes to 11 1171s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1171s # GLib-DEBUG: io-channel-basic: ...from 10: 3238 bytes 1171s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1171s # GLib-DEBUG: io-channel-basic: child writing 8+274 bytes to 13 1171s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1171s # GLib-DEBUG: io-channel-basic: ...from 12: 274 bytes 1171s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1172s # GLib-DEBUG: io-channel-basic: child writing 8+4705 bytes to 17 1172s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1172s # GLib-DEBUG: io-channel-basic: ...from 16: 4705 bytes 1172s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1172s # GLib-DEBUG: io-channel-basic: child writing 8+1931 bytes to 15 1172s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1172s # GLib-DEBUG: io-channel-basic: ...from 14: 1931 bytes 1172s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1172s # GLib-DEBUG: io-channel-basic: child writing 8+215 bytes to 9 1172s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1172s # GLib-DEBUG: io-channel-basic: ...from 8: 215 bytes 1172s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1172s # GLib-DEBUG: io-channel-basic: child writing 8+3204 bytes to 11 1172s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1172s # GLib-DEBUG: io-channel-basic: ...from 10: 3204 bytes 1172s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1172s # GLib-DEBUG: io-channel-basic: child writing 8+3294 bytes to 13 1172s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1172s # GLib-DEBUG: io-channel-basic: ...from 12: 3294 bytes 1172s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1172s # GLib-DEBUG: io-channel-basic: child writing 8+3917 bytes to 17 1172s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1172s # GLib-DEBUG: io-channel-basic: ...from 16: 3917 bytes 1172s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1172s # GLib-DEBUG: io-channel-basic: child writing 8+4120 bytes to 15 1172s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1172s # GLib-DEBUG: io-channel-basic: ...from 14: 4120 bytes 1172s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1172s # GLib-DEBUG: io-channel-basic: child writing 8+966 bytes to 9 1172s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1172s # GLib-DEBUG: io-channel-basic: ...from 8: 966 bytes 1172s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1172s # GLib-DEBUG: io-channel-basic: child writing 8+4253 bytes to 11 1172s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1172s # GLib-DEBUG: io-channel-basic: ...from 10: 4253 bytes 1172s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1172s # GLib-DEBUG: io-channel-basic: child writing 8+3852 bytes to 13 1172s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1172s # GLib-DEBUG: io-channel-basic: ...from 12: 3852 bytes 1172s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1172s # GLib-DEBUG: io-channel-basic: child writing 8+3193 bytes to 17 1172s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1172s # GLib-DEBUG: io-channel-basic: ...from 16: 3193 bytes 1172s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1172s # GLib-DEBUG: io-channel-basic: child writing 8+4425 bytes to 9 1172s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1172s # GLib-DEBUG: io-channel-basic: ...from 8: 4425 bytes 1172s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1172s # GLib-DEBUG: io-channel-basic: child writing 8+260 bytes to 15 1172s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1172s # GLib-DEBUG: io-channel-basic: ...from 14: 260 bytes 1172s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1172s # GLib-DEBUG: io-channel-basic: child writing 8+3059 bytes to 11 1172s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1172s # GLib-DEBUG: io-channel-basic: ...from 10: 3059 bytes 1172s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1172s # GLib-DEBUG: io-channel-basic: child writing 8+4231 bytes to 13 1172s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1172s # GLib-DEBUG: io-channel-basic: ...from 12: 4231 bytes 1172s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1172s # GLib-DEBUG: io-channel-basic: child writing 8+2971 bytes to 17 1172s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1172s # GLib-DEBUG: io-channel-basic: ...from 16: 2971 bytes 1172s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1172s # GLib-DEBUG: io-channel-basic: child writing 8+3637 bytes to 11 1172s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1172s # GLib-DEBUG: io-channel-basic: ...from 10: 3637 bytes 1172s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1172s # GLib-DEBUG: io-channel-basic: child writing 8+608 bytes to 9 1172s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1172s # GLib-DEBUG: io-channel-basic: ...from 8: 608 bytes 1172s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1172s # GLib-DEBUG: io-channel-basic: child writing 8+2912 bytes to 15 1172s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1172s # GLib-DEBUG: io-channel-basic: ...from 14: 2912 bytes 1172s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1173s # GLib-DEBUG: io-channel-basic: child writing 8+1993 bytes to 13 1173s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1173s # GLib-DEBUG: io-channel-basic: ...from 12: 1993 bytes 1173s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1173s # GLib-DEBUG: io-channel-basic: child writing 8+2462 bytes to 17 1173s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1173s # GLib-DEBUG: io-channel-basic: ...from 16: 2462 bytes 1173s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1173s # GLib-DEBUG: io-channel-basic: child writing 8+3084 bytes to 11 1173s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1173s # GLib-DEBUG: io-channel-basic: ...from 10: 3084 bytes 1173s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1173s # GLib-DEBUG: io-channel-basic: child writing 8+259 bytes to 9 1173s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1173s # GLib-DEBUG: io-channel-basic: ...from 8: 259 bytes 1173s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1173s # GLib-DEBUG: io-channel-basic: child writing 8+4222 bytes to 15 1173s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1173s # GLib-DEBUG: io-channel-basic: ...from 14: 4222 bytes 1173s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1173s # GLib-DEBUG: io-channel-basic: child writing 8+4749 bytes to 13 1173s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1173s # GLib-DEBUG: io-channel-basic: ...from 12: 4749 bytes 1173s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1173s # GLib-DEBUG: io-channel-basic: child writing 8+4558 bytes to 17 1173s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1173s # GLib-DEBUG: io-channel-basic: ...from 16: 4558 bytes 1173s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1173s # GLib-DEBUG: io-channel-basic: child writing 8+4708 bytes to 11 1173s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1173s # GLib-DEBUG: io-channel-basic: ...from 10: 4708 bytes 1173s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1173s # GLib-DEBUG: io-channel-basic: child writing 8+3823 bytes to 15 1173s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1173s # GLib-DEBUG: io-channel-basic: ...from 14: 3823 bytes 1173s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1173s # GLib-DEBUG: io-channel-basic: child writing 8+4395 bytes to 9 1173s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1173s # GLib-DEBUG: io-channel-basic: ...from 8: 4395 bytes 1173s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1173s # GLib-DEBUG: io-channel-basic: child writing 8+2857 bytes to 13 1173s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1173s # GLib-DEBUG: io-channel-basic: ...from 12: 2857 bytes 1173s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1173s # GLib-DEBUG: io-channel-basic: child writing 8+1925 bytes to 17 1173s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1173s # GLib-DEBUG: io-channel-basic: ...from 16: 1925 bytes 1173s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1173s # GLib-DEBUG: io-channel-basic: child writing 8+2494 bytes to 11 1173s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1173s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1173s # GLib-DEBUG: io-channel-basic: ...from 10: 2494 bytes 1173s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1173s # GLib-DEBUG: io-channel-basic: child writing 8+686 bytes to 9 1173s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1173s # GLib-DEBUG: io-channel-basic: ...from 8: 686 bytes 1173s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1173s # GLib-DEBUG: io-channel-basic: child writing 8+665 bytes to 15 1173s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1173s # GLib-DEBUG: io-channel-basic: ...from 14: 665 bytes 1173s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1173s # GLib-DEBUG: io-channel-basic: child writing 8+4634 bytes to 13 1173s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1173s # GLib-DEBUG: io-channel-basic: ...from 12: 4634 bytes 1173s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1173s # GLib-DEBUG: io-channel-basic: child writing 8+4896 bytes to 17 1173s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1173s # GLib-DEBUG: io-channel-basic: ...from 16: 4896 bytes 1173s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1173s # GLib-DEBUG: io-channel-basic: child writing 8+4140 bytes to 15 1173s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1173s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1173s # GLib-DEBUG: io-channel-basic: ...from 14: 4140 bytes 1173s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1173s # GLib-DEBUG: io-channel-basic: child writing 8+2752 bytes to 9 1173s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1173s # GLib-DEBUG: io-channel-basic: ...from 8: 2752 bytes 1173s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1174s # GLib-DEBUG: io-channel-basic: child writing 8+1459 bytes to 13 1174s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1174s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1174s # GLib-DEBUG: io-channel-basic: ...from 12: 1459 bytes 1174s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1174s # GLib-DEBUG: io-channel-basic: child writing 8+259 bytes to 17 1174s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1174s # GLib-DEBUG: io-channel-basic: ...from 16: 259 bytes 1174s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1174s # GLib-DEBUG: io-channel-basic: child writing 8+2750 bytes to 9 1174s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1174s # GLib-DEBUG: io-channel-basic: ...from 8: 2750 bytes 1174s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1174s # GLib-DEBUG: io-channel-basic: child writing 8+1780 bytes to 17 1174s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1174s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1174s # GLib-DEBUG: io-channel-basic: ...from 16: 1780 bytes 1174s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1174s # GLib-DEBUG: io-channel-basic: child writing 8+2403 bytes to 9 1174s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1174s # GLib-DEBUG: io-channel-basic: ...from 8: 2403 bytes 1174s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1174s # GLib-DEBUG: io-channel-basic: child writing 8+4703 bytes to 9 1174s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1174s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1174s # GLib-DEBUG: io-channel-basic: ...from 8: 4703 bytes 1174s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1174s ok 1 /gio/io-basics 1174s # slow test /gio/io-basics executed in 12.06 secs 1174s # End of gio tests 1174s ok - glib/io-channel-basic.test 1174s # Running test: glib/unix-mounts.test 1174s TAP version 14 1174s # random seed: R02Sda5b2bc177f7c2fffc0780745fa5e4f9 1174s 1..4 1174s # Start of unix-mounts tests 1174s ok 1 /unix-mounts/is-system-fs-type 1174s ok 2 /unix-mounts/is-system-device-path 1174s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 1174s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1174s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1174s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1174s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1174s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1174s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1174s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1174s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1174s ok 3 /unix-mounts/get-mount-points 1174s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 1174s ok 4 /unix-mounts/get-mount-entries 1174s # End of unix-mounts tests 1174s ok - glib/unix-mounts.test 1174s # Running test: glib/g-file.test 1174s TAP version 14 1174s # random seed: R02Scee157fc1f9ab967f97b65d9996a4620 1174s 1..8 1174s # Start of g-file tests 1174s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1174s ok 1 /g-file/test_g_file_new_null 1174s ok 2 /g-file/test_g_file_new_for_path 1174s ok 3 /g-file/test_g_file_new_for_uri 1174s ok - glib/g-file.test 1174s ok 4 /g-file/test_g_file_dup 1174s ok 5 /g-file/test_g_file_get_parse_name_utf8 1174s file:///tmp/test-tmp-glib_g-file.test-E4K8Z2 1174s file:///tmp 1174s file:///tmp 1174s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1174s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1174s ok 6 /g-file/test_g_file_new_for_commandline_arg 1174s /dir1 /dir1/dir2/dir3/ 1174s /dir1/ /dir1/dir2/dir3/ 1174s /dir1 /dir1/dir2/dir3 1174s /dir1/ /dir1/dir2/dir3 1174s /tmp/ /something/ 1174s /dir1/dir2 /dir1/ 1174s //dir1/new //dir1/new/dir2/dir3 1174s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1174s file:///dir1 file:///dir1/dir2/dir3/ 1174s file:///dir1/ file:///dir1/dir2/dir3/ 1174s file:///dir1 file:///dir1/dir2/dir3 1174s file:///dir1/ file:///dir1/dir2/dir3 1174s file:///tmp/ file:///something/ 1174s file:///dir1/dir2 file:///dir1/ 1174s file:////dir1/new file:////dir1/new/dir2/dir3 1174s 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 1174s ok 7 /g-file/test_g_file_has_prefix 1174s ok 8 /g-file/test_g_file_get_parent_child 1174s # End of g-file tests 1174s # Running test: glib/regex.test 1174s TAP version 14 1174s # random seed: R02S1be41ec1ef7d60792bb3729e5cd4ee81 1174s 1..848 1174s # Start of regex tests 1174s ok 1 /regex/properties 1174s ok 2 /regex/class 1174s ok 3 /regex/lookahead 1174s ok 4 /regex/lookbehind 1174s ok 5 /regex/subpattern 1174s ok 6 /regex/condition 1174s ok 7 /regex/recursion 1174s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1174s ok 8 /regex/multiline 1174s ok 9 /regex/explicit-crlf 1174s ok 10 /regex/max-lookbehind 1174s ok 11 /regex/compile-errors 1174s ok 12 /regex/jit-unsupported-matching 1174s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1174s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1174s ok 13 /regex/unmatched-named-subpattern 1174s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1174s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1174s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1174s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1174s ok 14 /regex/compiled-regex-after-jit-failure 1174s # Start of new tests 1174s ok 15 /regex/new/1 1174s ok 16 /regex/new/2 1174s ok 17 /regex/new/3 1174s ok 18 /regex/new/4 1174s ok 19 /regex/new/5 1174s ok 20 /regex/new/6 1174s ok 21 /regex/new/7 1174s ok 22 /regex/new/8 1174s ok 23 /regex/new/9 1174s ok 24 /regex/new/10 1174s ok 25 /regex/new/11 1174s ok 26 /regex/new/12 1174s ok 27 /regex/new/13 1174s ok 28 /regex/new/14 1174s ok 29 /regex/new/15 1174s ok 30 /regex/new/16 1174s ok 31 /regex/new/17 1174s ok 32 /regex/new/18 1174s ok 33 /regex/new/19 1174s ok 34 /regex/new/71 1174s ok 35 /regex/new/80 1174s ok 36 /regex/new/82 1174s # End of new tests 1174s # Start of new-check-flags tests 1174s ok 37 /regex/new-check-flags/20 1174s ok 38 /regex/new-check-flags/21 1174s ok 39 /regex/new-check-flags/22 1174s ok 40 /regex/new-check-flags/23 1174s ok 41 /regex/new-check-flags/24 1174s ok 42 /regex/new-check-flags/25 1174s ok 43 /regex/new-check-flags/26 1174s ok 44 /regex/new-check-flags/27 1174s ok 45 /regex/new-check-flags/28 1174s ok 46 /regex/new-check-flags/29 1174s ok 47 /regex/new-check-flags/30 1174s ok 48 /regex/new-check-flags/31 1174s ok 49 /regex/new-check-flags/32 1174s ok 50 /regex/new-check-flags/33 1174s ok 51 /regex/new-check-flags/34 1174s ok 52 /regex/new-check-flags/35 1174s ok 53 /regex/new-check-flags/36 1174s # End of new-check-flags tests 1174s # Start of new-fail tests 1174s ok 54 /regex/new-fail/37 1174s ok 55 /regex/new-fail/38 1174s ok 56 /regex/new-fail/39 1174s ok 57 /regex/new-fail/40 1174s ok 58 /regex/new-fail/41 1174s ok 59 /regex/new-fail/42 1174s ok 60 /regex/new-fail/43 1174s ok 61 /regex/new-fail/44 1174s ok 62 /regex/new-fail/45 1174s ok 63 /regex/new-fail/46 1174s ok 64 /regex/new-fail/47 1174s ok 65 /regex/new-fail/48 1174s ok 66 /regex/new-fail/49 1174s ok 67 /regex/new-fail/50 1174s ok 68 /regex/new-fail/51 1174s ok 69 /regex/new-fail/52 1174s ok 70 /regex/new-fail/53 1174s ok 71 /regex/new-fail/54 1174s ok 72 /regex/new-fail/55 1174s ok 73 /regex/new-fail/56 1174s ok 74 /regex/new-fail/57 1174s ok 75 /regex/new-fail/58 1174s ok 76 /regex/new-fail/59 1174s ok 77 /regex/new-fail/60 1174s ok 78 /regex/new-fail/61 1174s ok 79 /regex/new-fail/62 1174s ok 80 /regex/new-fail/63 1174s ok 81 /regex/new-fail/64 1174s ok 82 /regex/new-fail/65 1174s ok 83 /regex/new-fail/66 1174s ok 84 /regex/new-fail/67 1174s ok 85 /regex/new-fail/68 1174s ok 86 /regex/new-fail/69 1174s ok 87 /regex/new-fail/70 1174s ok 88 /regex/new-fail/72 1174s ok 89 /regex/new-fail/73 1174s ok 90 /regex/new-fail/74 1174s ok 91 /regex/new-fail/75 1174s ok 92 /regex/new-fail/76 1174s ok 93 /regex/new-fail/77 1174s ok 94 /regex/new-fail/78 1174s ok 95 /regex/new-fail/79 1174s ok 96 /regex/new-fail/81 1174s ok 97 /regex/new-fail/83 1174s ok 98 /regex/new-fail/84 1174s ok 99 /regex/new-fail/85 1174s ok 100 /regex/new-fail/86 1174s ok 101 /regex/new-fail/87 1174s ok 102 /regex/new-fail/88 1174s ok 103 /regex/new-fail/89 1174s ok 104 /regex/new-fail/90 1174s ok 105 /regex/new-fail/91 1174s # End of new-fail tests 1174s # Start of match-simple tests 1174s ok 106 /regex/match-simple/92 1174s ok 107 /regex/match-simple/93 1174s ok 108 /regex/match-simple/94 1174s ok 109 /regex/match-simple/95 1174s ok 110 /regex/match-simple/96 1174s ok 111 /regex/match-simple/97 1174s ok 112 /regex/match-simple/98 1174s ok 113 /regex/match-simple/99 1174s ok 114 /regex/match-simple/100 1174s ok 115 /regex/match-simple/101 1174s ok 116 /regex/match-simple/102 1174s ok 117 /regex/match-simple/103 1174s ok 118 /regex/match-simple/104 1174s ok 119 /regex/match-simple/105 1174s ok 120 /regex/match-simple/106 1174s ok 121 /regex/match-simple/107 1174s ok 122 /regex/match-simple/108 1174s ok 123 /regex/match-simple/109 1174s ok 124 /regex/match-simple/110 1174s ok 125 /regex/match-simple/111 1174s ok 126 /regex/match-simple/112 1174s ok 127 /regex/match-simple/113 1174s ok 128 /regex/match-simple/114 1174s ok 129 /regex/match-simple/115 1174s ok 130 /regex/match-simple/116 1174s ok 131 /regex/match-simple/117 1174s ok 132 /regex/match-simple/118 1174s ok 133 /regex/match-simple/119 1174s ok 134 /regex/match-simple/120 1174s ok 135 /regex/match-simple/121 1174s ok 136 /regex/match-simple/122 1174s ok 137 /regex/match-simple/123 1174s ok 138 /regex/match-simple/124 1174s ok 139 /regex/match-simple/125 1174s ok 140 /regex/match-simple/126 1174s ok 141 /regex/match-simple/127 1174s ok 142 /regex/match-simple/128 1174s ok 143 /regex/match-simple/129 1174s ok 144 /regex/match-simple/130 1174s ok 145 /regex/match-simple/131 1174s ok 146 /regex/match-simple/132 1174s ok 147 /regex/match-simple/133 1174s ok 148 /regex/match-simple/134 1174s ok 149 /regex/match-simple/135 1174s ok 150 /regex/match-simple/136 1174s ok 151 /regex/match-simple/137 1174s ok 152 /regex/match-simple/138 1174s ok 153 /regex/match-simple/139 1174s ok 154 /regex/match-simple/140 1174s ok 155 /regex/match-simple/141 1174s ok 156 /regex/match-simple/142 1174s ok 157 /regex/match-simple/143 1174s ok 158 /regex/match-simple/144 1174s ok 159 /regex/match-simple/145 1174s ok 160 /regex/match-simple/146 1174s ok 161 /regex/match-simple/147 1174s ok 162 /regex/match-simple/148 1174s ok 163 /regex/match-simple/149 1174s ok 164 /regex/match-simple/150 1174s ok 165 /regex/match-simple/151 1174s ok 166 /regex/match-simple/152 1174s ok 167 /regex/match-simple/153 1174s ok 168 /regex/match-simple/154 1174s ok 169 /regex/match-simple/155 1174s ok 170 /regex/match-simple/156 1174s ok 171 /regex/match-simple/157 1174s ok 172 /regex/match-simple/158 1174s ok 173 /regex/match-simple/159 1174s ok 174 /regex/match-simple/160 1174s ok 175 /regex/match-simple/161 1174s ok 176 /regex/match-simple/162 1174s ok 177 /regex/match-simple/163 1174s ok 178 /regex/match-simple/164 1174s # End of match-simple tests 1174s # Start of match-simple-optimized tests 1174s ok 179 /regex/match-simple-optimized/92 1174s ok 180 /regex/match-simple-optimized/93 1174s ok 181 /regex/match-simple-optimized/94 1174s ok 182 /regex/match-simple-optimized/95 1174s ok 183 /regex/match-simple-optimized/96 1174s ok 184 /regex/match-simple-optimized/97 1174s ok 185 /regex/match-simple-optimized/98 1174s ok 186 /regex/match-simple-optimized/99 1174s ok 187 /regex/match-simple-optimized/100 1174s ok 188 /regex/match-simple-optimized/101 1174s ok 189 /regex/match-simple-optimized/102 1174s ok 190 /regex/match-simple-optimized/103 1174s ok 191 /regex/match-simple-optimized/104 1174s ok 192 /regex/match-simple-optimized/105 1174s ok 193 /regex/match-simple-optimized/106 1174s ok 194 /regex/match-simple-optimized/107 1174s ok 195 /regex/match-simple-optimized/108 1174s ok 196 /regex/match-simple-optimized/109 1174s ok 197 /regex/match-simple-optimized/110 1174s ok 198 /regex/match-simple-optimized/111 1174s ok 199 /regex/match-simple-optimized/112 1174s ok 200 /regex/match-simple-optimized/113 1174s ok 201 /regex/match-simple-optimized/114 1174s ok 202 /regex/match-simple-optimized/115 1174s ok 203 /regex/match-simple-optimized/116 1174s ok 204 /regex/match-simple-optimized/117 1174s ok 205 /regex/match-simple-optimized/118 1174s ok 206 /regex/match-simple-optimized/119 1174s ok 207 /regex/match-simple-optimized/120 1174s ok 208 /regex/match-simple-optimized/121 1174s ok 209 /regex/match-simple-optimized/122 1174s ok 210 /regex/match-simple-optimized/123 1174s ok 211 /regex/match-simple-optimized/124 1174s ok 212 /regex/match-simple-optimized/125 1174s ok 213 /regex/match-simple-optimized/126 1174s ok 214 /regex/match-simple-optimized/127 1174s ok 215 /regex/match-simple-optimized/128 1174s ok 216 /regex/match-simple-optimized/129 1174s ok 217 /regex/match-simple-optimized/130 1174s ok 218 /regex/match-simple-optimized/131 1174s ok 219 /regex/match-simple-optimized/132 1174s ok 220 /regex/match-simple-optimized/133 1174s ok 221 /regex/match-simple-optimized/134 1174s ok 222 /regex/match-simple-optimized/135 1174s ok 223 /regex/match-simple-optimized/136 1174s ok 224 /regex/match-simple-optimized/137 1174s ok 225 /regex/match-simple-optimized/138 1174s ok 226 /regex/match-simple-optimized/139 1174s ok 227 /regex/match-simple-optimized/140 1174s ok 228 /regex/match-simple-optimized/141 1174s ok 229 /regex/match-simple-optimized/142 1174s ok 230 /regex/match-simple-optimized/143 1174s ok 231 /regex/match-simple-optimized/144 1174s ok 232 /regex/match-simple-optimized/145 1174s ok 233 /regex/match-simple-optimized/146 1174s ok 234 /regex/match-simple-optimized/147 1174s ok 235 /regex/match-simple-optimized/148 1174s ok 236 /regex/match-simple-optimized/149 1174s ok 237 /regex/match-simple-optimized/150 1174s ok 238 /regex/match-simple-optimized/151 1174s ok 239 /regex/match-simple-optimized/152 1174s ok 240 /regex/match-simple-optimized/153 1174s ok 241 /regex/match-simple-optimized/154 1174s ok 242 /regex/match-simple-optimized/155 1174s ok 243 /regex/match-simple-optimized/156 1174s ok 244 /regex/match-simple-optimized/157 1174s ok 245 /regex/match-simple-optimized/158 1174s ok 246 /regex/match-simple-optimized/159 1174s ok 247 /regex/match-simple-optimized/160 1174s ok 248 /regex/match-simple-optimized/161 1174s ok 249 /regex/match-simple-optimized/162 1174s ok 250 /regex/match-simple-optimized/163 1174s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1174s ok 251 /regex/match-simple-optimized/164 1174s # End of match-simple-optimized tests 1174s # Start of match tests 1174s ok 252 /regex/match/165 1174s ok 253 /regex/match/166 1174s ok 254 /regex/match/167 1174s ok 255 /regex/match/168 1174s ok 256 /regex/match/169 1174s ok 257 /regex/match/170 1174s ok 258 /regex/match/171 1174s ok 259 /regex/match/172 1174s ok 260 /regex/match/173 1174s ok 261 /regex/match/174 1174s ok 262 /regex/match/175 1174s ok 263 /regex/match/176 1174s ok 264 /regex/match/177 1174s ok 265 /regex/match/178 1174s ok 266 /regex/match/179 1174s ok 267 /regex/match/180 1174s ok 268 /regex/match/181 1174s ok 269 /regex/match/182 1174s ok 270 /regex/match/183 1174s ok 271 /regex/match/184 1174s ok 272 /regex/match/185 1174s ok 273 /regex/match/186 1174s ok 274 /regex/match/187 1174s ok 275 /regex/match/188 1174s ok 276 /regex/match/189 1174s ok 277 /regex/match/190 1174s ok 278 /regex/match/191 1174s ok 279 /regex/match/192 1174s ok 280 /regex/match/193 1174s ok 281 /regex/match/194 1174s ok 282 /regex/match/195 1174s ok 283 /regex/match/196 1174s ok 284 /regex/match/197 1174s ok 285 /regex/match/198 1174s ok 286 /regex/match/199 1174s ok 287 /regex/match/200 1174s ok 288 /regex/match/201 1174s ok 289 /regex/match/202 1174s ok 290 /regex/match/203 1174s ok 291 /regex/match/204 1174s ok 292 /regex/match/205 1174s ok 293 /regex/match/206 1174s ok 294 /regex/match/207 1174s ok 295 /regex/match/208 1174s ok 296 /regex/match/209 1174s ok 297 /regex/match/210 1174s ok 298 /regex/match/211 1174s ok 299 /regex/match/212 1174s ok 300 /regex/match/213 1174s ok 301 /regex/match/214 1174s ok 302 /regex/match/215 1174s ok 303 /regex/match/216 1174s ok 304 /regex/match/217 1174s ok 305 /regex/match/218 1174s ok 306 /regex/match/219 1174s ok 307 /regex/match/220 1174s ok 308 /regex/match/221 1174s ok 309 /regex/match/222 1174s ok 310 /regex/match/223 1174s ok 311 /regex/match/224 1174s ok 312 /regex/match/225 1174s ok 313 /regex/match/226 1174s ok 314 /regex/match/227 1174s ok 315 /regex/match/228 1174s ok 316 /regex/match/229 1174s ok 317 /regex/match/230 1174s ok 318 /regex/match/231 1174s ok 319 /regex/match/232 1174s ok 320 /regex/match/233 1174s ok 321 /regex/match/234 1174s ok 322 /regex/match/235 1174s ok 323 /regex/match/236 1174s ok 324 /regex/match/237 1174s ok 325 /regex/match/238 1174s ok 326 /regex/match/239 1174s ok 327 /regex/match/240 1174s ok 328 /regex/match/241 1174s ok 329 /regex/match/242 1174s ok 330 /regex/match/243 1174s ok 331 /regex/match/244 1174s ok 332 /regex/match/245 1174s ok 333 /regex/match/246 1174s ok 334 /regex/match/partial281 1174s ok 335 /regex/match/partial282 1174s ok 336 /regex/match/partial283 1174s ok 337 /regex/match/partial284 1174s ok 338 /regex/match/partial285 1174s ok 339 /regex/match/partial286 1174s ok 340 /regex/match/partial287 1174s ok 341 /regex/match/partial288 1174s ok 342 /regex/match/partial289 1174s ok 343 /regex/match/partial290 1174s ok 344 /regex/match/partial291 1174s ok 345 /regex/match/partial292 1174s ok 346 /regex/match/partial293 1174s ok 347 /regex/match/partial294 1174s ok 348 /regex/match/partial295 1174s ok 349 /regex/match/partial296 1174s ok 350 /regex/match/partial297 1174s ok 351 /regex/match/partial298 1174s ok 352 /regex/match/partial299 1174s ok 353 /regex/match/partial300 1174s ok 354 /regex/match/partial301 1174s ok 355 /regex/match/partial302 1174s # Start of next0 tests 1174s ok 356 /regex/match/next0/247 1174s ok 357 /regex/match/next0/248 1174s ok 358 /regex/match/next0/249 1174s ok 359 /regex/match/next0/250 1174s # End of next0 tests 1174s # Start of next1 tests 1174s ok 360 /regex/match/next1/251 1174s ok 361 /regex/match/next1/252 1174s ok 362 /regex/match/next1/253 1174s ok 363 /regex/match/next1/254 1174s ok 364 /regex/match/next1/255 1174s # End of next1 tests 1174s # Start of next2 tests 1174s ok 365 /regex/match/next2/256 1174s ok 366 /regex/match/next2/257 1174s ok 367 /regex/match/next2/258 1174s ok 368 /regex/match/next2/259 1174s ok 369 /regex/match/next2/260 1174s ok 370 /regex/match/next2/261 1174s ok 371 /regex/match/next2/262 1174s ok 372 /regex/match/next2/263 1174s # End of next2 tests 1174s # Start of next3 tests 1174s ok 373 /regex/match/next3/264 1174s ok 374 /regex/match/next3/265 1174s ok 375 /regex/match/next3/266 1174s ok 376 /regex/match/next3/267 1174s ok 377 /regex/match/next3/268 1174s ok 378 /regex/match/next3/269 1174s # End of next3 tests 1174s # Start of next4 tests 1174s ok 379 /regex/match/next4/270 1174s # End of next4 tests 1174s # Start of count tests 1174s ok 380 /regex/match/count/271 1174s ok 381 /regex/match/count/272 1174s ok 382 /regex/match/count/273 1174s ok 383 /regex/match/count/274 1174s ok 384 /regex/match/count/275 1174s ok 385 /regex/match/count/276 1174s ok 386 /regex/match/count/277 1174s ok 387 /regex/match/count/278 1174s ok 388 /regex/match/count/279 1174s ok 389 /regex/match/count/280 1174s # End of count tests 1174s # Start of count-optimized tests 1174s ok 390 /regex/match/count-optimized/271 1174s ok 391 /regex/match/count-optimized/272 1174s ok 392 /regex/match/count-optimized/273 1174s ok 393 /regex/match/count-optimized/274 1174s ok 394 /regex/match/count-optimized/275 1174s ok 395 /regex/match/count-optimized/276 1174s ok 396 /regex/match/count-optimized/277 1174s ok 397 /regex/match/count-optimized/278 1174s ok 398 /regex/match/count-optimized/279 1174s ok 399 /regex/match/count-optimized/280 1174s # End of count-optimized tests 1174s # Start of partial-optimized tests 1174s ok 400 /regex/match/partial-optimized/281 1174s ok 401 /regex/match/partial-optimized/282 1174s ok 402 /regex/match/partial-optimized/283 1174s ok 403 /regex/match/partial-optimized/284 1174s ok 404 /regex/match/partial-optimized/285 1174s ok 405 /regex/match/partial-optimized/286 1174s ok 406 /regex/match/partial-optimized/287 1174s ok 407 /regex/match/partial-optimized/288 1174s ok 408 /regex/match/partial-optimized/289 1174s ok 409 /regex/match/partial-optimized/290 1174s ok 410 /regex/match/partial-optimized/291 1174s ok 411 /regex/match/partial-optimized/292 1174s ok 412 /regex/match/partial-optimized/293 1174s ok 413 /regex/match/partial-optimized/294 1174s ok 414 /regex/match/partial-optimized/295 1174s ok 415 /regex/match/partial-optimized/296 1174s ok 416 /regex/match/partial-optimized/297 1174s ok 417 /regex/match/partial-optimized/298 1174s ok 418 /regex/match/partial-optimized/299 1174s ok 419 /regex/match/partial-optimized/300 1174s ok 420 /regex/match/partial-optimized/301 1174s ok 421 /regex/match/partial-optimized/302 1174s # End of partial-optimized tests 1174s # Start of subpattern tests 1174s ok 422 /regex/match/subpattern/303 1174s ok 423 /regex/match/subpattern/304 1174s ok 424 /regex/match/subpattern/305 1174s ok 425 /regex/match/subpattern/306 1174s ok 426 /regex/match/subpattern/307 1174s ok 427 /regex/match/subpattern/308 1174s ok 428 /regex/match/subpattern/309 1174s ok 429 /regex/match/subpattern/310 1174s ok 430 /regex/match/subpattern/311 1174s ok 431 /regex/match/subpattern/312 1174s ok 432 /regex/match/subpattern/313 1174s ok 433 /regex/match/subpattern/314 1174s ok 434 /regex/match/subpattern/315 1174s # Start of named tests 1174s # Start of dupnames tests 1174s ok 435 /regex/match/subpattern/named/dupnames/325 1174s ok 436 /regex/match/subpattern/named/dupnames/326 1174s ok 437 /regex/match/subpattern/named/dupnames/327 1174s ok 438 /regex/match/subpattern/named/dupnames/328 1174s ok 439 /regex/match/subpattern/named/dupnames/329 1174s # End of dupnames tests 1174s # End of named tests 1174s # End of subpattern tests 1174s # Start of subpattern-optimized tests 1174s ok 440 /regex/match/subpattern-optimized/303 1174s ok 441 /regex/match/subpattern-optimized/304 1174s ok 442 /regex/match/subpattern-optimized/305 1174s ok 443 /regex/match/subpattern-optimized/306 1174s ok 444 /regex/match/subpattern-optimized/307 1174s ok 445 /regex/match/subpattern-optimized/308 1174s ok 446 /regex/match/subpattern-optimized/309 1174s ok 447 /regex/match/subpattern-optimized/310 1174s ok 448 /regex/match/subpattern-optimized/311 1174s ok 449 /regex/match/subpattern-optimized/312 1174s ok 450 /regex/match/subpattern-optimized/313 1174s ok 451 /regex/match/subpattern-optimized/314 1174s ok 452 /regex/match/subpattern-optimized/315 1174s # End of subpattern-optimized tests 1174s # Start of named tests 1174s # Start of subpattern tests 1174s ok 453 /regex/match/named/subpattern/316 1174s ok 454 /regex/match/named/subpattern/317 1174s ok 455 /regex/match/named/subpattern/318 1174s ok 456 /regex/match/named/subpattern/319 1174s ok 457 /regex/match/named/subpattern/320 1174s ok 458 /regex/match/named/subpattern/321 1174s ok 459 /regex/match/named/subpattern/322 1174s ok 460 /regex/match/named/subpattern/323 1174s ok 461 /regex/match/named/subpattern/324 1174s ok 462 /regex/match/named/subpattern/330 1174s ok 463 /regex/match/named/subpattern/331 1174s ok 464 /regex/match/named/subpattern/332 1174s ok 465 /regex/match/named/subpattern/333 1174s ok 466 /regex/match/named/subpattern/334 1174s # End of subpattern tests 1174s # End of named tests 1174s # End of match tests 1174s # Start of match-optimized tests 1174s ok 467 /regex/match-optimized/165 1174s ok 468 /regex/match-optimized/166 1174s ok 469 /regex/match-optimized/167 1174s ok 470 /regex/match-optimized/168 1174s ok 471 /regex/match-optimized/169 1174s ok 472 /regex/match-optimized/170 1174s ok 473 /regex/match-optimized/171 1174s ok 474 /regex/match-optimized/172 1174s ok 475 /regex/match-optimized/173 1174s ok 476 /regex/match-optimized/174 1174s ok 477 /regex/match-optimized/175 1174s ok 478 /regex/match-optimized/176 1174s ok 479 /regex/match-optimized/177 1174s ok 480 /regex/match-optimized/178 1174s ok 481 /regex/match-optimized/179 1174s ok 482 /regex/match-optimized/180 1174s ok 483 /regex/match-optimized/181 1174s ok 484 /regex/match-optimized/182 1174s ok 485 /regex/match-optimized/183 1174s ok 486 /regex/match-optimized/184 1174s ok 487 /regex/match-optimized/185 1174s ok 488 /regex/match-optimized/186 1174s ok 489 /regex/match-optimized/187 1174s ok 490 /regex/match-optimized/188 1174s ok 491 /regex/match-optimized/189 1174s ok 492 /regex/match-optimized/190 1174s ok 493 /regex/match-optimized/191 1174s ok 494 /regex/match-optimized/192 1174s ok 495 /regex/match-optimized/193 1174s ok 496 /regex/match-optimized/194 1174s ok 497 /regex/match-optimized/195 1174s ok 498 /regex/match-optimized/196 1174s ok 499 /regex/match-optimized/197 1174s ok 500 /regex/match-optimized/198 1174s ok 501 /regex/match-optimized/199 1174s ok 502 /regex/match-optimized/200 1174s ok 503 /regex/match-optimized/201 1174s ok 504 /regex/match-optimized/202 1174s ok 505 /regex/match-optimized/203 1174s ok 506 /regex/match-optimized/204 1174s ok 507 /regex/match-optimized/205 1174s ok 508 /regex/match-optimized/206 1174s ok 509 /regex/match-optimized/207 1174s ok 510 /regex/match-optimized/208 1174s ok 511 /regex/match-optimized/209 1174s ok 512 /regex/match-optimized/210 1174s ok 513 /regex/match-optimized/211 1174s ok 514 /regex/match-optimized/212 1174s ok 515 /regex/match-optimized/213 1174s ok 516 /regex/match-optimized/214 1174s ok 517 /regex/match-optimized/215 1174s ok 518 /regex/match-optimized/216 1174s ok 519 /regex/match-optimized/217 1174s ok 520 /regex/match-optimized/218 1174s ok 521 /regex/match-optimized/219 1174s ok 522 /regex/match-optimized/220 1174s ok 523 /regex/match-optimized/221 1174s ok 524 /regex/match-optimized/222 1174s ok 525 /regex/match-optimized/223 1174s ok 526 /regex/match-optimized/224 1174s ok 527 /regex/match-optimized/225 1174s ok 528 /regex/match-optimized/226 1174s ok 529 /regex/match-optimized/227 1174s ok 530 /regex/match-optimized/228 1174s ok 531 /regex/match-optimized/229 1174s ok 532 /regex/match-optimized/230 1174s ok 533 /regex/match-optimized/231 1174s ok 534 /regex/match-optimized/232 1174s ok 535 /regex/match-optimized/233 1174s ok 536 /regex/match-optimized/234 1174s ok 537 /regex/match-optimized/235 1174s ok 538 /regex/match-optimized/236 1174s ok 539 /regex/match-optimized/237 1174s ok 540 /regex/match-optimized/238 1174s ok 541 /regex/match-optimized/239 1174s ok 542 /regex/match-optimized/240 1174s ok 543 /regex/match-optimized/241 1174s ok 544 /regex/match-optimized/242 1174s ok 545 /regex/match-optimized/243 1174s ok 546 /regex/match-optimized/244 1174s ok 547 /regex/match-optimized/245 1174s ok 548 /regex/match-optimized/246 1174s # End of match-optimized tests 1174s # Start of fetch-all0 tests 1174s ok 549 /regex/fetch-all0/335 1174s ok 550 /regex/fetch-all0/336 1174s # End of fetch-all0 tests 1174s # Start of fetch-all1 tests 1174s ok 551 /regex/fetch-all1/337 1174s ok 552 /regex/fetch-all1/338 1174s ok 553 /regex/fetch-all1/339 1174s # End of fetch-all1 tests 1174s # Start of fetch-all2 tests 1174s ok 554 /regex/fetch-all2/340 1174s ok 555 /regex/fetch-all2/341 1174s ok 556 /regex/fetch-all2/342 1174s # End of fetch-all2 tests 1174s # Start of fetch-all3 tests 1174s ok 557 /regex/fetch-all3/343 1174s ok 558 /regex/fetch-all3/344 1174s ok 559 /regex/fetch-all3/345 1174s ok 560 /regex/fetch-all3/346 1174s ok 561 /regex/fetch-all3/347 1174s # End of fetch-all3 tests 1174s # Start of split tests 1174s # Start of simple0 tests 1174s ok 562 /regex/split/simple0/348 1174s ok 563 /regex/split/simple0/349 1174s ok 564 /regex/split/simple0/364 1174s ok 565 /regex/split/simple0/365 1174s # End of simple0 tests 1174s # Start of simple1 tests 1174s ok 566 /regex/split/simple1/350 1174s ok 567 /regex/split/simple1/351 1174s # End of simple1 tests 1174s # Start of simple2 tests 1174s ok 568 /regex/split/simple2/352 1174s ok 569 /regex/split/simple2/358 1174s ok 570 /regex/split/simple2/360 1174s # End of simple2 tests 1174s # Start of simple3 tests 1174s ok 571 /regex/split/simple3/353 1174s ok 572 /regex/split/simple3/354 1174s ok 573 /regex/split/simple3/355 1174s ok 574 /regex/split/simple3/356 1174s ok 575 /regex/split/simple3/357 1174s ok 576 /regex/split/simple3/359 1174s ok 577 /regex/split/simple3/361 1174s ok 578 /regex/split/simple3/362 1174s ok 579 /regex/split/simple3/363 1174s # End of simple3 tests 1174s # End of split tests 1174s # Start of split0 tests 1174s ok 580 /regex/split0/366 1174s ok 581 /regex/split0/368 1174s # End of split0 tests 1174s # Start of full-split0 tests 1174s ok 582 /regex/full-split0/367 1174s ok 583 /regex/full-split0/369 1174s ok 584 /regex/full-split0/370 1174s ok 585 /regex/full-split0/371 1174s ok 586 /regex/full-split0/372 1174s # End of full-split0 tests 1174s # Start of split1 tests 1174s ok 587 /regex/split1/373 1174s ok 588 /regex/split1/376 1174s # End of split1 tests 1174s # Start of full-split1 tests 1174s ok 589 /regex/full-split1/374 1174s ok 590 /regex/full-split1/375 1174s ok 591 /regex/full-split1/377 1174s ok 592 /regex/full-split1/378 1174s ok 593 /regex/full-split1/404 1174s # End of full-split1 tests 1174s # Start of split2 tests 1174s ok 594 /regex/split2/379 1174s ok 595 /regex/split2/383 1174s ok 596 /regex/split2/395 1174s # End of split2 tests 1174s # Start of full-split2 tests 1174s ok 597 /regex/full-split2/380 1174s ok 598 /regex/full-split2/381 1174s ok 599 /regex/full-split2/382 1174s ok 600 /regex/full-split2/384 1174s ok 601 /regex/full-split2/396 1174s ok 602 /regex/full-split2/399 1174s ok 603 /regex/full-split2/405 1174s # End of full-split2 tests 1174s # Start of split3 tests 1174s ok 604 /regex/split3/385 1174s ok 605 /regex/split3/387 1174s ok 606 /regex/split3/389 1174s ok 607 /regex/split3/391 1174s ok 608 /regex/split3/393 1174s ok 609 /regex/split3/397 1174s ok 610 /regex/split3/400 1174s ok 611 /regex/split3/402 1174s # End of split3 tests 1174s # Start of full-split3 tests 1174s ok 612 /regex/full-split3/386 1174s ok 613 /regex/full-split3/388 1174s ok 614 /regex/full-split3/390 1174s ok 615 /regex/full-split3/392 1174s ok 616 /regex/full-split3/394 1174s ok 617 /regex/full-split3/398 1174s ok 618 /regex/full-split3/401 1174s ok 619 /regex/full-split3/403 1174s ok 620 /regex/full-split3/406 1174s ok 621 /regex/full-split3/407 1174s # End of full-split3 tests 1174s # Start of check-repacement tests 1174s ok 622 /regex/check-repacement/408 1174s ok 623 /regex/check-repacement/409 1174s ok 624 /regex/check-repacement/410 1174s ok 625 /regex/check-repacement/411 1174s ok 626 /regex/check-repacement/412 1174s ok 627 /regex/check-repacement/413 1174s ok 628 /regex/check-repacement/414 1174s ok 629 /regex/check-repacement/415 1174s # End of check-repacement tests 1174s # Start of expand tests 1174s ok 630 /regex/expand/416 1174s ok 631 /regex/expand/417 1174s ok 632 /regex/expand/418 1174s ok 633 /regex/expand/419 1174s ok 634 /regex/expand/420 1174s ok 635 /regex/expand/421 1174s ok 636 /regex/expand/422 1174s ok 637 /regex/expand/423 1174s ok 638 /regex/expand/424 1174s ok 639 /regex/expand/425 1174s ok 640 /regex/expand/426 1174s ok 641 /regex/expand/427 1174s ok 642 /regex/expand/428 1174s ok 643 /regex/expand/429 1174s ok 644 /regex/expand/430 1174s ok 645 /regex/expand/431 1174s ok 646 /regex/expand/432 1174s ok 647 /regex/expand/433 1174s ok 648 /regex/expand/434 1174s ok 649 /regex/expand/435 1174s ok 650 /regex/expand/436 1174s ok 651 /regex/expand/437 1174s ok 652 /regex/expand/438 1174s ok 653 /regex/expand/439 1174s ok 654 /regex/expand/440 1174s ok 655 /regex/expand/441 1174s ok 656 /regex/expand/442 1174s ok 657 /regex/expand/443 1174s ok 658 /regex/expand/444 1174s ok 659 /regex/expand/445 1174s ok 660 /regex/expand/446 1174s ok 661 /regex/expand/447 1174s ok 662 /regex/expand/448 1174s ok 663 /regex/expand/449 1174s ok 664 /regex/expand/450 1174s ok 665 /regex/expand/451 1174s ok 666 /regex/expand/452 1174s ok 667 /regex/expand/453 1174s ok 668 /regex/expand/454 1174s ok 669 /regex/expand/455 1174s ok 670 /regex/expand/456 1174s ok 671 /regex/expand/457 1174s ok 672 /regex/expand/458 1174s ok 673 /regex/expand/459 1174s ok 674 /regex/expand/460 1174s ok 675 /regex/expand/461 1174s ok 676 /regex/expand/462 1174s ok 677 /regex/expand/463 1174s ok 678 /regex/expand/464 1174s ok 679 /regex/expand/465 1174s ok 680 /regex/expand/466 1174s ok 681 /regex/expand/467 1174s ok 682 /regex/expand/468 1174s ok 683 /regex/expand/469 1174s ok 684 /regex/expand/470 1174s ok 685 /regex/expand/471 1174s ok 686 /regex/expand/472 1174s ok 687 /regex/expand/473 1174s ok 688 /regex/expand/474 1174s ok 689 /regex/expand/475 1174s ok 690 /regex/expand/476 1174s ok 691 /regex/expand/477 1174s ok 692 /regex/expand/478 1174s ok 693 /regex/expand/479 1174s ok 694 /regex/expand/480 1174s ok 695 /regex/expand/481 1174s # End of expand tests 1174s # Start of replace tests 1174s ok 696 /regex/replace/482 1174s ok 697 /regex/replace/483 1174s ok 698 /regex/replace/484 1174s ok 699 /regex/replace/485 1174s ok 700 /regex/replace/486 1174s ok 701 /regex/replace/487 1174s ok 702 /regex/replace/488 1174s ok 703 /regex/replace/489 1174s ok 704 /regex/replace/490 1174s ok 705 /regex/replace/491 1174s ok 706 /regex/replace/492 1174s ok 707 /regex/replace/493 1174s ok 708 /regex/replace/494 1174s ok 709 /regex/replace/495 1174s ok 710 /regex/replace/496 1174s ok 711 /regex/replace/497 1174s ok 712 /regex/replace/498 1174s ok 713 /regex/replace/499 1174s ok 714 /regex/replace/500 1174s ok 715 /regex/replace/501 1174s ok 716 /regex/replace/502 1174s ok 717 /regex/replace/503 1174s ok 718 /regex/replace/504 1174s ok 719 /regex/replace/505 1174s ok 720 /regex/replace/506 1174s ok 721 /regex/replace/507 1174s ok 722 /regex/replace/508 1174s ok 723 /regex/replace/509 1174s # End of replace tests 1174s # Start of replace-optimized tests 1174s ok 724 /regex/replace-optimized/482 1174s ok 725 /regex/replace-optimized/483 1174s ok 726 /regex/replace-optimized/484 1174s ok 727 /regex/replace-optimized/485 1174s ok 728 /regex/replace-optimized/486 1174s ok 729 /regex/replace-optimized/487 1174s ok 730 /regex/replace-optimized/488 1174s ok 731 /regex/replace-optimized/489 1174s ok 732 /regex/replace-optimized/490 1174s ok 733 /regex/replace-optimized/491 1174s ok 734 /regex/replace-optimized/492 1174s ok 735 /regex/replace-optimized/493 1174s ok 736 /regex/replace-optimized/494 1174s ok 737 /regex/replace-optimized/495 1174s ok 738 /regex/replace-optimized/496 1174s ok 739 /regex/replace-optimized/497 1174s ok 740 /regex/replace-optimized/498 1174s ok 741 /regex/replace-optimized/499 1174s ok 742 /regex/replace-optimized/500 1174s ok 743 /regex/replace-optimized/501 1174s ok 744 /regex/replace-optimized/502 1174s ok 745 /regex/replace-optimized/503 1174s ok 746 /regex/replace-optimized/504 1174s ok 747 /regex/replace-optimized/505 1174s ok 748 /regex/replace-optimized/506 1174s ok 749 /regex/replace-optimized/507 1174s ok 750 /regex/replace-optimized/508 1174s ok 751 /regex/replace-optimized/509 1174s # End of replace-optimized tests 1174s # Start of replace-literally tests 1174s ok 752 /regex/replace-literally/510 1174s ok 753 /regex/replace-literally/511 1174s ok 754 /regex/replace-literally/512 1174s ok 755 /regex/replace-literally/513 1174s ok 756 /regex/replace-literally/514 1174s ok 757 /regex/replace-literally/515 1174s ok 758 /regex/replace-literally/516 1174s ok 759 /regex/replace-literally/517 1174s ok 760 /regex/replace-literally/518 1174s ok 761 /regex/replace-literally/519 1174s ok 762 /regex/replace-literally/520 1174s ok 763 /regex/replace-literally/521 1174s ok 764 /regex/replace-literally/522 1174s ok 765 /regex/replace-literally/523 1174s ok 766 /regex/replace-literally/524 1174s ok 767 /regex/replace-literally/525 1174s ok 768 /regex/replace-literally/526 1174s ok 769 /regex/replace-literally/527 1174s ok 770 /regex/replace-literally/528 1174s ok 771 /regex/replace-literally/529 1174s # End of replace-literally tests 1174s # Start of string-number tests 1174s ok 772 /regex/string-number/530 1174s ok 773 /regex/string-number/531 1174s ok 774 /regex/string-number/532 1174s ok 775 /regex/string-number/533 1174s ok 776 /regex/string-number/534 1174s ok 777 /regex/string-number/535 1174s ok 778 /regex/string-number/536 1174s ok 779 /regex/string-number/537 1174s ok 780 /regex/string-number/538 1174s ok 781 /regex/string-number/539 1174s ok 782 /regex/string-number/540 1174s ok 783 /regex/string-number/541 1174s ok 784 /regex/string-number/542 1174s ok 785 /regex/string-number/543 1174s ok 786 /regex/string-number/544 1174s # End of string-number tests 1174s # Start of escape_nul tests 1174s ok 787 /regex/escape_nul/545 1174s ok 788 /regex/escape_nul/546 1174s ok 789 /regex/escape_nul/547 1174s ok 790 /regex/escape_nul/548 1174s ok 791 /regex/escape_nul/549 1174s ok 792 /regex/escape_nul/550 1174s ok 793 /regex/escape_nul/551 1174s ok 794 /regex/escape_nul/552 1174s ok 795 /regex/escape_nul/553 1174s ok 796 /regex/escape_nul/554 1174s ok 797 /regex/escape_nul/555 1174s ok 798 /regex/escape_nul/556 1174s ok 799 /regex/escape_nul/557 1174s ok 800 /regex/escape_nul/558 1174s ok 801 /regex/escape_nul/559 1174s # End of escape_nul tests 1174s # Start of escape tests 1174s ok 802 /regex/escape/560 1174s ok 803 /regex/escape/561 1174s ok 804 /regex/escape/562 1174s ok 805 /regex/escape/563 1174s ok 806 /regex/escape/564 1174s ok 807 /regex/escape/565 1174s ok 808 /regex/escape/566 1174s ok 809 /regex/escape/567 1174s ok 810 /regex/escape/568 1174s ok 811 /regex/escape/569 1174s ok 812 /regex/escape/570 1174s ok 813 /regex/escape/571 1174s ok 814 /regex/escape/572 1174s ok 815 /regex/escape/573 1174s ok 816 /regex/escape/574 1174s ok 817 /regex/escape/575 1174s ok 818 /regex/escape/576 1174s ok 819 /regex/escape/577 1174s # End of escape tests 1174s # Start of match-all0 tests 1174s ok 820 /regex/match-all0/578 1174s ok 821 /regex/match-all0/580 1174s # End of match-all0 tests 1174s # Start of match-all-full0 tests 1174s ok 822 /regex/match-all-full0/579 1174s ok 823 /regex/match-all-full0/581 1174s ok 824 /regex/match-all-full0/582 1174s ok 825 /regex/match-all-full0/583 1174s # End of match-all-full0 tests 1174s # Start of match-all1 tests 1174s ok 826 /regex/match-all1/584 1174s ok 827 /regex/match-all1/586 1174s ok 828 /regex/match-all1/591 1174s # End of match-all1 tests 1174s # Start of match-all-full1 tests 1174s ok 829 /regex/match-all-full1/585 1174s ok 830 /regex/match-all-full1/587 1174s ok 831 /regex/match-all-full1/588 1174s ok 832 /regex/match-all-full1/589 1174s ok - glib/regex.test 1174s # Running test: glib/spawn-test.test 1174s ok - glib/spawn-test.test 1174s # Running test: glib/atomic-c-17.test 1174s ok 833 /regex/match-all-full1/590 1174s ok 834 /regex/match-all-full1/592 1174s # End of match-all-full1 tests 1174s # Start of match-all2 tests 1174s ok 835 /regex/match-all2/593 1174s ok 836 /regex/match-all2/595 1174s ok 837 /regex/match-all2/597 1174s # End of match-all2 tests 1174s # Start of match-all-full2 tests 1174s ok 838 /regex/match-all-full2/594 1174s ok 839 /regex/match-all-full2/596 1174s ok 840 /regex/match-all-full2/598 1174s # End of match-all-full2 tests 1174s # Start of match-all3 tests 1174s ok 841 /regex/match-all3/599 1174s ok 842 /regex/match-all3/601 1174s # End of match-all3 tests 1174s # Start of match-all-full3 tests 1174s ok 843 /regex/match-all-full3/600 1174s ok 844 /regex/match-all-full3/602 1174s # End of match-all-full3 tests 1174s # Start of match-notempty tests 1174s ok 845 /regex/match-notempty/603 1174s # End of match-notempty tests 1174s # Start of match-notempty-optimized tests 1174s ok 846 /regex/match-notempty-optimized/603 1174s # End of match-notempty-optimized tests 1174s # Start of match-notempty-atstart tests 1174s ok 847 /regex/match-notempty-atstart/604 1174s # End of match-notempty-atstart tests 1174s # Start of match-notempty-atstart-optimized tests 1174s ok 848 /regex/match-notempty-atstart-optimized/604 1174s # End of match-notempty-atstart-optimized tests 1174s # End of regex tests 1174s TAP version 14 1174s # random seed: R02S7f43ecf2e2b930d2ce75fca7a29b10f9 1174s 1..2 1174s # Start of spawn tests 1174s ok 1 /spawn/basics 1174s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1174s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1174s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1174s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1174s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1174s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1174s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1174s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1174s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1174s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1174s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1174s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1174s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1174s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1174s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1174s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1174s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1174s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1174s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1174s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1174s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1174s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1174s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1174s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1174s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1174s # Fetching GSpawn result with stdin open, stdout open, stderr open 1174s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1174s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1174s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1174s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1174s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1174s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1174s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1174s ok 2 /spawn/stdio-overwrite 1174s # End of spawn tests 1174s TAP version 14 1174s # random seed: R02S68fcc01a33b0b1df5729564780c8cb45 1174s 1..2 1174s # Start of atomic tests 1174s ok 1 /atomic/types 1175s ok 2 /atomic/threaded 1175s # End of atomic tests 1175s ok - glib/atomic-c-17.test 1175s # Running test: glib/objects-refcount1.test 1175s TAP version 14 1175s # random seed: R02Se7d83a35dc98c053209d921d74876046 1175s 1..1 1175s # Start of gobject tests 1175s # Start of refcount tests 1175s # init 0x5ae140e7e740 1175s # 1175s # init 0x5ae140e7e8d0 1175s # 1176s # Executing: glib/objects-refcount1.test 1180s # dispose 0x5ae140e7e740! 1180s # 1180s # dispose 0x5ae140e7e8d0! 1180s # 1180s ok 1 /gobject/refcount/object-basics 1180s # slow test /gobject/refcount/object-basics executed in 5.00 secs 1180s # End of refcount tests 1180s # End of gobject tests 1180s ok - glib/objects-refcount1.test 1180s # Running test: glib/gmenumodel.test 1180s TAP version 14 1180s # random seed: R02S6f120e21e4aae3fcae27c563e1bbc7f1 1180s 1..15 1180s # Start of gmenu tests 1180s ok 1 /gmenu/equality 1180s ok 2 /gmenu/random 1180s ok 3 /gmenu/attributes 1180s ok 4 /gmenu/links 1180s ok 5 /gmenu/mutable 1180s ok 6 /gmenu/convenience 1180s ok 7 /gmenu/menuitem 1180s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1180s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1180s ok 8 /gmenu/input-validation 1180s # Start of dbus tests 1180s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1181s # Executing: glib/gmenumodel.test 1181s ok 9 /gmenu/dbus/roundtrip 1181s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1182s ok 10 /gmenu/dbus/subscriptions 1182s ok 11 /gmenu/dbus/threaded 1182s # slow test /gmenu/dbus/threaded executed in 0.56 secs 1182s # Start of peer tests 1183s ok 12 /gmenu/dbus/peer/roundtrip 1183s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1184s ok 13 /gmenu/dbus/peer/subscriptions 1184s # End of peer tests 1184s # Start of export tests 1184s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1184s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1184s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1184s ok 14 /gmenu/dbus/export/error-handling 1184s # End of export tests 1184s # End of dbus tests 1184s # Start of attributes tests 1184s ok 15 /gmenu/attributes/iterate 1184s # End of attributes tests 1184s # End of gmenu tests 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1184s ok - glib/gmenumodel.test 1184s # Running test: glib/autoptr-gio.test 1184s TAP version 14 1184s # random seed: R02S2427ff1fc3b625f11f96873df90a8141 1184s ok - glib/autoptr-gio.test 1184s # Running test: glib/gdbus-peer.test 1184s 1..1 1184s # Start of autoptr tests 1184s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1184s ok 1 /autoptr/autoptr 1184s # End of autoptr tests 1184s TAP version 14 1184s # random seed: R02Sc8aaca85e387acf46d2b142a8c258300 1184s 1..12 1184s # Start of gdbus tests 1184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/.dirs/home 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/.dirs/cache 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/.dirs/system-config2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/.dirs/config 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/.dirs/system-data2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/.dirs/data 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/.dirs/state 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/.dirs/runtime 1184s # Testing with unix:dir address 1184s # Testing with unix:tmpdir address 1184s # Testing with unix:path address 1184s ok 1 /gdbus/peer-to-peer 1184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/delayed-message-processing/.dirs/home 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/delayed-message-processing/.dirs/cache 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_AZQF02/gdbus/delayed-message-processing/.dirs/system-config2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/delayed-message-processing/.dirs/config 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_AZQF02/gdbus/delayed-message-processing/.dirs/system-data2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/delayed-message-processing/.dirs/data 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/delayed-message-processing/.dirs/state 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AZQF02/gdbus/delayed-message-processing/.dirs/runtime 1184s # Testing with unix:dir address 1184s ok 2 /gdbus/delayed-message-processing 1184s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 1184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/nonce-tcp/.dirs/home 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/nonce-tcp/.dirs/cache 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_AZQF02/gdbus/nonce-tcp/.dirs/system-config2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/nonce-tcp/.dirs/config 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_AZQF02/gdbus/nonce-tcp/.dirs/system-data2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/nonce-tcp/.dirs/data 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/nonce-tcp/.dirs/state 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AZQF02/gdbus/nonce-tcp/.dirs/runtime 1184s ok 3 /gdbus/nonce-tcp 1184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/tcp-anonymous/.dirs/home 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/tcp-anonymous/.dirs/cache 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_AZQF02/gdbus/tcp-anonymous/.dirs/system-config2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/tcp-anonymous/.dirs/config 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_AZQF02/gdbus/tcp-anonymous/.dirs/system-data2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/tcp-anonymous/.dirs/data 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/tcp-anonymous/.dirs/state 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AZQF02/gdbus/tcp-anonymous/.dirs/runtime 1184s ok 4 /gdbus/tcp-anonymous 1184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/credentials/.dirs/home 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/credentials/.dirs/cache 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_AZQF02/gdbus/credentials/.dirs/system-config2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/credentials/.dirs/config 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_AZQF02/gdbus/credentials/.dirs/system-data2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/credentials/.dirs/data 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/credentials/.dirs/state 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AZQF02/gdbus/credentials/.dirs/runtime 1184s ok 5 /gdbus/credentials 1184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/codegen-peer-to-peer/.dirs/home 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/codegen-peer-to-peer/.dirs/cache 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_AZQF02/gdbus/codegen-peer-to-peer/.dirs/system-config2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/codegen-peer-to-peer/.dirs/config 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_AZQF02/gdbus/codegen-peer-to-peer/.dirs/system-data2 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/codegen-peer-to-peer/.dirs/data 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/codegen-peer-to-peer/.dirs/state 1184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AZQF02/gdbus/codegen-peer-to-peer/.dirs/runtime 1184s # Testing with unix:dir address 1184s # Machine ID: e0539402bd3f444686ad381d193c7625 1185s ok 6 /gdbus/codegen-peer-to-peer 1185s # slow test /gdbus/codegen-peer-to-peer executed in 1.10 secs 1185s # Start of peer-to-peer tests 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/signals/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/signals/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/signals/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/signals/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/signals/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/signals/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/signals/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/signals/.dirs/runtime 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1185s # Testing with unix:dir address 1185s ok 7 /gdbus/peer-to-peer/signals 1185s # Start of invalid tests 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/server/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/server/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/server/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/server/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/server/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1185s ok 8 /gdbus/peer-to-peer/invalid/server 1185s # Start of conn tests 1185s # Start of stream tests 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1185s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1185s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1185s # End of stream tests 1185s # Start of addr tests 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1185s ok - glib/gdbus-peer.test 1185s # Running test: glib/closure.test 1185s ok - glib/closure.test 1185s # Running test: glib/inet-address.test 1185s ok - glib/inet-address.test 1185s # Running test: glib/portal-support-flatpak-full.test 1185s ok - glib/portal-support-flatpak-full.test 1185s # Running test: glib/memory-settings-backend.test 1185s ok - glib/memory-settings-backend.test 1185s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AZQF02/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1185s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1185s # End of addr tests 1185s # End of conn tests 1185s # End of invalid tests 1185s # End of peer-to-peer tests 1185s # End of gdbus tests 1185s TAP version 14 1185s # random seed: R02Sab57775b1dcb80d215eadd5c74ca9a11 1185s 1..6 1185s # Start of closure tests 1185s ok 1 /closure/idle 1185s ok 2 /closure/timeout 1185s ok 3 /closure/iochannel 1185s ok 4 /closure/child 1185s ok 5 /closure/fd 1185s ok 6 /closure/signal 1185s # End of closure tests 1185s TAP version 14 1185s # random seed: R02Sb93143a62aca2b54bee78819b31669fc 1185s 1..11 1185s # Start of inet-address tests 1185s ok 1 /inet-address/parse 1185s ok 2 /inet-address/any 1185s ok 3 /inet-address/loopback 1185s ok 4 /inet-address/bytes 1185s ok 5 /inet-address/property 1185s # End of inet-address tests 1185s # Start of socket-address tests 1185s ok 6 /socket-address/basic 1185s ok 7 /socket-address/to-string 1185s # End of socket-address tests 1185s # Start of address-mask tests 1185s ok 8 /address-mask/parse 1185s ok 9 /address-mask/property 1185s ok 10 /address-mask/equal 1185s ok 11 /address-mask/match 1185s # End of address-mask tests 1185s TAP version 14 1185s # random seed: R02Sbde603d7f0f43f7065ff6ebf2bc2107c 1185s 1..1 1185s # Start of portal-support tests 1185s # Start of flatpak tests 1185s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_JR6D02/portal-support/flatpak/full/.dirs/home 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_JR6D02/portal-support/flatpak/full/.dirs/cache 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_JR6D02/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_JR6D02/portal-support/flatpak/full/.dirs/system-config2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_JR6D02/portal-support/flatpak/full/.dirs/config 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_JR6D02/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_JR6D02/portal-support/flatpak/full/.dirs/system-data2 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_JR6D02/portal-support/flatpak/full/.dirs/data 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_JR6D02/portal-support/flatpak/full/.dirs/state 1185s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_JR6D02/portal-support/flatpak/full/.dirs/runtime 1185s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_JR6D02/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1185s ok 1 /portal-support/flatpak/full 1185s # End of flatpak tests 1185s # End of portal-support tests 1185s TAP version 14 1185s # random seed: R02S8283aa15644d3ef15ba7442acfa27321 1185s 1..1 1185s # Start of memory-settings-backend tests 1185s ok 1 /memory-settings-backend/extension-point-registered 1185s # End of memory-settings-backend tests 1185s TAP version 14 1185s # random seed: R02S9b7d7685fe479937bdc650b4ee0b5946 1185s 1..1 1185s # Start of gobject tests 1185s ok 1 /gobject/references 1185s # End of gobject tests 1185s # Running test: glib/references.test 1185s ok - glib/references.test 1185s # Running test: glib/properties-refcount1.test 1185s TAP version 14 1185s # random seed: R02S8ae5c99ee414c04d8acd240caf8f71e9 1185s 1..1 1185s # Start of gobject tests 1185s # Start of refcount tests 1185s # .d 1185s # .c 1185s # .f 1186s # .e 1186s # .b 1186s # .d 1186s # .c 1186s # .f 1186s # .e 1186s # .d 1186s # .c 1186s # .b 1186s # .d 1186s # .c 1186s # .e 1186s # .f 1186s # .c 1186s # .b 1186s # .d 1186s # .f 1186s # .c 1186s # .e 1186s # .d 1186s # .b 1186s # .c 1186s # .f 1186s # .d 1186s # .e 1186s # .c 1186s # .b 1186s # .d 1186s # .f 1186s # .e 1186s # .c 1186s # .d 1186s # .c 1186s # .b 1186s # .f 1186s # .e 1186s # Executing: glib/properties-refcount1.test 1186s # .d 1186s # .c 1186s # .e 1186s # .f 1186s # .b 1186s # .d 1186s # .e 1186s # .c 1186s # .d 1186s # .f 1186s # .b 1186s # .c 1186s # .f 1186s # .e 1186s # .d 1186s # .b 1186s # .c 1186s # .f 1186s # .e 1186s # .d 1186s # .b 1186s # .e 1186s # .c 1186s # .f 1186s # .b 1186s # .d 1186s # .e 1186s # .f 1186s # .c 1186s # .e 1186s # .d 1186s # .b 1186s # .f 1186s # .b 1186s # .e 1186s # .c 1186s # .b 1186s # .d 1186s # .b 1186s # .e 1186s # .f 1186s # .c 1186s # .b 1186s # .d 1186s # .e 1186s # .f 1186s # .c 1186s # .b 1186s # .e 1186s # .d 1186s # .e 1186s # .b 1186s # .f 1186s # .c 1186s # .e 1186s # .d 1186s # .b 1186s # .f 1186s # .e 1186s # .d 1186s # .c 1186s # .b 1186s # .f 1186s # .d 1186s # .e 1186s # .f 1186s # .c 1186s # .b 1186s # .d 1186s # .f 1186s # .e 1186s # .c 1186s # .b 1186s # .d 1186s # .e 1186s # .f 1186s # .b 1186s # .c 1186s # .e 1186s # .f 1186s # .b 1186s # .d 1186s # .c 1186s # .e 1186s # .f 1186s # .d 1186s # .c 1186s # .f 1186s # .b 1186s # .e 1186s # .d 1186s # .c 1186s # .f 1186s # .e 1186s # .d 1186s # .b 1186s # .c 1186s # .f 1186s # .b 1186s # .f 1186s # .d 1186s # .e 1187s # .c 1187s # .b 1187s # .f 1187s # .d 1187s # .b 1187s # .e 1187s # .f 1187s # .c 1187s # .b 1187s # .d 1187s # .f 1187s # .e 1187s # .c 1187s # .b 1187s # .f 1187s # .d 1187s # .e 1187s # .c 1187s # .b 1187s # .f 1187s # .d 1187s # .c 1187s # .e 1187s # .b 1187s # .f 1187s # .d 1187s # .e 1187s # .f 1187s # .e 1187s # .c 1187s # .f 1187s # .d 1187s # .b 1187s # .e 1187s # .f 1187s # .c 1187s # .e 1187s # .d 1187s # .b 1187s # .f 1187s # .c 1187s # .e 1187s # .d 1187s # .f 1187s # .c 1187s # .b 1187s # .f 1187s # .e 1187s # .c 1187s # .b 1187s # .d 1187s # .e 1187s # .f 1187s # .c 1187s # .b 1187s # .e 1187s # .d 1187s # .c 1187s # .b 1187s # .f 1187s # .e 1187s # .c 1187s # .d 1187s # .f 1187s # .c 1187s # .f 1187s # .b 1187s # .e 1187s # .c 1187s # .f 1187s # .d 1187s # .c 1187s # .f 1187s # .e 1187s # .b 1187s # .d 1187s # .f 1187s # .c 1187s # .e 1187s # .b 1187s # .f 1187s # .d 1187s # .e 1187s # .c 1187s # .b 1187s # .e 1187s # .f 1187s # .c 1187s # .d 1187s # .e 1187s # .b 1187s # .f 1187s # .c 1187s # .e 1187s # .f 1187s # .d 1187s # .b 1187s # .e 1187s # .f 1187s # .c 1187s # .e 1187s # .d 1187s # .b 1187s # .f 1187s # .c 1187s # .e 1187s # .d 1187s # .f 1187s # .b 1187s # .c 1187s # .e 1187s # .f 1187s # .b 1187s # .d 1187s # .f 1187s # .e 1187s # .c 1187s # .d 1187s # .b 1187s # .e 1187s # .f 1187s # .d 1187s # .b 1187s # .c 1187s # .f 1187s # .e 1187s # .b 1187s # .d 1187s # .f 1187s # .b 1187s # .c 1187s # .e 1187s # .f 1187s # .d 1188s # .c 1188s # .b 1188s # .d 1188s # .f 1188s # .e 1188s # .c 1188s # .d 1188s # .b 1188s # .c 1188s # .e 1188s # .f 1188s # .d 1188s # .c 1188s # .b 1188s # .e 1188s # .d 1188s # .f 1188s # .c 1188s # .d 1188s # .c 1188s # .e 1188s # .f 1188s # .b 1188s # .d 1188s # .c 1188s # .f 1188s # .e 1188s # .b 1188s # .c 1188s # .d 1188s # .f 1188s # .e 1188s # .b 1188s # .c 1188s # .d 1188s # .e 1188s # .f 1188s # .c 1188s # .d 1188s # .b 1188s # .c 1188s # .f 1188s # .e 1188s # .d 1188s # .b 1188s # .f 1188s # .c 1188s # .e 1188s # .f 1188s # .d 1188s # .b 1188s # .e 1188s # .c 1188s # .d 1188s # .b 1188s # .f 1188s # .d 1188s # .c 1188s # .e 1188s # .b 1188s # .f 1188s # .d 1188s # .c 1188s # .b 1188s # .e 1188s # .f 1188s # .c 1188s # .d 1188s # .b 1188s # .e 1188s # .f 1188s # .d 1188s # .c 1188s # .b 1188s # .e 1188s # .f 1188s # .b 1188s # .d 1188s # .c 1188s # .f 1188s # .e 1188s # .c 1188s # .d 1188s # .b 1188s # .f 1188s # .e 1188s # .c 1188s # .d 1188s # .f 1188s # .b 1188s # .e 1188s # .d 1188s # .c 1188s # .f 1188s # .e 1188s # .b 1188s # .d 1188s # .f 1188s # .c 1188s # .e 1188s # .b 1188s # .c 1188s # .d 1188s # .f 1188s # .e 1188s # .d 1188s # .c 1188s # .b 1188s # .f 1188s # .e 1188s # .d 1188s # .f 1188s # .c 1188s # .b 1188s # .e 1188s # .d 1188s # .f 1188s # .c 1188s # .b 1188s # .e 1188s # .f 1188s # .d 1188s # .b 1188s ok 1 /gobject/refcount/properties-1 1188s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 1188s # End of refcount tests 1188s # End of gobject tests 1188s ok - glib/properties-refcount1.test 1188s # Running test: glib/deftype.test 1188s ok - glib/deftype.test 1188s # Running test: glib/gdbus-proxy-well-known-name.test 1188s TAP version 14 1188s # random seed: R02S1f7bf240a26afb841cab2c604085a25a 1188s 1..1 1188s # Start of gdbus tests 1188s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_FTRE02/gdbus/proxy-well-known-name/.dirs/home 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_FTRE02/gdbus/proxy-well-known-name/.dirs/cache 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_FTRE02/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_FTRE02/gdbus/proxy-well-known-name/.dirs/system-config2 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_FTRE02/gdbus/proxy-well-known-name/.dirs/config 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_FTRE02/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_FTRE02/gdbus/proxy-well-known-name/.dirs/system-data2 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_FTRE02/gdbus/proxy-well-known-name/.dirs/data 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_FTRE02/gdbus/proxy-well-known-name/.dirs/state 1188s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_FTRE02/gdbus/proxy-well-known-name/.dirs/runtime 1188s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1188s ok 1 /gdbus/proxy-well-known-name 1188s # End of gdbus tests 1188s ok - glib/gdbus-proxy-well-known-name.test 1188s # Running test: glib/readwrite.test 1188s TAP version 14 1188s # random seed: R02Sb7c715db676a69d31bb0d2441728a38a 1188s 1..3 1188s # Start of readwrite tests 1188s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1188s ok 1 /readwrite/test_g_file_open_readwrite 1188s ok 2 /readwrite/test_g_file_create_readwrite 1189s ok 3 /readwrite/test_g_file_replace_readwrite 1189s # End of readwrite tests 1189s ok - glib/readwrite.test 1189s # Running test: glib/param.test 1189s TAP version 14 1189s # random seed: R02S13bf2c9c6189fbd6e7816d368870e2d1 1189s 1..32 1189s # Start of param tests 1189s ok 1 /param/value 1189s ok 2 /param/strings 1189s ok 3 /param/qdata 1189s ok 4 /param/validate 1189s ok 5 /param/convert 1189s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1189s ok 7 /param/default 1189s ok 8 /param/is-valid-name 1189s # Start of invalid-name tests 1189s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1189s ok 9 /param/invalid-name/colon 1189s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1189s ok 10 /param/invalid-name/first-char 1189s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1189s ok 11 /param/invalid-name/empty 1189s # End of invalid-name tests 1189s # Start of implement tests 1189s # Start of subprocess tests 1189s # End of subprocess tests 1189s # End of implement tests 1189s # End of param tests 1189s # Start of value tests 1189s ok 12 /value/transform 1189s # End of value tests 1189s # Start of paramspec tests 1189s ok 13 /paramspec/char 1189s ok 14 /paramspec/uchar 1189s ok 15 /paramspec/int 1189s ok 16 /paramspec/uint 1189s ok 17 /paramspec/long 1189s ok 18 /paramspec/ulong 1189s ok 19 /paramspec/int64 1189s ok 20 /paramspec/uint64 1189s ok 21 /paramspec/float 1189s ok 22 /paramspec/double 1189s ok 23 /paramspec/unichar 1189s ok 24 /paramspec/param 1189s ok 25 /paramspec/null-param 1189s ok 26 /paramspec/string 1189s ok 27 /paramspec/override 1189s ok 28 /paramspec/gtype 1189s ok 29 /paramspec/variant 1189s ok 30 /paramspec/custom 1189s ok 31 /paramspec/pool 1189s # Start of variant tests 1189s ok 32 /paramspec/variant/cmp 1189s # End of variant tests 1189s # End of paramspec tests 1189s ok - glib/param.test 1189s # Running test: glib/network-monitor.test 1189s TAP version 14 1189s # random seed: R02S99ce7c88ec3b7fcaf543c301af2c1d4e 1189s 1..4 1189s # Start of network-monitor tests 1189s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1189s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1189s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1189s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1189s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1189s ok 1 /network-monitor/default 1189s ok 2 /network-monitor/remove_default 1189s ok 3 /network-monitor/add_networks 1189s ok - glib/network-monitor.test 1189s ok 4 /network-monitor/remove_networks 1189s # End of network-monitor tests 1189s # Running test: glib/gdbus-server-auth.test 1189s TAP version 14 1189s # random seed: R02S715fa9519eb493c8d6a738c143581aa7 1189s 1..9 1189s # Start of gdbus tests 1189s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/.dirs/home 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/.dirs/cache 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/.dirs/system-config2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/.dirs/config 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/.dirs/system-data2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/.dirs/data 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/.dirs/state 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/.dirs/runtime 1189s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_X1PK02/gdbus-server-auth-DGQK02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1189s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_X1PK02/gdbus-server-auth-DGQK02/dbus-l170hAnG 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15284 1189s ok 1 /gdbus/server-auth 1189s # Start of server-auth tests 1189s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/abstract/.dirs/home 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/abstract/.dirs/cache 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/abstract/.dirs/system-config2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/abstract/.dirs/config 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/abstract/.dirs/system-data2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/abstract/.dirs/data 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/abstract/.dirs/state 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/abstract/.dirs/runtime 1189s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_X1PK02/gdbus-server-auth-G6SK02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1189s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_X1PK02/gdbus-server-auth-G6SK02/dbus-PqmS6O5s 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1189s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1189s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15284 1189s ok 2 /gdbus/server-auth/abstract 1189s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/tcp/.dirs/home 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/tcp/.dirs/cache 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/tcp/.dirs/system-config2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/tcp/.dirs/config 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/tcp/.dirs/system-data2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/tcp/.dirs/data 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/tcp/.dirs/state 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/tcp/.dirs/runtime 1189s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1189s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1189s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/anonymous/.dirs/home 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/anonymous/.dirs/cache 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/anonymous/.dirs/system-config2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/anonymous/.dirs/config 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/anonymous/.dirs/system-data2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/anonymous/.dirs/data 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/anonymous/.dirs/state 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/anonymous/.dirs/runtime 1189s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_X1PK02/gdbus-server-auth-18SJ02 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1189s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_X1PK02/gdbus-server-auth-18SJ02/dbus-qE2i5Q6R 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15284 1189s ok 4 /gdbus/server-auth/anonymous 1189s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/external/.dirs/home 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/external/.dirs/cache 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/external/.dirs/system-config2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/external/.dirs/config 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/external/.dirs/system-data2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/external/.dirs/data 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/external/.dirs/state 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/external/.dirs/runtime 1189s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_X1PK02/gdbus-server-auth-G1CK02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1189s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_X1PK02/gdbus-server-auth-G1CK02/dbus-yFeFlFIH 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15284 1189s ok 5 /gdbus/server-auth/external 1189s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/sha1/.dirs/home 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/sha1/.dirs/cache 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/sha1/.dirs/system-config2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/sha1/.dirs/config 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/sha1/.dirs/system-data2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/sha1/.dirs/data 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/sha1/.dirs/state 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/sha1/.dirs/runtime 1189s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_X1PK02/gdbus-server-auth-L89F02 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1189s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1189s # Start of anonymous tests 1189s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/anonymous/tcp/.dirs/home 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/anonymous/tcp/.dirs/cache 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/anonymous/tcp/.dirs/config 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/anonymous/tcp/.dirs/data 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/anonymous/tcp/.dirs/state 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1189s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1189s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1189s # End of anonymous tests 1189s # Start of external tests 1189s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/external/require-same-user/.dirs/home 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/external/require-same-user/.dirs/cache 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/external/require-same-user/.dirs/config 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/external/require-same-user/.dirs/data 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/external/require-same-user/.dirs/state 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/external/require-same-user/.dirs/runtime 1189s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_X1PK02/gdbus-server-auth-R08F02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1189s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_X1PK02/gdbus-server-auth-R08F02/dbus-RN7jpQ20 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15284 1189s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1189s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1189s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1189s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15284,uid=1000,gid=1000 1189s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15284 1189s ok 8 /gdbus/server-auth/external/require-same-user 1189s # End of external tests 1189s # Start of sha1 tests 1189s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/sha1/tcp/.dirs/home 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/sha1/tcp/.dirs/cache 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/sha1/tcp/.dirs/config 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/sha1/tcp/.dirs/data 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/sha1/tcp/.dirs/state 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X1PK02/gdbus/server-auth/sha1/tcp/.dirs/runtime 1189s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1189s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1189s # End of sha1 tests 1189s # End of server-auth tests 1189s # End of gdbus tests 1189s ok - glib/gdbus-server-auth.test 1189s # Running test: glib/pattern.test 1189s TAP version 14 1189s # random seed: R02S66c24141083b05a130a062b59f5e506c 1189s 1..90 1189s # Start of pattern tests 1189s # Start of compile tests 1189s ok 1 /pattern/compile/0 1189s ok 2 /pattern/compile/1 1189s ok 3 /pattern/compile/2 1189s ok 4 /pattern/compile/3 1189s ok 5 /pattern/compile/4 1189s ok 6 /pattern/compile/5 1189s ok 7 /pattern/compile/6 1189s ok 8 /pattern/compile/7 1189s ok 9 /pattern/compile/8 1189s ok 10 /pattern/compile/9 1189s ok 11 /pattern/compile/10 1189s ok 12 /pattern/compile/11 1189s ok 13 /pattern/compile/12 1189s ok 14 /pattern/compile/13 1189s # End of compile tests 1189s # Start of copy tests 1189s ok 15 /pattern/copy/0 1189s ok 16 /pattern/copy/1 1189s ok 17 /pattern/copy/2 1189s ok 18 /pattern/copy/3 1189s ok 19 /pattern/copy/4 1189s ok 20 /pattern/copy/5 1189s ok 21 /pattern/copy/6 1189s ok 22 /pattern/copy/7 1189s ok 23 /pattern/copy/8 1189s ok 24 /pattern/copy/9 1189s ok 25 /pattern/copy/10 1189s ok 26 /pattern/copy/11 1189s ok 27 /pattern/copy/12 1189s ok 28 /pattern/copy/13 1189s # End of copy tests 1189s # Start of match tests 1189s ok 29 /pattern/match/0 1189s ok 30 /pattern/match/1 1189s ok 31 /pattern/match/2 1189s ok 32 /pattern/match/3 1189s ok 33 /pattern/match/4 1189s ok 34 /pattern/match/5 1189s ok 35 /pattern/match/6 1189s ok 36 /pattern/match/7 1189s ok 37 /pattern/match/8 1189s ok 38 /pattern/match/9 1189s ok 39 /pattern/match/10 1189s ok 40 /pattern/match/11 1189s ok 41 /pattern/match/12 1189s ok 42 /pattern/match/13 1189s ok 43 /pattern/match/14 1189s ok 44 /pattern/match/15 1189s ok 45 /pattern/match/16 1189s ok 46 /pattern/match/17 1189s ok 47 /pattern/match/18 1189s ok 48 /pattern/match/19 1189s ok 49 /pattern/match/20 1189s ok 50 /pattern/match/21 1189s ok 51 /pattern/match/22 1189s ok 52 /pattern/match/23 1189s ok 53 /pattern/match/24 1189s ok 54 /pattern/match/25 1189s ok 55 /pattern/match/26 1189s ok 56 /pattern/match/27 1189s ok 57 /pattern/match/28 1189s ok 58 /pattern/match/29 1189s ok 59 /pattern/match/30 1189s ok 60 /pattern/match/31 1189s ok 61 /pattern/match/32 1189s ok 62 /pattern/match/33 1189s ok 63 /pattern/match/34 1189s ok 64 /pattern/match/35 1189s ok 65 /pattern/match/36 1189s ok 66 /pattern/match/37 1189s ok 67 /pattern/match/38 1189s ok 68 /pattern/match/39 1189s ok 69 /pattern/match/40 1189s ok 70 /pattern/match/41 1189s ok 71 /pattern/match/42 1189s ok 72 /pattern/match/43 1189s ok 73 /pattern/match/44 1189s ok 74 /pattern/match/45 1189s ok 75 /pattern/match/46 1189s ok 76 /pattern/match/47 1189s ok 77 /pattern/match/48 1189s ok 78 /pattern/match/49 1189s ok 79 /pattern/match/50 1189s # End of match tests 1189s # Start of equal tests 1189s ok 80 /pattern/equal/0 1189s ok 81 /pattern/equal/1 1189s ok 82 /pattern/equal/2 1189s ok 83 /pattern/equal/3 1189s ok 84 /pattern/equal/4 1189s ok 85 /pattern/equal/5 1189s ok 86 /pattern/equal/6 1189s ok 87 /pattern/equal/7 1189s ok 88 /pattern/equal/8 1189s ok - glib/pattern.test 1189s # Running test: glib/portal-support-none.test 1189s ok - glib/portal-support-none.test 1189s # Running test: glib/gdbus-sasl.test 1189s ok - glib/gdbus-sasl.test 1189s # Running test: glib/unicode-normalize.test 1189s ok 89 /pattern/equal/9 1189s ok 90 /pattern/equal/10 1189s # End of equal tests 1189s # End of pattern tests 1189s TAP version 14 1189s # random seed: R02Sd2a1f5901197d60d9e17a20674b65257 1189s 1..1 1189s # Start of portal-support tests 1189s ok 1 /portal-support/none 1189s # End of portal-support tests 1189s TAP version 14 1189s # random seed: R02S3a1f2e6b78b3d1c7d7e0070dd8d4a19f 1189s 1..1 1189s # Start of gdbus tests 1189s # Start of sasl tests 1189s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_MYSF02/gdbus/sasl/server/.dirs/home 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_MYSF02/gdbus/sasl/server/.dirs/cache 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_MYSF02/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_MYSF02/gdbus/sasl/server/.dirs/system-config2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_MYSF02/gdbus/sasl/server/.dirs/config 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_MYSF02/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_MYSF02/gdbus/sasl/server/.dirs/system-data2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_MYSF02/gdbus/sasl/server/.dirs/data 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_MYSF02/gdbus/sasl/server/.dirs/state 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_MYSF02/gdbus/sasl/server/.dirs/runtime 1189s # New handshake: EXTERNAL with incorrect initial response 1189s # C:“AUTH EXTERNAL 30†1189s # Expect: /^REJECTED.*$/ 1189s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1189s # New handshake: EXTERNAL without initial response, failing to authenticate 1189s # C:“AUTH EXTERNAL†1189s # Expect: /^DATA$/ 1189s # S:“DATA†1189s # C:“DATA 30†1189s # Expect: /^REJECTED.*$/ 1189s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1189s # New handshake: EXTERNAL with initial response 1189s # C:“AUTH EXTERNAL 31303030†1189s # Expect: /^OK [0-9a-f]+$/ 1189s # S:“OK 1b968391ff2a708d174d1290678a946f†1189s # New handshake: EXTERNAL without initial response 1189s # C:“AUTH EXTERNAL†1189s # Expect: /^DATA$/ 1189s # S:“DATA†1189s # C:“DATA 31303030†1189s # Expect: /^OK [0-9a-f]+$/ 1189s # S:“OK 1b968391ff2a708d174d1290678a946f†1189s # New handshake: EXTERNAL with empty authorization identity 1189s # C:“AUTH EXTERNAL†1189s # Expect: /^DATA$/ 1189s # S:“DATA†1189s # C:“DATA†1189s # Expect: /^OK [0-9a-f]+$/ 1189s # S:“OK 1b968391ff2a708d174d1290678a946f†1189s # New handshake: EXTERNAL with empty authorization identity and whitespace 1189s # C:“AUTH EXTERNAL†1189s # Expect: /^DATA$/ 1189s # S:“DATA†1189s # C:“DATA †1189s # Expect: /^OK [0-9a-f]+$/ 1189s # S:“OK 1b968391ff2a708d174d1290678a946f†1189s ok 1 /gdbus/sasl/server 1189s # End of sasl tests 1189s # End of gdbus tests 1189s TAP version 14 1189s # random seed: R02S8225103080b2715f5e9281167191bb6c 1189s 1..3 1189s # Start of unicode tests 1189s # Processing Part0 # Specific cases 1189s # Processing Part1 # Character by character test 1189s # Processing Part2 # Canonical Order Test 1189s # Processing Part3 # PRI #29 Test 1189s ok 1 /unicode/normalize 1189s # Invalid UTF-8 vector 0 1189s # Invalid UTF-8 vector 1 1189s # Invalid UTF-8 vector 2 1189s # Invalid UTF-8 vector 3 1189s # Invalid UTF-8 vector 4 1189s # Invalid UTF-8 vector 5 1189s # Invalid UTF-8 vector 6 1189s # Invalid UTF-8 vector 7 1189s # Invalid UTF-8 vector 8 1189s # Invalid UTF-8 vector 9 1189s # Invalid UTF-8 vector 10 1189s # Invalid UTF-8 vector 11 1189s # Invalid UTF-8 vector 12 1189s ok 2 /unicode/normalize-invalid 1189s # Start of normalize tests 1189s ok 3 /unicode/normalize/bad-length 1189s # End of normalize tests 1189s # End of unicode tests 1189s ok - glib/unicode-normalize.test 1189s # Running test: glib/unix-streams.test 1189s TAP version 14 1189s # random seed: R02S0b446223e85defab28a399a07a7908e0 1189s 1..9 1189s # Start of unix-streams tests 1189s ok 1 /unix-streams/basic 1189s ok 2 /unix-streams/pipe-io-test 1189s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1190s ok 3 /unix-streams/nonblocking-io-test 1190s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1190s ok 4 /unix-streams/read_write 1190s ok 5 /unix-streams/read_writev 1190s ok 6 /unix-streams/write-wouldblock 1190s ok 7 /unix-streams/writev-wouldblock 1190s ok 8 /unix-streams/write-async-wouldblock 1190s ok 9 /unix-streams/writev-async-wouldblock 1190s # End of unix-streams tests 1190s ok - glib/unix-streams.test 1190s # Running test: glib/tls-database.test 1190s TAP version 14 1190s # random seed: R02Sbd023934cc113ec8e31a9d3fe537396c 1190s 1..1 1190s # Start of tls-backend tests 1190s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1190s ok 1 /tls-backend/set-default-database 1190s # End of tls-backend tests 1190s ok - glib/tls-database.test 1190s # SUMMARY: total=319; passed=318; skipped=1; failed=0; user=159.7s; system=97.9s; maxrss=216208 1190s autopkgtest [17:33:36]: test installed-tests: -----------------------] 1192s autopkgtest [17:33:38]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1192s installed-tests PASS 1193s autopkgtest [17:33:39]: test closure-refcount: preparing testbed 1193s Reading package lists... 1193s Building dependency tree... 1193s Reading state information... 1193s Starting pkgProblemResolver with broken count: 0 1193s Starting 2 pkgProblemResolver with broken count: 0 1193s Done 1194s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1195s autopkgtest [17:33:41]: test closure-refcount: [----------------------- 1195s Running test: glib/closure-refcount.test 1195s TAP version 14 1195s # random seed: R02S525410fc3cfa176a9c4a6ffeb849f461 1195s 1..1 1195s # Start of closure tests 1195s # Init 0x59dda7edf0a0 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from thread1 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from thread1 1195s # Yielding from thread2 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from thread2 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from thread2 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from thread1 1195s # Yielding from thread2 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from thread1 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from thread2 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from thread1 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from thread2 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from thread1 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from thread2 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from thread1 1196s # Yielding from thread2 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from thread2 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from thread1 1196s # Yielding from thread2 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from thread2 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from thread1 1196s # Yielding from main thread 1196s # Yielding from thread2 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from thread2 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from thread1 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from thread1 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from thread2 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Stopping 1196s # Stopped 1196s ok 1 /closure/refcount 1196s # slow test /closure/refcount executed in 1.64 secs 1196s # End of closure tests 1196s PASS: glib/closure-refcount.test 1196s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=3.2s; system=0.0s; maxrss=3864 1197s autopkgtest [17:33:43]: test closure-refcount: -----------------------] 1197s autopkgtest [17:33:43]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1197s closure-refcount PASS 1198s autopkgtest [17:33:44]: test debugcontroller: preparing testbed 1198s Reading package lists... 1198s Building dependency tree... 1198s Reading state information... 1198s Starting pkgProblemResolver with broken count: 0 1198s Starting 2 pkgProblemResolver with broken count: 0 1198s Done 1199s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1200s autopkgtest [17:33:46]: test debugcontroller: [----------------------- 1200s Running test: glib/debugcontroller.test 1200s TAP version 14 1200s # random seed: R02S5cb997fa4e225834e10343f67cc1d98a 1200s 1..3 1200s # Start of debug-controller tests 1200s # Start of dbus tests 1200s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Debug output enabled 1200s # GLib-GIO-DEBUG: Debug output disabled 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s ok 1 /debug-controller/dbus/basic 1200s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s ok 2 /debug-controller/dbus/duplicate 1200s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1200s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1200s # GLib-GIO-DEBUG: Debug output enabled 1200s # GLib-GIO-DEBUG: Debug output disabled 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1200s ok 3 /debug-controller/dbus/properties 1200s # End of dbus tests 1200s # End of debug-controller tests 1200s PASS: glib/debugcontroller.test 1200s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6440 1200s autopkgtest [17:33:46]: test debugcontroller: -----------------------] 1201s autopkgtest [17:33:47]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1201s debugcontroller PASS 1201s autopkgtest [17:33:47]: test gdbus-server-auth: preparing testbed 1201s Reading package lists... 1201s Building dependency tree... 1201s Reading state information... 1202s Starting pkgProblemResolver with broken count: 0 1202s Starting 2 pkgProblemResolver with broken count: 0 1202s Done 1202s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1203s autopkgtest [17:33:49]: test gdbus-server-auth: [----------------------- 1203s Running test: glib/gdbus-server-auth.test 1203s TAP version 14 1203s # random seed: R02S44dbb4281b4ba093ba1085d8637c1beb 1203s 1..9 1203s # Start of gdbus tests 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/.dirs/runtime 1203s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_KWKO02/gdbus-server-auth-DMJO02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1203s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KWKO02/gdbus-server-auth-DMJO02/dbus-kMlsJJtV 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15773 1203s ok 1 /gdbus/server-auth 1203s # Start of server-auth tests 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/abstract/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/abstract/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/abstract/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/abstract/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/abstract/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/abstract/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/abstract/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/abstract/.dirs/runtime 1203s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_KWKO02/gdbus-server-auth-AO1P02 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1203s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KWKO02/gdbus-server-auth-AO1P02/dbus-HerTJSi6 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15773 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1203s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15773 1203s ok 2 /gdbus/server-auth/abstract 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/tcp/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/tcp/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/tcp/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/tcp/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/tcp/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/tcp/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/tcp/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/tcp/.dirs/runtime 1203s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1203s # Connectable address: tcp:host=127.0.0.1,port=37695 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1203s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1203s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1203s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1203s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1204s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1204s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1204s ok 3 /gdbus/server-auth/tcp 1204s # slow test /gdbus/server-auth/tcp executed in 0.86 secs 1204s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/anonymous/.dirs/home 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/anonymous/.dirs/cache 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/anonymous/.dirs/system-config2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/anonymous/.dirs/config 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/anonymous/.dirs/system-data2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/anonymous/.dirs/data 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/anonymous/.dirs/state 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/anonymous/.dirs/runtime 1204s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_KWKO02/gdbus-server-auth-VZPH02 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1204s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KWKO02/gdbus-server-auth-VZPH02/dbus-TenqcMaW 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15773 1204s ok 4 /gdbus/server-auth/anonymous 1204s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/external/.dirs/home 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/external/.dirs/cache 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/external/.dirs/system-config2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/external/.dirs/config 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/external/.dirs/system-data2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/external/.dirs/data 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/external/.dirs/state 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/external/.dirs/runtime 1204s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_KWKO02/gdbus-server-auth-IVSH02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1204s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KWKO02/gdbus-server-auth-IVSH02/dbus-Ul4YFNoS 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1204s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15773 1204s ok 5 /gdbus/server-auth/external 1204s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/sha1/.dirs/home 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/sha1/.dirs/cache 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/sha1/.dirs/system-config2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/sha1/.dirs/config 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/sha1/.dirs/system-data2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/sha1/.dirs/data 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/sha1/.dirs/state 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/sha1/.dirs/runtime 1204s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_KWKO02/gdbus-server-auth-62ZH02 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1204s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KWKO02/gdbus-server-auth-62ZH02/dbus-0acHAfSP 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15773 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1204s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15773 1204s ok 6 /gdbus/server-auth/sha1 1204s # Start of anonymous tests 1204s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/anonymous/tcp/.dirs/home 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/anonymous/tcp/.dirs/cache 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/anonymous/tcp/.dirs/config 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/anonymous/tcp/.dirs/data 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/anonymous/tcp/.dirs/state 1204s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1204s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1204s # Connectable address: tcp:host=127.0.0.1,port=46145 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1204s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1204s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1204s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1205s ok 7 /gdbus/server-auth/anonymous/tcp 1205s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.84 secs 1205s # End of anonymous tests 1205s # Start of external tests 1205s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/external/require-same-user/.dirs/home 1205s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/external/require-same-user/.dirs/cache 1205s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1205s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/external/require-same-user/.dirs/config 1205s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1205s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/external/require-same-user/.dirs/data 1205s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/external/require-same-user/.dirs/state 1205s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/external/require-same-user/.dirs/runtime 1205s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_KWKO02/gdbus-server-auth-07SK02 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1205s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_KWKO02/gdbus-server-auth-07SK02/dbus-QKu0Hysx 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15773 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15773 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15773 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15773 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15773 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15773 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15773 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15773 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15773 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15773 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15773 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15773 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15773 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15773 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15773 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15773 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15773 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15773 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15773 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15773 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1205s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15773,uid=1000,gid=1000 1205s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15773 1205s ok 8 /gdbus/server-auth/external/require-same-user 1205s # End of external tests 1205s # Start of sha1 tests 1205s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/sha1/tcp/.dirs/home 1205s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/sha1/tcp/.dirs/cache 1205s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1205s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/sha1/tcp/.dirs/config 1205s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1205s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/sha1/tcp/.dirs/data 1205s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/sha1/tcp/.dirs/state 1205s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_KWKO02/gdbus/server-auth/sha1/tcp/.dirs/runtime 1205s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1205s # Connectable address: tcp:host=127.0.0.1,port=33895 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1205s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1205s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1205s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1205s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1205s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1206s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1206s ok 9 /gdbus/server-auth/sha1/tcp 1206s # slow test /gdbus/server-auth/sha1/tcp executed in 0.84 secs 1206s # End of sha1 tests 1206s # End of server-auth tests 1206s # End of gdbus tests 1206s PASS: glib/gdbus-server-auth.test 1206s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8440 1206s autopkgtest [17:33:52]: test gdbus-server-auth: -----------------------] 1208s gdbus-server-auth PASS 1208s autopkgtest [17:33:54]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1208s autopkgtest [17:33:54]: test gdbus-threading: preparing testbed 1208s Reading package lists... 1209s Building dependency tree... 1209s Reading state information... 1209s Starting pkgProblemResolver with broken count: 0 1209s Starting 2 pkgProblemResolver with broken count: 0 1209s Done 1209s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1210s autopkgtest [17:33:56]: test gdbus-threading: [----------------------- 1210s Running test: glib/gdbus-threading.test 1210s TAP version 14 1210s # random seed: R02S02a7caab72ae5422b1e4139e95206475 1210s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1210s 1..3 1210s # Start of gdbus tests 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_MZMN02/gdbus/delivery-in-thread/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_MZMN02/gdbus/delivery-in-thread/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_MZMN02/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_MZMN02/gdbus/delivery-in-thread/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_MZMN02/gdbus/delivery-in-thread/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_MZMN02/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_MZMN02/gdbus/delivery-in-thread/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_MZMN02/gdbus/delivery-in-thread/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_MZMN02/gdbus/delivery-in-thread/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_MZMN02/gdbus/delivery-in-thread/.dirs/runtime 1210s ok 1 /gdbus/delivery-in-thread 1210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_MZMN02/gdbus/method-calls-in-thread/.dirs/home 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_MZMN02/gdbus/method-calls-in-thread/.dirs/cache 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_MZMN02/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_MZMN02/gdbus/method-calls-in-thread/.dirs/system-config2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_MZMN02/gdbus/method-calls-in-thread/.dirs/config 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_MZMN02/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_MZMN02/gdbus/method-calls-in-thread/.dirs/system-data2 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_MZMN02/gdbus/method-calls-in-thread/.dirs/data 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_MZMN02/gdbus/method-calls-in-thread/.dirs/state 1210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_MZMN02/gdbus/method-calls-in-thread/.dirs/runtime 1211s ok 2 /gdbus/method-calls-in-thread 1211s # slow test /gdbus/method-calls-in-thread executed in 0.82 secs 1211s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_MZMN02/gdbus/threaded-singleton/.dirs/home 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_MZMN02/gdbus/threaded-singleton/.dirs/cache 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_MZMN02/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_MZMN02/gdbus/threaded-singleton/.dirs/system-config2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_MZMN02/gdbus/threaded-singleton/.dirs/config 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_MZMN02/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_MZMN02/gdbus/threaded-singleton/.dirs/system-data2 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_MZMN02/gdbus/threaded-singleton/.dirs/data 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_MZMN02/gdbus/threaded-singleton/.dirs/state 1211s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_MZMN02/gdbus/threaded-singleton/.dirs/runtime 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1211s ok 3 /gdbus/threaded-singleton 1211s # slow test /gdbus/threaded-singleton executed in 0.55 secs 1211s # End of gdbus tests 1211s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1211s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1211s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1211s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1211s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1211s PASS: glib/gdbus-threading.test 1211s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.2s; maxrss=6604 1212s autopkgtest [17:33:58]: test gdbus-threading: -----------------------] 1212s gdbus-threading PASS 1212s autopkgtest [17:33:58]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1213s autopkgtest [17:33:59]: test gmenumodel: preparing testbed 1213s Reading package lists... 1213s Building dependency tree... 1213s Reading state information... 1213s Starting pkgProblemResolver with broken count: 0 1213s Starting 2 pkgProblemResolver with broken count: 0 1213s Done 1214s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1214s autopkgtest [17:34:00]: test gmenumodel: [----------------------- 1215s Running test: glib/gmenumodel.test 1215s TAP version 14 1215s # random seed: R02S5bf1c09f5730853917daaa1a6ce93e59 1215s 1..15 1215s # Start of gmenu tests 1215s ok 1 /gmenu/equality 1215s ok 2 /gmenu/random 1215s ok 3 /gmenu/attributes 1215s ok 4 /gmenu/links 1215s ok 5 /gmenu/mutable 1215s ok 6 /gmenu/convenience 1215s ok 7 /gmenu/menuitem 1215s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1215s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1215s ok 8 /gmenu/input-validation 1215s # Start of dbus tests 1215s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1216s ok 9 /gmenu/dbus/roundtrip 1216s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1217s ok 10 /gmenu/dbus/subscriptions 1217s ok 11 /gmenu/dbus/threaded 1217s # slow test /gmenu/dbus/threaded executed in 0.73 secs 1217s # Start of peer tests 1219s ok 12 /gmenu/dbus/peer/roundtrip 1219s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1219s ok 13 /gmenu/dbus/peer/subscriptions 1219s # End of peer tests 1219s # Start of export tests 1219s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1219s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1219s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1219s ok 14 /gmenu/dbus/export/error-handling 1219s # End of export tests 1219s # End of dbus tests 1219s # Start of attributes tests 1219s ok 15 /gmenu/attributes/iterate 1219s # End of attributes tests 1219s # End of gmenu tests 1219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1219s PASS: glib/gmenumodel.test 1219s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.0s; system=0.2s; maxrss=20576 1219s autopkgtest [17:34:05]: test gmenumodel: -----------------------] 1220s gmenumodel PASS 1220s autopkgtest [17:34:06]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1220s autopkgtest [17:34:06]: test mainloop: preparing testbed 1220s Reading package lists... 1221s Building dependency tree... 1221s Reading state information... 1221s Starting pkgProblemResolver with broken count: 0 1221s Starting 2 pkgProblemResolver with broken count: 0 1221s Done 1222s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1222s autopkgtest [17:34:08]: test mainloop: [----------------------- 1223s Running test: glib/mainloop.test 1223s TAP version 14 1223s # random seed: R02S250c8a4ff67ec4fe754961955f884dd9 1223s 1..45 1223s # Start of maincontext tests 1223s ok 1 /maincontext/basic 1223s # Add same-priority sources: 14 1223s # Find each source: 0 1223s # Remove in random order: 20 1223s ok 2 /maincontext/nsources_same_priority 1223s # Add different-priority sources: 12 1223s # Find each source: 0 1223s # Remove in random order: 20 1223s ok 3 /maincontext/nsources_different_priority 1223s # Add sources from threads: 132 1223s # Remove sources from threads: 120 1223s ok 4 /maincontext/nsources_threadpool 1223s ok 5 /maincontext/source_finalization 1223s # /maincontext/idle-once summary: Test g_idle_add_once() works 1223s ok 6 /maincontext/idle-once 1223s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1223s ok 7 /maincontext/timeout-once 1223s # Start of source_finalization_from_source tests 1223s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1223s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1223s ok 8 /maincontext/source_finalization_from_source/0 1223s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1223s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1223s ok 9 /maincontext/source_finalization_from_source/1 1223s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1223s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1223s ok 10 /maincontext/source_finalization_from_source/2 1223s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1223s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1223s ok 11 /maincontext/source_finalization_from_source/3 1223s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1223s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1223s ok 12 /maincontext/source_finalization_from_source/4 1223s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1223s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1223s ok 13 /maincontext/source_finalization_from_source/5 1223s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1223s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1223s ok 14 /maincontext/source_finalization_from_source/6 1223s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1223s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1223s ok 15 /maincontext/source_finalization_from_source/7 1223s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1223s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1223s ok 16 /maincontext/source_finalization_from_source/8 1223s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1223s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1223s ok 17 /maincontext/source_finalization_from_source/9 1223s # End of source_finalization_from_source tests 1223s # Start of source_finalization_from_dispatch tests 1223s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1223s ok 18 /maincontext/source_finalization_from_dispatch/0 1223s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1223s ok 19 /maincontext/source_finalization_from_dispatch/1 1223s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1223s ok 20 /maincontext/source_finalization_from_dispatch/2 1223s # End of source_finalization_from_dispatch tests 1223s # End of maincontext tests 1223s # Start of mainloop tests 1223s ok 21 /mainloop/basic 1223s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1223s ok 23 /mainloop/priorities 1223s ok 24 /mainloop/invoke 1223s # slow test /mainloop/invoke executed in 0.50 secs 1225s ok 25 /mainloop/child_sources 1225s # slow test /mainloop/child_sources executed in 1.19 secs 1227s ok 26 /mainloop/recursive_child_sources 1227s # slow test /mainloop/recursive_child_sources executed in 2.17 secs 1227s ok 27 /mainloop/recursive_loop_child_sources 1227s ok 28 /mainloop/swapping_child_sources 1227s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1227s ok 29 /mainloop/blocked_child_sources 1228s Executing: glib/mainloop.test 1228s ok 30 /mainloop/source_time 1228s # slow test /mainloop/source_time executed in 1.00 secs 1228s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1228s ok 31 /mainloop/overflow 1228s ok 32 /mainloop/ready-time 1228s # slow test /mainloop/ready-time executed in 0.50 secs 1228s ok 33 /mainloop/wakeup 1228s ok 34 /mainloop/remove-invalid 1228s ok 35 /mainloop/unref-while-pending 1229s ok 36 /mainloop/unix-fd 1229s # slow test /mainloop/unix-fd executed in 0.70 secs 1229s ok 37 /mainloop/unix-fd-source 1229s ok 38 /mainloop/source-unix-fd-api 1229s ok 39 /mainloop/wait 1229s ok 40 /mainloop/unix-file-poll 1229s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1229s ok 41 /mainloop/unix-fd-priority 1229s ok 42 /mainloop/nfds 1229s ok 43 /mainloop/steal-fd 1229s # Start of ownerless-polling tests 1229s ok 44 /mainloop/ownerless-polling/attach-first 1229s ok 45 /mainloop/ownerless-polling/pop-first 1229s # End of ownerless-polling tests 1229s # End of mainloop tests 1229s PASS: glib/mainloop.test 1229s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=1.0s; maxrss=15836 1230s autopkgtest [17:34:16]: test mainloop: -----------------------] 1230s autopkgtest [17:34:16]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1230s mainloop PASS 1230s autopkgtest [17:34:16]: test memory-monitor-dbus: preparing testbed 1231s Reading package lists... 1231s Building dependency tree... 1231s Reading state information... 1231s Starting pkgProblemResolver with broken count: 0 1231s Starting 2 pkgProblemResolver with broken count: 0 1231s Done 1231s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1232s autopkgtest [17:34:18]: test memory-monitor-dbus: [----------------------- 1232s Running test: glib/memory-monitor-dbus.test 1233s TAP version 13 1233s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1233s # Received memory warning signal, level 1233s # Received memory warning signal, level 1233s # Received memory warning signal, level 1233s 1..1 1233s PASS: glib/memory-monitor-dbus.test 1233s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=30468 1233s autopkgtest [17:34:19]: test memory-monitor-dbus: -----------------------] 1234s autopkgtest [17:34:20]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1234s memory-monitor-dbus PASS 1234s autopkgtest [17:34:20]: test socket: preparing testbed 1234s Reading package lists... 1234s Building dependency tree... 1234s Reading state information... 1235s Starting pkgProblemResolver with broken count: 0 1235s Starting 2 pkgProblemResolver with broken count: 0 1235s Done 1235s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1236s autopkgtest [17:34:22]: test socket: [----------------------- 1236s Running test: glib/socket.test 1236s TAP version 14 1236s # random seed: R02S773495b03fd4389154c9dbe680612cc7 1236s 1..28 1236s # Start of socket tests 1237s ok 1 /socket/ipv4_sync 1237s # slow test /socket/ipv4_sync executed in 1.00 secs 1238s ok 2 /socket/ipv4_async 1238s # slow test /socket/ipv4_async executed in 1.00 secs 1238s ok 3 /socket/ipv6_sync 1238s ok 4 /socket/ipv6_async 1238s ok 5 /socket/ipv6_v4mapped 1239s ok 6 /socket/close_graceful 1239s # slow test /socket/close_graceful executed in 1.00 secs 1239s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1239s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1239s ok 8 /socket/fd_reuse 1239s ok 9 /socket/address 1239s ok 10 /socket/unix-from-fd 1239s ok 11 /socket/unix-connection 1239s ok 12 /socket/unix-connection-ancillary-data 1239s ok 13 /socket/source-postmortem 1239s ok 14 /socket/read_write 1239s ok 15 /socket/read_writev 1239s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1239s ok 16 /socket/receive_bytes 1239s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1239s ok 17 /socket/receive_bytes_from 1239s # Start of ipv4_sync tests 1239s ok 18 /socket/ipv4_sync/datagram 1239s # Start of datagram tests 1240s ok 19 /socket/ipv4_sync/datagram/timeouts 1240s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1240s # End of datagram tests 1240s # End of ipv4_sync tests 1240s # Start of ipv6_sync tests 1240s ok 20 /socket/ipv6_sync/datagram 1240s # Start of datagram tests 1241s ok 21 /socket/ipv6_sync/datagram/timeouts 1241s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1241s # End of datagram tests 1241s # End of ipv6_sync tests 1241s # Start of reuse tests 1241s ok 22 /socket/reuse/tcp 1241s ok 23 /socket/reuse/udp 1241s # End of reuse tests 1241s # Start of get_available tests 1241s ok 24 /socket/get_available/datagram 1241s ok 25 /socket/get_available/stream 1241s # End of get_available tests 1241s # Start of credentials tests 1241s # Supported on this OS: GCredentials:linux-ucred:pid=0 1241s ok 26 /socket/credentials/tcp_client 1241s # Supported on this OS: GCredentials:linux-ucred:pid=0 1241s ok 27 /socket/credentials/tcp_server 1241s # Supported on this OS: GCredentials:linux-ucred:pid=17615,uid=1000,gid=1000 1241s ok 28 /socket/credentials/unix_socketpair 1241s # End of credentials tests 1241s # End of socket tests 1241s PASS: glib/socket.test 1241s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5812 1242s autopkgtest [17:34:28]: test socket: -----------------------] 1242s autopkgtest [17:34:28]: test socket: - - - - - - - - - - results - - - - - - - - - - 1242s socket PASS 1243s autopkgtest [17:34:29]: test testfilemonitor: preparing testbed 1243s Reading package lists... 1243s Building dependency tree... 1243s Reading state information... 1243s Starting pkgProblemResolver with broken count: 0 1243s Starting 2 pkgProblemResolver with broken count: 0 1243s Done 1243s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1244s autopkgtest [17:34:30]: test testfilemonitor: [----------------------- 1245s Running test: glib/testfilemonitor.test 1245s TAP version 14 1245s # random seed: R02S60741a16dc2f1c9a4432a869d4c36907 1245s 1..8 1245s # Start of monitor tests 1245s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1245s # Using temporary directory: /tmp/gio-test-testfilemonitor_Z1KJ02 1245s # Using GFileMonitor GInotifyFileMonitor 1247s ok 1 /monitor/atomic-replace 1247s # slow test /monitor/atomic-replace executed in 2.00 secs 1247s # Using temporary directory: /tmp/gio-test-testfilemonitor_IQGI02 1247s # Using GFileMonitor GInotifyFileMonitor 1249s ok 2 /monitor/file-changes 1249s # slow test /monitor/file-changes executed in 2.50 secs 1249s # Using temporary directory: /tmp/gio-test-testfilemonitor_1UY7Z2 1249s # Using GFileMonitor GInotifyFileMonitor 1250s Executing: glib/testfilemonitor.test 1253s ok 3 /monitor/dir-monitor 1253s # slow test /monitor/dir-monitor executed in 3.50 secs 1253s # Using temporary directory: /tmp/gio-test-testfilemonitor_W1MI02 1253s # Using GFileMonitor GInotifyFileMonitor 1255s Executing: glib/testfilemonitor.test 1260s Executing: glib/testfilemonitor.test 1265s Executing: glib/testfilemonitor.test 1270s Executing: glib/testfilemonitor.test 1275s Executing: glib/testfilemonitor.test 1278s ok 4 /monitor/dir-not-existent 1278s # slow test /monitor/dir-not-existent executed in 25.02 secs 1278s # Using temporary directory: /tmp/gio-test-testfilemonitor_C2WI02 1278s # Using GFileMonitor 0 GInotifyFileMonitor 1278s # Using GFileMonitor 1 GInotifyFileMonitor 1280s Executing: glib/testfilemonitor.test 1280s ok 5 /monitor/cross-dir-moves 1280s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1280s # Using temporary directory: /tmp/gio-test-testfilemonitor_THIK02 1280s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1280s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1280s ok 6 /monitor/finalize-in-callback 1280s # Using temporary directory: /tmp/gio-test-testfilemonitor_V0GK02 1280s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1280s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1280s ok 7 /monitor/root 1280s # Start of file tests 1280s # Using temporary directory: /tmp/gio-test-testfilemonitor_J7GK02 1280s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1280s # Running with hard link tests 1280s # Using GFileMonitor GInotifyFileMonitor 1283s # Event 0 at expected index 7 skipped because it is marked as optional 1283s # Event 2 at expected index 11 skipped because it is marked as optional 1283s ok 8 /monitor/file/hard-links 1283s # slow test /monitor/file/hard-links executed in 3.50 secs 1283s # End of file tests 1283s # End of monitor tests 1283s PASS: glib/testfilemonitor.test 1283s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5892 1283s autopkgtest [17:35:09]: test testfilemonitor: -----------------------] 1284s autopkgtest [17:35:10]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1284s testfilemonitor PASS 1284s autopkgtest [17:35:10]: test thread-pool-slow: preparing testbed 1285s Reading package lists... 1285s Building dependency tree... 1285s Reading state information... 1285s Starting pkgProblemResolver with broken count: 0 1285s Starting 2 pkgProblemResolver with broken count: 0 1285s Done 1285s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1286s autopkgtest [17:35:12]: test thread-pool-slow: [----------------------- 1286s Running test: glib/thread-pool-slow.test 1286s TAP version 14 1286s # random seed: R02S1084ec590a8ce9c27b3d8d780fbc5607 1286s 1..7 1286s # Start of threadpool tests 1286s ok 1 /threadpool/functions 1287s ok 2 /threadpool/stop-unused 1287s # slow test /threadpool/stop-unused executed in 0.51 secs 1287s ok 3 /threadpool/pools 1287s # [unsorted] ===> pushed new thread with id:52, number of threads:1, unprocessed:1 1287s # [unsorted] ===> pushed new thread with id:18, number of threads:2, unprocessed:1 1287s # [unsorted] ===> pushed new thread with id:52, number of threads:3, unprocessed:2 1287s # [unsorted] ===> pushed new thread with id:91, number of threads:4, unprocessed:3 1287s # [unsorted] ===> pushed new thread with id:77, number of threads:5, unprocessed:3 1287s # [unsorted] ===> pushed new thread with id:17, number of threads:6, unprocessed:2 1287s # [unsorted] ===> pushed new thread with id:35, number of threads:7, unprocessed:1 1287s # [unsorted] ===> pushed new thread with id:2, number of threads:8, unprocessed:1 1287s # [unsorted] ===> pushed new thread with id:80, number of threads:9, unprocessed:1 1287s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:1 1287s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:1 1287s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:2 1287s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:3 1287s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:4 1287s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:5 1287s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:6 1287s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:7 1287s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:8 1287s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:9 1287s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:10 1287s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:11 1287s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:12 1287s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:13 1287s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:14 1287s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:15 1287s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:16 1287s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:17 1287s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:18 1287s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:19 1287s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:20 1287s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:21 1287s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:22 1287s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:23 1287s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:24 1287s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:25 1287s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:26 1287s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:27 1287s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:28 1287s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:29 1287s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:30 1287s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:31 1287s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:32 1287s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:33 1287s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:34 1287s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:35 1287s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:36 1287s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:37 1287s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:38 1287s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:39 1287s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:40 1287s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:41 1287s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:42 1287s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:43 1287s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:44 1287s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:45 1287s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:46 1287s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:47 1287s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:48 1287s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:49 1287s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:50 1287s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:51 1287s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:52 1287s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:53 1287s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:54 1287s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:55 1287s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:56 1287s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:57 1287s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:58 1287s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:59 1287s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:60 1287s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:61 1287s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:62 1287s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:63 1287s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:64 1287s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:65 1287s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:66 1287s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:67 1287s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:68 1287s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:69 1287s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:70 1287s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:71 1287s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:72 1287s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:73 1287s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:74 1287s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:75 1287s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:76 1287s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:77 1287s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:78 1287s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:79 1287s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:80 1287s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:81 1287s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:82 1287s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:83 1287s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:84 1287s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:85 1287s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:86 1287s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:87 1287s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:88 1287s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:89 1287s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:90 1287s ok 4 /threadpool/no-sort 1287s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:1 1287s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:2 1287s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:3 1287s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:4 1287s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:5 1287s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:6 1287s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:7 1287s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:8 1287s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:9 1287s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:10 1287s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:11 1287s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:12 1287s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:13 1287s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:14 1287s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:15 1287s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:16 1287s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:17 1287s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:18 1287s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:19 1287s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:20 1287s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:21 1287s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:22 1287s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:23 1287s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:24 1287s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:25 1287s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:26 1287s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:27 1287s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:28 1287s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:29 1287s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:30 1287s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:31 1287s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:32 1287s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:33 1287s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:34 1287s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:35 1287s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:36 1287s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:37 1287s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:38 1287s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:39 1287s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:40 1287s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:41 1287s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:42 1287s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:43 1287s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:44 1287s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:45 1287s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:46 1287s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:47 1287s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:48 1287s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:49 1287s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:50 1287s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:51 1287s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:52 1287s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:53 1287s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:54 1287s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:55 1287s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:56 1287s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:57 1287s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:58 1287s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:59 1287s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:60 1287s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:61 1287s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:62 1287s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:63 1287s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:64 1287s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:65 1287s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:66 1287s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:67 1287s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:68 1287s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:69 1287s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:70 1287s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:71 1287s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:72 1287s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:73 1287s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:74 1287s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:75 1287s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:76 1287s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:77 1287s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:78 1287s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:79 1287s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:80 1287s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:81 1287s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:82 1287s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:83 1287s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:84 1287s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:85 1287s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:86 1287s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:87 1287s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:88 1287s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:89 1287s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:90 1287s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:91 1287s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:92 1287s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:93 1287s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:94 1287s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:95 1287s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:96 1287s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:97 1287s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:98 1287s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:99 1287s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:100 1287s # Starting thread pool processing 1287s ok 5 /threadpool/sort 1288s ok 6 /threadpool/stop-unused-multiple 1288s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1288s # Pool idle thread count: 0, unprocessed jobs: 46 1288s # Pool idle thread count: 0, unprocessed jobs: 0 1288s # Pool idle thread count: 0, unprocessed jobs: 0 1289s # Pool idle thread count: 10, unprocessed jobs: 0 1289s # Pool idle thread count: 10, unprocessed jobs: 0 1289s # Pool idle thread count: 10, unprocessed jobs: 0 1289s # Pool idle thread count: 10, unprocessed jobs: 0 1290s # Pool idle thread count: 10, unprocessed jobs: 0 1290s # Pool idle thread count: 10, unprocessed jobs: 0 1290s # Pool idle thread count: 10, unprocessed jobs: 0 1290s # Pool idle thread count: 10, unprocessed jobs: 0 1291s # Pool idle thread count: 10, unprocessed jobs: 0 1291s # Pool idle thread count: 10, unprocessed jobs: 0 1291s # Pool idle thread count: 10, unprocessed jobs: 0 1291s # Pool idle thread count: 10, unprocessed jobs: 0 1292s # Pool idle thread count: 10, unprocessed jobs: 0 1292s # Pool idle thread count: 10, unprocessed jobs: 0 1292s Executing: glib/thread-pool-slow.test 1292s # Pool idle thread count: 10, unprocessed jobs: 0 1292s # Pool idle thread count: 10, unprocessed jobs: 0 1293s # Pool idle thread count: 10, unprocessed jobs: 0 1293s # Pool idle thread count: 10, unprocessed jobs: 0 1293s # Pool idle thread count: 10, unprocessed jobs: 0 1293s # Pool idle thread count: 10, unprocessed jobs: 0 1294s # Pool idle thread count: 10, unprocessed jobs: 0 1294s # Pool idle thread count: 10, unprocessed jobs: 0 1294s # Pool idle thread count: 10, unprocessed jobs: 0 1294s # Pool idle thread count: 10, unprocessed jobs: 0 1295s # Pool idle thread count: 10, unprocessed jobs: 0 1295s # Pool idle thread count: 10, unprocessed jobs: 0 1295s # Pool idle thread count: 10, unprocessed jobs: 0 1295s # Pool idle thread count: 10, unprocessed jobs: 0 1296s # Pool idle thread count: 10, unprocessed jobs: 0 1296s # Pool idle thread count: 10, unprocessed jobs: 0 1296s # Pool idle thread count: 10, unprocessed jobs: 0 1296s # Pool idle thread count: 10, unprocessed jobs: 0 1297s # Pool idle thread count: 10, unprocessed jobs: 2 1297s # Pool idle thread count: 10, unprocessed jobs: 2 1297s # Pool idle thread count: 8, unprocessed jobs: 0 1297s # Pool idle thread count: 8, unprocessed jobs: 0 1297s Executing: glib/thread-pool-slow.test 1297s # Pool idle thread count: 10, unprocessed jobs: 0 1297s # Pool idle thread count: 10, unprocessed jobs: 0 1298s # Pool idle thread count: 10, unprocessed jobs: 0 1298s # Pool idle thread count: 10, unprocessed jobs: 0 1298s # Pool idle thread count: 10, unprocessed jobs: 0 1298s # Pool idle thread count: 10, unprocessed jobs: 0 1299s # Pool idle thread count: 2, unprocessed jobs: 0 1299s # Pool idle thread count: 2, unprocessed jobs: 0 1299s # Pool idle thread count: 2, unprocessed jobs: 0 1299s # Pool idle thread count: 2, unprocessed jobs: 0 1300s # Pool idle thread count: 2, unprocessed jobs: 0 1300s # Pool idle thread count: 2, unprocessed jobs: 0 1300s # Pool idle thread count: 2, unprocessed jobs: 0 1300s # Pool idle thread count: 2, unprocessed jobs: 0 1301s # Pool idle thread count: 2, unprocessed jobs: 0 1301s # Pool idle thread count: 2, unprocessed jobs: 0 1301s # Pool idle thread count: 2, unprocessed jobs: 0 1301s # Pool idle thread count: 2, unprocessed jobs: 0 1302s # Pool idle thread count: 2, unprocessed jobs: 0 1302s # Pool idle thread count: 2, unprocessed jobs: 0 1302s Executing: glib/thread-pool-slow.test 1302s # Pool idle thread count: 2, unprocessed jobs: 0 1302s # Pool idle thread count: 2, unprocessed jobs: 0 1303s # Pool idle thread count: 2, unprocessed jobs: 0 1303s # Pool idle thread count: 2, unprocessed jobs: 0 1303s # Pool idle thread count: 2, unprocessed jobs: 0 1303s # Pool idle thread count: 2, unprocessed jobs: 0 1304s # Pool idle thread count: 2, unprocessed jobs: 0 1304s # Pool idle thread count: 2, unprocessed jobs: 0 1304s # Pool idle thread count: 2, unprocessed jobs: 0 1304s # Pool idle thread count: 2, unprocessed jobs: 0 1305s # Pool idle thread count: 2, unprocessed jobs: 0 1305s # Pool idle thread count: 2, unprocessed jobs: 0 1305s # Pool idle thread count: 2, unprocessed jobs: 0 1305s # Pool idle thread count: 2, unprocessed jobs: 0 1306s # Pool idle thread count: 2, unprocessed jobs: 0 1306s # Pool idle thread count: 2, unprocessed jobs: 0 1306s # Pool idle thread count: 2, unprocessed jobs: 0 1306s # Pool idle thread count: 2, unprocessed jobs: 0 1307s # Pool idle thread count: 2, unprocessed jobs: 0 1307s # Pool idle thread count: 2, unprocessed jobs: 0 1307s Executing: glib/thread-pool-slow.test 1307s ok 7 /threadpool/idle-time 1307s # slow test /threadpool/idle-time executed in 19.53 secs 1307s # End of threadpool tests 1307s PASS: glib/thread-pool-slow.test 1307s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.1s; maxrss=4384 1307s autopkgtest [17:35:33]: test thread-pool-slow: -----------------------] 1308s thread-pool-slow PASS 1308s autopkgtest [17:35:34]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1308s autopkgtest [17:35:34]: test threadtests: preparing testbed 1309s Reading package lists... 1309s Building dependency tree... 1309s Reading state information... 1309s Starting pkgProblemResolver with broken count: 0 1309s Starting 2 pkgProblemResolver with broken count: 0 1309s Done 1309s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1310s autopkgtest [17:35:36]: test threadtests: [----------------------- 1310s Running test: glib/threadtests.test 1310s TAP version 14 1310s # random seed: R02S92174a3799218bd9beaf41aa15e9409f 1310s 1..5 1310s # Start of GObject tests 1310s ok 1 /GObject/threaded-object-init 1311s ok 2 /GObject/threaded-weak-ref 1311s # slow test /GObject/threaded-weak-ref executed in 0.77 secs 1311s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1311s # /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 1311s ok 3 /GObject/threaded-toggle-notify 1311s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1311s # Start of threaded-weak-ref tests 1311s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1311s # /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. 1311s ok 5 /GObject/threaded-weak-ref/on-finalization 1311s # End of threaded-weak-ref tests 1311s # End of GObject tests 1311s PASS: glib/threadtests.test 1311s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.6s; maxrss=3808 1312s autopkgtest [17:35:38]: test threadtests: -----------------------] 1312s autopkgtest [17:35:38]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1312s threadtests PASS 1313s autopkgtest [17:35:39]: test timeout: preparing testbed 1313s Reading package lists... 1313s Building dependency tree... 1313s Reading state information... 1313s Starting pkgProblemResolver with broken count: 0 1313s Starting 2 pkgProblemResolver with broken count: 0 1313s Done 1314s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1315s autopkgtest [17:35:41]: test timeout: [----------------------- 1315s Running test: glib/timeout.test 1315s TAP version 14 1315s # random seed: R02S8aa5968eb37e9c543d351d1e8583645a 1315s 1..5 1315s # Start of timeout tests 1315s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1317s ok 1 /timeout/seconds 1317s # slow test /timeout/seconds executed in 2.10 secs 1319s ok 2 /timeout/seconds-once 1319s # slow test /timeout/seconds-once executed in 2.10 secs 1319s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1320s Executing: glib/timeout.test 1321s ok 3 /timeout/weeks-overflow 1321s # slow test /timeout/weeks-overflow executed in 2.10 secs 1321s ok 4 /timeout/far-future-ready-time 1325s Executing: glib/timeout.test 1330s Executing: glib/timeout.test 1332s ok 5 /timeout/rounding 1332s # slow test /timeout/rounding executed in 10.63 secs 1332s # End of timeout tests 1332s PASS: glib/timeout.test 1332s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3428 1332s autopkgtest [17:35:58]: test timeout: -----------------------] 1332s autopkgtest [17:35:58]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1332s timeout PASS 1333s autopkgtest [17:35:59]: test timer: preparing testbed 1333s Reading package lists... 1333s Building dependency tree... 1333s Reading state information... 1334s Starting pkgProblemResolver with broken count: 0 1334s Starting 2 pkgProblemResolver with broken count: 0 1334s Done 1334s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1335s autopkgtest [17:36:01]: test timer: [----------------------- 1335s Running test: glib/timer.test 1335s TAP version 14 1335s # random seed: R02S3f8634bc1a0944ec7b537393ad48f0da 1335s 1..10 1335s # Start of timer tests 1335s ok 1 /timer/basic 1335s ok 2 /timer/stop 1335s ok 3 /timer/continue 1335s ok 4 /timer/reset 1335s ok 5 /timer/is_active 1335s # End of timer tests 1335s # Start of timeval tests 1335s ok 6 /timeval/add 1335s ok 7 /timeval/from-iso8601 1335s ok 8 /timeval/to-iso8601 1335s # Start of to-iso8601 tests 1335s ok 9 /timeval/to-iso8601/overflow 1335s # End of to-iso8601 tests 1335s # End of timeval tests 1335s # Start of usleep tests 1335s ok 10 /usleep/with-zero-wait 1335s # End of usleep tests 1335s PASS: glib/timer.test 1335s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3420 1336s autopkgtest [17:36:02]: test timer: -----------------------] 1336s autopkgtest [17:36:02]: test timer: - - - - - - - - - - results - - - - - - - - - - 1336s timer PASS 1337s autopkgtest [17:36:03]: test 1065022-futureproofing: preparing testbed 1422s autopkgtest [17:37:28]: testbed dpkg architecture: amd64 1422s autopkgtest [17:37:28]: testbed apt version: 2.9.18 1422s autopkgtest [17:37:28]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1422s autopkgtest [17:37:28]: testbed release detected to be: plucky 1423s autopkgtest [17:37:29]: updating testbed package index (apt update) 1423s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1424s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1424s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1424s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1424s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [855 kB] 1424s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [177 kB] 1424s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.7 kB] 1424s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 1424s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [227 kB] 1424s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [327 kB] 1424s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 1424s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 1424s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [462 kB] 1424s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [1085 kB] 1424s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [4116 B] 1424s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [24.6 kB] 1424s Fetched 3303 kB in 1s (3356 kB/s) 1425s Reading package lists... 1426s Reading package lists... 1426s Building dependency tree... 1426s Reading state information... 1426s Calculating upgrade... 1426s The following packages will be upgraded: 1426s libgudev-1.0-0 rng-tools-debian usb.ids 1426s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1426s Need to get 286 kB of archives. 1426s After this operation, 0 B of additional disk space will be used. 1426s Get:1 http://ftpmaster.internal/ubuntu plucky/universe amd64 rng-tools-debian amd64 2.6 [47.6 kB] 1427s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 usb.ids all 2025.01.14-1 [223 kB] 1427s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libgudev-1.0-0 amd64 1:238-6 [15.8 kB] 1427s Fetched 286 kB in 0s (598 kB/s) 1427s (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 ... 75824 files and directories currently installed.) 1427s Preparing to unpack .../rng-tools-debian_2.6_amd64.deb ... 1427s Unpacking rng-tools-debian (2.6) over (2.5) ... 1427s Preparing to unpack .../usb.ids_2025.01.14-1_all.deb ... 1427s Unpacking usb.ids (2025.01.14-1) over (2024.12.04-1) ... 1427s Preparing to unpack .../libgudev-1.0-0_1%3a238-6_amd64.deb ... 1427s Unpacking libgudev-1.0-0:amd64 (1:238-6) over (1:238-5ubuntu1) ... 1427s Setting up rng-tools-debian (2.6) ... 1428s Setting up usb.ids (2025.01.14-1) ... 1428s Setting up libgudev-1.0-0:amd64 (1:238-6) ... 1428s Processing triggers for man-db (2.13.0-1) ... 1429s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1430s Reading package lists... 1430s Building dependency tree... 1430s Reading state information... 1430s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1430s autopkgtest [17:37:36]: upgrading testbed (apt dist-upgrade and autopurge) 1430s Reading package lists... 1431s Building dependency tree... 1431s Reading state information... 1431s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1431s Starting 2 pkgProblemResolver with broken count: 0 1431s Done 1432s Entering ResolveByKeep 1432s 1432s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1432s Reading package lists... 1432s Building dependency tree... 1432s Reading state information... 1433s Starting pkgProblemResolver with broken count: 0 1433s Starting 2 pkgProblemResolver with broken count: 0 1433s Done 1433s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1433s autopkgtest [17:37:39]: rebooting testbed after setup commands that affected boot 1459s Reading package lists... 1459s Building dependency tree... 1459s Reading state information... 1460s Starting pkgProblemResolver with broken count: 0 1460s Starting 2 pkgProblemResolver with broken count: 0 1460s Done 1460s The following NEW packages will be installed: 1460s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1460s libdconf1 1460s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1460s Need to get 137 kB of archives. 1460s After this operation, 630 kB of additional disk space will be used. 1460s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libdconf1 amd64 0.40.0-4build2 [39.4 kB] 1460s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 dconf-service amd64 0.40.0-4build2 [27.5 kB] 1460s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 dconf-gsettings-backend amd64 0.40.0-4build2 [22.1 kB] 1460s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 dpkg-repack all 1.54 [11.2 kB] 1460s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 gsettings-desktop-schemas all 47.1-1ubuntu1 [36.9 kB] 1461s Fetched 137 kB in 0s (367 kB/s) 1461s Selecting previously unselected package libdconf1:amd64. 1461s (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 ... 75824 files and directories currently installed.) 1461s Preparing to unpack .../libdconf1_0.40.0-4build2_amd64.deb ... 1461s Unpacking libdconf1:amd64 (0.40.0-4build2) ... 1461s Selecting previously unselected package dconf-service. 1461s Preparing to unpack .../dconf-service_0.40.0-4build2_amd64.deb ... 1461s Unpacking dconf-service (0.40.0-4build2) ... 1461s Selecting previously unselected package dconf-gsettings-backend:amd64. 1461s Preparing to unpack .../dconf-gsettings-backend_0.40.0-4build2_amd64.deb ... 1461s Unpacking dconf-gsettings-backend:amd64 (0.40.0-4build2) ... 1461s Selecting previously unselected package dpkg-repack. 1461s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1461s Unpacking dpkg-repack (1.54) ... 1461s Selecting previously unselected package gsettings-desktop-schemas. 1461s Preparing to unpack .../gsettings-desktop-schemas_47.1-1ubuntu1_all.deb ... 1461s Unpacking gsettings-desktop-schemas (47.1-1ubuntu1) ... 1461s Setting up dpkg-repack (1.54) ... 1461s Setting up libdconf1:amd64 (0.40.0-4build2) ... 1461s Setting up dconf-service (0.40.0-4build2) ... 1461s Setting up dconf-gsettings-backend:amd64 (0.40.0-4build2) ... 1461s Setting up gsettings-desktop-schemas (47.1-1ubuntu1) ... 1461s Processing triggers for man-db (2.13.0-1) ... 1462s Processing triggers for libglib2.0-0t64:amd64 (2.82.4-1) ... 1462s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1473s autopkgtest [17:38:19]: test 1065022-futureproofing: [----------------------- 1474s + export DEBIAN_FRONTEND=noninteractive 1474s + n=0 1474s + failed=0 1474s + binary_package=libglib2.0-0t64 1474s + future_binary_package=libglib2.0-0xyz 1474s + pwd 1474s + srcdir=/tmp/autopkgtest.OFvodc/build.MEp/src 1474s + mktemp -d 1474s + tmpdir=/tmp/tmp.6w31gbZY8m 1474s + cd /tmp/tmp.6w31gbZY8m 1474s + [ -e /tmp/autopkgtest.OFvodc/build.MEp/src/debian/tests/manual/local-1065022.sources ] 1474s + dpkg-query -W dpkg-repack 1474s + dpkg-repack --generate libglib2.0-0t64 1474s dpkg-repack 1.54 1474s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1474s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.j73u8b for libglib2.0-0t64 1474s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.j73u8b ." 1474s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.j73u8b/DEBIAN/control 1474s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.j73u8b/DEBIAN/control 1474s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.j73u8b/DEBIAN/control 1474s + 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.j73u8b/DEBIAN/control 1474s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1474s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.j73u8b libglib2.0-0xyz.deb 1475s + apt-get -y install ./libglib2.0-0xyz.deb 1475s Reading package lists... 1475s Building dependency tree... 1475s Reading state information... 1476s The following packages were automatically installed and are no longer required: 1476s apport-symptoms fwupd-signed jq libatasmart4 libbytesize-common libbytesize1 1476s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 1476s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1476s libprotobuf-c1 libtss2-esys-3.0.2-0t64 libtss2-sys1t64 libtss2-tcti-cmd0t64 1476s libtss2-tcti-mssim0t64 libtss2-tcti-swtpm0t64 python3-apport python3-certifi 1476s python3-chardet python3-configobj python3-debconf python3-markdown-it 1476s python3-mdurl python3-openssl python3-problem-report python3-pygments 1476s python3-requests python3-rich python3-systemd python3-urllib3 1476s Use 'sudo apt autoremove' to remove them. 1476s The following additional packages will be installed: 1476s xdg-user-dirs 1476s Suggested packages: 1476s low-memory-monitor 1476s Recommended packages: 1476s shared-mime-info 1476s The following packages will be REMOVED: 1476s apport apport-core-dump-handler bolt cloud-init cloud-init-base fwupd 1476s gir1.2-girepository-2.0 gir1.2-glib-2.0 libblockdev-crypto3 libblockdev-fs3 1476s libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 1476s libblockdev-swap3 libblockdev-utils3 libblockdev3 libfwupd3 1476s libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 libjcat1 1476s libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 libnetplan1 1476s libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 libqmi-proxy 1476s libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 netplan-generator 1476s netplan.io networkd-dispatcher python3-dbus python3-gi python3-netplan 1476s shared-mime-info ubuntu-minimal udisks2 1476s The following NEW packages will be installed: 1476s libglib2.0-0xyz xdg-user-dirs 1476s 0 upgraded, 2 newly installed, 44 to remove and 0 not upgraded. 1476s Need to get 18.5 kB/1675 kB of archives. 1476s After this operation, 32.9 MB disk space will be freed. 1476s Get:1 /tmp/tmp.6w31gbZY8m/libglib2.0-0xyz.deb libglib2.0-0xyz amd64 2.82.4-1 [1656 kB] 1476s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 xdg-user-dirs amd64 0.18-2 [18.5 kB] 1476s Fetched 18.5 kB in 0s (83.3 kB/s) 1476s (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 ... 75892 files and directories currently installed.) 1476s Removing bolt (0.9.8-1) ... 1477s Removing cloud-init (25.1~2g4ee65391-0ubuntu1) ... 1477s Removing cloud-init-base (25.1~2g4ee65391-0ubuntu1) ... 1477s Removing fwupd (2.0.3-3) ... 1478s Removing networkd-dispatcher (2.2.4-1.1) ... 1478s Removing udisks2 (2.10.1-11ubuntu1) ... 1478s Removing libblockdev-crypto3:amd64 (3.2.1-1) ... 1478s Removing libblockdev-fs3:amd64 (3.2.1-1) ... 1478s Removing libblockdev-loop3:amd64 (3.2.1-1) ... 1478s Removing libblockdev-mdraid3:amd64 (3.2.1-1) ... 1478s Removing libblockdev-nvme3:amd64 (3.2.1-1) ... 1478s Removing libblockdev-part3:amd64 (3.2.1-1) ... 1478s Removing libblockdev-swap3:amd64 (3.2.1-1) ... 1478s Removing libblockdev3:amd64 (3.2.1-1) ... 1478s Removing libblockdev-utils3:amd64 (3.2.1-1) ... 1478s Removing libfwupd3:amd64 (2.0.3-3) ... 1478s Removing shared-mime-info (2.4-5) ... 1478s Removing python3-dbus (1.3.2-5build4) ... 1479s Removing ubuntu-minimal (1.544) ... 1479s Removing netplan.io (1.1.1-1) ... 1479s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1479s Removing netplan-generator (1.1.1-1) ... 1479s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1479s Removing libxmlb2:amd64 (0.3.21-1) ... 1479s Removing libvolume-key1:amd64 (0.3.12-8) ... 1479s Removing libudisks2-0:amd64 (2.10.1-11ubuntu1) ... 1479s Removing libqmi-proxy (1.35.6-1) ... 1479s Removing libqmi-glib5:amd64 (1.35.6-1) ... 1479s Removing libqrtr-glib0:amd64 (1.2.2-1ubuntu4) ... 1479s Removing libpolkit-agent-1-0:amd64 (125-2ubuntu1) ... 1479s Removing libpolkit-gobject-1-0:amd64 (125-2ubuntu1) ... 1479s Removing python3-netplan (1.1.1-1) ... 1479s Removing libnetplan1:amd64 (1.1.1-1) ... 1479s Removing libmm-glib0:amd64 (1.23.4-0ubuntu2) ... 1479s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 1479s Removing libmbim-glib4:amd64 (1.31.2-0ubuntu4) ... 1480s Removing libjcat1:amd64 (0.2.0-2build3) ... 1480s Removing libjson-glib-1.0-0:amd64 (1.10.6+ds-1) ... 1480s Removing libgudev-1.0-0:amd64 (1:238-6) ... 1480s Removing apport (2.31.0-0ubuntu2) ... 1481s Removing apport-core-dump-handler (2.31.0-0ubuntu2) ... 1481s Removing python3-gi (3.50.0-3build1) ... 1481s Removing gir1.2-girepository-2.0:amd64 (1.82.0-3) ... 1481s Removing gir1.2-glib-2.0:amd64 (2.82.4-1) ... 1481s Removing libgirepository-1.0-1:amd64 (1.82.0-3) ... 1481s dpkg: libglib2.0-0t64:amd64: dependency problems, but removing anyway as you requested: 1481s libdconf1:amd64 depends on libglib2.0-0 (>= 2.79.0); however: 1481s Package libglib2.0-0 is not installed. 1481s Package libglib2.0-0t64:amd64 which provides libglib2.0-0 is to be removed. 1481s dconf-service depends on libglib2.0-0 (>= 2.79.0); however: 1481s Package libglib2.0-0 is not installed. 1481s Package libglib2.0-0t64:amd64 which provides libglib2.0-0 is to be removed. 1481s dconf-gsettings-backend:amd64 depends on libglib2.0-0 (>= 2.79.0); however: 1481s Package libglib2.0-0 is not installed. 1481s Package libglib2.0-0t64:amd64 which provides libglib2.0-0 is to be removed. 1481s 1481s Removing libglib2.0-0t64:amd64 (2.82.4-1) ... 1481s Selecting previously unselected package libglib2.0-0xyz:amd64. 1481s (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 ... 74891 files and directories currently installed.) 1481s Preparing to unpack .../libglib2.0-0xyz.deb ... 1481s Unpacking libglib2.0-0xyz:amd64 (2.82.4-1) ... 1481s Selecting previously unselected package xdg-user-dirs. 1481s Preparing to unpack .../xdg-user-dirs_0.18-2_amd64.deb ... 1481s Unpacking xdg-user-dirs (0.18-2) ... 1481s Setting up xdg-user-dirs (0.18-2) ... 1481s Setting up libglib2.0-0xyz:amd64 (2.82.4-1) ... 1481s Processing triggers for dbus (1.14.10-4ubuntu5) ... 1481s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1481s Processing triggers for man-db (2.13.0-1) ... 1483s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1483s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1483s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1483s + n=1 1483s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1483s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1483s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1483s + n=2 1483s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1483s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1483s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1483s + n=3 1483s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1483s + echo ok 3 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1483s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1483s + n=4 1483s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1483s + echo ok 4 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1483s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1483s + n=5 1483s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1483s + echo ok 5 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1483s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1483s + n=6 1483s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1483s + echo ok 6 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1483s + apt-get -y purge libglib2.0-0t64 1483s ok 3 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1483s ok 4 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1483s ok 5 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1483s ok 6 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1483s Reading package lists... 1483s Building dependency tree... 1483s Reading state information... 1483s The following packages were automatically installed and are no longer required: 1483s apport-symptoms fwupd-signed jq libatasmart4 libbytesize-common libbytesize1 1483s libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 1483s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1483s libprotobuf-c1 libtss2-esys-3.0.2-0t64 libtss2-sys1t64 libtss2-tcti-cmd0t64 1483s libtss2-tcti-mssim0t64 libtss2-tcti-swtpm0t64 python3-apport python3-certifi 1483s python3-chardet python3-configobj python3-debconf python3-markdown-it 1483s python3-mdurl python3-openssl python3-problem-report python3-pygments 1483s python3-requests python3-rich python3-systemd python3-urllib3 1483s Use 'sudo apt autoremove' to remove them. 1483s The following packages will be REMOVED: 1483s libglib2.0-0t64* 1483s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1483s After this operation, 0 B of additional disk space will be used. 1483s (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 ... 74926 files and directories currently installed.) 1483s Purging configuration files for libglib2.0-0t64:amd64 (2.82.4-1) ... 1483s ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1483s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1483s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1483s + n=7 1483s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1483s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1483s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1483s + n=8 1483s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1483s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1483s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1483s + n=9 1483s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1483s + echo ok 9 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1483s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1483s + n=10 1483s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1483s + echo ok 10 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1483s + assert test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1483s + n=11 1483s + test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1483s + echo ok 11 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1483s + assert test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1483s + n=12 1483s + test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1483s + echo ok 12 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1483s + apt-get -y purge libglib2.0-0xyz 1483s ok 9 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1483s ok 10 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so 1483s ok 11 - test -e /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1483s ok 12 - test -s /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache 1484s Reading package lists... 1484s Building dependency tree... 1484s Reading state information... 1484s The following packages were automatically installed and are no longer required: 1484s apport-symptoms fwupd-signed jq libatasmart4 libatomic1 libbytesize-common 1484s libbytesize1 libcurl3t64-gnutls libdrm-amdgpu1 libflashrom1 libftdi1-2 1484s libglib2.0-data libgpgme11t64 libjq1 libjson-glib-1.0-common libnspr4 1484s libnss3 libnvme1t64 libonig5 libprotobuf-c1 libtss2-esys-3.0.2-0t64 1484s libtss2-sys1t64 libtss2-tcti-cmd0t64 libtss2-tcti-mssim0t64 1484s libtss2-tcti-swtpm0t64 python3-apport python3-certifi python3-chardet 1484s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1484s python3-openssl python3-problem-report python3-pygments python3-requests 1484s python3-rich python3-systemd python3-urllib3 xdg-user-dirs 1484s Use 'sudo apt autoremove' to remove them. 1484s The following packages will be REMOVED: 1484s dconf-gsettings-backend* dconf-service* gsettings-desktop-schemas* 1484s libdconf1* libglib2.0-0xyz* 1484s 0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded. 1484s After this operation, 5172 kB disk space will be freed. 1484s (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 ... 74926 files and directories currently installed.) 1484s Removing gsettings-desktop-schemas (47.1-1ubuntu1) ... 1484s Removing dconf-gsettings-backend:amd64 (0.40.0-4build2) ... 1484s Removing dconf-service (0.40.0-4build2) ... 1484s Removing libdconf1:amd64 (0.40.0-4build2) ... 1484s Removing libglib2.0-0xyz:amd64 (2.82.4-1) ... 1484s Processing triggers for man-db (2.13.0-1) ... 1485s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1485s (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 ... 74843 files and directories currently installed.) 1485s Purging configuration files for libglib2.0-0xyz:amd64 (2.82.4-1) ... 1485s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1485s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1485s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1485s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1485s 1..16 1485s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1485s + n=13 1485s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1485s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1485s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1485s + n=14 1485s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1485s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1485s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1485s + n=15 1485s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1485s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1485s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1485s + n=16 1485s + test -e /usr/lib/*/gio/modules/giomodule.cache 1485s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1485s + echo 1..16 1485s + exit 0 1485s autopkgtest [17:38:31]: test 1065022-futureproofing: -----------------------] 1486s autopkgtest [17:38:32]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1486s 1065022-futureproofing PASS 1486s autopkgtest [17:38:32]: @@@@@@@@@@@@@@@@@@@@ summary 1486s build PASS (superficial) 1486s build-static PASS (superficial) 1486s girepository-tools PASS (superficial) 1486s libgio-2.0-dev-bin PASS (superficial) 1486s libglib2.0-dev PASS (superficial) 1486s installed-tests PASS 1486s closure-refcount PASS 1486s debugcontroller PASS 1486s gdbus-server-auth PASS 1486s gdbus-threading PASS 1486s gmenumodel PASS 1486s mainloop PASS 1486s memory-monitor-dbus PASS 1486s socket PASS 1486s testfilemonitor PASS 1486s thread-pool-slow PASS 1486s threadtests PASS 1486s timeout PASS 1486s timer PASS 1486s 1065022-futureproofing PASS 1491s nova [W] Skipping flock for amd64 1491s Creating nova instance adt-plucky-amd64-glib2.0-20250117-171346-juju-7f2275-prod-proposed-migration-environment-15-ffc207b8-5bdc-4647-8af9-5bdb46eb3748 from image adt/ubuntu-plucky-amd64-server-20250117.img (UUID 8f35863a-398a-4b7d-9594-544c7b7656c3)... 1491s nova [W] Timed out waiting for 1feaa104-9d2a-4ad0-810a-62ddc9cddcb4 to get deleted. 1491s nova [W] Skipping flock for amd64 1491s Creating nova instance adt-plucky-amd64-glib2.0-20250117-171346-juju-7f2275-prod-proposed-migration-environment-15-ffc207b8-5bdc-4647-8af9-5bdb46eb3748 from image adt/ubuntu-plucky-amd64-server-20250117.img (UUID 8f35863a-398a-4b7d-9594-544c7b7656c3)... 1491s nova [W] Timed out waiting for ae1c3839-c1d2-43e8-a75b-5d78705b6372 to get deleted. 1491s nova [W] Skipping flock for amd64 1491s Creating nova instance adt-plucky-amd64-glib2.0-20250117-171346-juju-7f2275-prod-proposed-migration-environment-15-ffc207b8-5bdc-4647-8af9-5bdb46eb3748 from image adt/ubuntu-plucky-amd64-server-20250117.img (UUID 8f35863a-398a-4b7d-9594-544c7b7656c3)... 1491s nova [W] Timed out waiting for fa8a009d-687c-48c3-930f-ced67c1265c2 to get deleted. 1491s nova [W] Skipping flock for amd64 1491s Creating nova instance adt-plucky-amd64-glib2.0-20250117-171346-juju-7f2275-prod-proposed-migration-environment-15-ffc207b8-5bdc-4647-8af9-5bdb46eb3748 from image adt/ubuntu-plucky-amd64-server-20250117.img (UUID 8f35863a-398a-4b7d-9594-544c7b7656c3)... 1491s nova [W] Timed out waiting for f7abaa75-ee78-46d9-a443-5c0eb1864707 to get deleted. 1491s nova [W] Skipping flock for amd64 1491s Creating nova instance adt-plucky-amd64-glib2.0-20250117-171346-juju-7f2275-prod-proposed-migration-environment-15-ffc207b8-5bdc-4647-8af9-5bdb46eb3748 from image adt/ubuntu-plucky-amd64-server-20250117.img (UUID 8f35863a-398a-4b7d-9594-544c7b7656c3)... 1491s nova [W] Timed out waiting for 449e3a26-74d7-4349-b533-5e5c733f83aa to get deleted. 1491s nova [W] Skipping flock for amd64 1491s Creating nova instance adt-plucky-amd64-glib2.0-20250117-171346-juju-7f2275-prod-proposed-migration-environment-15-ffc207b8-5bdc-4647-8af9-5bdb46eb3748 from image adt/ubuntu-plucky-amd64-server-20250117.img (UUID 8f35863a-398a-4b7d-9594-544c7b7656c3)... 1491s nova [W] Timed out waiting for 735a5b8a-64af-4515-8f03-be7630f06925 to get deleted.